Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
nds54
Search
kaminchu
December 02, 2017
Technology
0
240
nds54
kaminchu
December 02, 2017
Tweet
Share
More Decks by kaminchu
See All by kaminchu
jawsug_niigata_20220115
kaminchu
0
360
yarnの話.pdf
kaminchu
1
180
React勉強会.pdf
kaminchu
0
350
Web_アプリ_勉強会_FE_BE_.pdf
kaminchu
0
1k
ルーターの選び方その2.pdf
kaminchu
0
820
ルーターの選び方
kaminchu
0
1.2k
NDS56.pdf
kaminchu
0
130
internet
kaminchu
0
3k
Other Decks in Technology
See All in Technology
コールドスタンバイ構成でCDは可能か
hiramax
0
120
2025年 山梨の技術コミュニティを振り返る
yuukis
0
130
フィッシュボウルのやり方 / How to do a fishbowl
pauli
2
430
まだ間に合う! Agentic AI on AWSの現在地をやさしく一挙おさらい
minorun365
19
3.3k
Agentic AIが変革するAWSの開発・運用・セキュリティ ~Frontier Agentsを試してみた~ / Agentic AI transforms AWS development, operations, and security I tried Frontier Agents
yuj1osm
0
160
AWS re:Invent2025最新動向まとめ(NRIグループre:Cap 2025)
gamogamo
0
140
人工知能のための哲学塾 ニューロフィロソフィ篇 第零夜 「ニューロフィロソフィとは何か?」
miyayou
0
190
ルネサンス開発者を育てる 1on1支援AIエージェント
yusukeshimizu
0
130
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
Entity Framework Core におけるIN句クエリ最適化について
htkym
0
140
AgentCoreとStrandsで社内d払いナレッジボットを作った話
motojimayu
1
1.2k
The State of AI Agent Security:2025年の総括と2026年の宿題
pict3
0
110
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
New Earth Scene 8
popppiees
0
1.3k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
280
Design in an AI World
tapps
0
100
The SEO Collaboration Effect
kristinabergwall1
0
320
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Technical Leadership for Architectural Decision Making
baasie
0
190
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Discover your Explorer Soul
emna__ayadi
2
1k
The Spectacular Lies of Maps
axbom
PRO
1
400
Color Theory Basics | Prateek | Gurzu
gurzu
0
160
Ruling the World: When Life Gets Gamed
codingconduct
0
120
Transcript
実家とのネットワーク 構築(に失敗)した話 2017/12/2 長岡IT開発者勉強会 NDS#54
自己紹介 • Twitter: @kam1nchu • 出身: 名古屋圏 • 在住: 2017春から新潟市
• 言語: Java歴4年、JS歴1年
新潟と愛知でL2で結びたい • 電気代が浮く ◦ 実家にサーバを置くことで電気代親もち • 愛知の番組が見れる ◦ 実家にnasneを置くことで実現
L2-VPNの選定 • L2TPv3 • SoftetherVPN • EtherIP
L2TPv3 L2TPv3対応ルーターが高いので諦める →中古(例:RTX1200)でも2万とかする
SoftetherVPN • OrangePiで構築 • 当初はさくらVPS経由 ◦ あまりに遅かったので直接つなぐ
SoftetherVPN 実家(愛知) VPNServer(Bridge) 自宅(新潟) VPNBridge さくらVPS-東京リージョン VPNServer VPS経由(赤):5Mbps 直接(青):30Mbps
ところが... • NASへの接続は問題なし • nasneとのペアリングができない ◦ 後ほど原因が判明 • 一ヶ月ほどで実家側のOrangePiが死んだ
EtherIP(今ここ) • 対応ルーター(ix2005)が500円*2台 • fqdnでの設定ができず ◦ ipはそんな変わらんでしょ(多分) • EtherIP over
IPSecが遅い ◦ 90Mbps→30Mbps ◦ 暗号化は諦める?
nasneがペアリングできない なんでnasneのペアリング できなかったのか調べた AP 遅延発生装置
None
調査結果 • どうやらRTTが一定以上あるとダメ ◦ 少なくとも5ms以下ではペアリング可 →5ms~20msが詰められなかった
ツイッターでつぶやいたら・・・
ツイッターでつぶやいたら・・・
調査結果 • DTCP-IPの規定で決まっている 出典:https://ja.wikipedia.org/wiki/Digital_Transmission_Content_Protection
調査結果 \(^o^)/
結論 • nasneは諦める ◦ 愛知〜新潟で7msとか無理でしょ・・・ ◦ 直線でケーブル引いて1.8ms*2 • EtherIPでの構築は正月の帰省で
m(_ _)m
宣伝 勢いでYAMAHAルーターの アドベントカレンダーを作りました https://adventar.org/calendars/2736
None