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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
kaminchu
December 02, 2017
Technology
0
250
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
190
React勉強会.pdf
kaminchu
0
350
Web_アプリ_勉強会_FE_BE_.pdf
kaminchu
0
1k
ルーターの選び方その2.pdf
kaminchu
0
830
ルーターの選び方
kaminchu
0
1.2k
NDS56.pdf
kaminchu
0
140
internet
kaminchu
0
3.1k
Other Decks in Technology
See All in Technology
会社紹介資料 / Sansan Company Profile
sansan33
PRO
15
400k
Deno・Bunの標準機能やElysiaJSを使ったWebSocketサーバー実装 / ラーメン屋を貸し切ってLT会! IoTLT 2026新年会
you
PRO
0
290
Claude_CodeでSEOを最適化する_AI_Ops_Community_Vol.2__マーケティングx_AIはここまで進化した.pdf
riku_423
2
430
Meshy Proプラン課金した
henjin0
0
240
ClickHouseはどのように大規模データを活用したAIエージェントを全社展開しているのか
mikimatsumoto
0
190
コスト削減から「セキュリティと利便性」を担うプラットフォームへ
sansantech
PRO
3
1.3k
あたらしい上流工程の形。 0日導入からはじめるAI駆動PM
kumaiu
5
760
インフラエンジニア必見!Kubernetesを用いたクラウドネイティブ設計ポイント大全
daitak
0
320
仕様書駆動AI開発の実践: Issue→Skill→PRテンプレで 再現性を作る
knishioka
2
590
Context Engineeringが企業で不可欠になる理由
hirosatogamo
PRO
3
390
Databricks Free Edition講座 データサイエンス編
taka_aki
0
290
ファインディの横断SREがTakumi byGMOと取り組む、セキュリティと開発スピードの両立
rvirus0817
1
1.1k
Featured
See All Featured
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
Believing is Seeing
oripsolob
1
53
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
110
Building the Perfect Custom Keyboard
takai
2
680
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
Balancing Empowerment & Direction
lara
5
880
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.1k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
1
49
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.3k
Prompt Engineering for Job Search
mfonobong
0
160
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
320
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