會斷線的才叫網路——20 分鐘學會宿網 Debug

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers. →
William-Mou
September 07, 2021

會斷線的才叫網路——20 分鐘學會宿網 Debug

學校宿網,總令人又愛又恨,快速、難用、易斷網。
20 分鐘帶你用思考的方式理解網路,不再死背硬記 OSI 七層拿網概分數。
20 分鐘給自己一個看懂宿網設定的機會,你的室友會感謝有你。

說到底網路不過就是定義,OSI 七層不過就是七個小矮人!
2021 在算盤的後裔,邀你一起反思網路的定義(?
一起從零到有,重新思考網路與人們的關係。

SITCON 議程錄影:https://sitcon.org/2021/agenda/32b8d488-7d5b-4c0e-9efe-aee6321062b9
授權方式:CC BY-SA 3.0 TW

William-Mou

September 07, 2021

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

65 slides
  1. Table of Contents Physical Layer 摸得到的叫物理 看得懂的叫資料 Data link Layer

    連得上的叫網路 Network Layer 送封包的叫傳輸 Transport Layer 01 02 03 04
  2. ?

  3. ?

  4. ?

  5. ip -br link show lo UNKNOWN 00:00:00:00:00:00 <LOOPBACK,UP,LOWER_UP> eth0 UP

    52:54:00:82:d6:6e <BROADCAST,MULTICAST,UP,LOWER_UP> if Down ⬇ ip link set eth0 up
  6. ip neighbor show (以前的 arp -a) If Error 192.168.122.1 dev

    eth0 FAILED Arp 的問題通常放一會,cache 過了就會好了
  7. ping google.com ping 8.8.8.8 If 確定 L2 都沒問題時的 L3 起手式

    傳送封包給特定IP 常用來測試IP設定是否正確與網路能否連線
  8. ip -br address show If IP 不是你想要的 DHCP:看看 DHCP Server

    是不是撞到了 Static IP:看看是不是自己手殘、交叉測試
  9. Understanding the Problem L2 L1 Data link layer 資料連結層 Physical

    layer 物理層 L4 transport layer 傳輸層 L3 Network layer 網路層
  10. CREDITS: This presentation template was created by Slidesgo, including icons

    by Flaticon, infographics & images by Freepik and illustrations by Stories Thanks! Do you have any questions? [email protected] +886 920 992 660 www.mou.tw

More Decks by William-Mou

Other Decks in Technology