###### tags:`筆記`,`網路概論` {%hackmd theme-dark %} # 網路概論(pc、router、switch、ping、wr) [toc] ## pc 在enddevices(終端設備)->pc-pt ![](https://i.imgur.com/eTiUhVU.png) :::danger 只有兩台電腦可以用朓腺 ![](https://i.imgur.com/RKqxI9S.png) 三台以上給我去用switch ::: ``` ip設定 ip address //就ip阿 mask //遮罩 gateway //反正填路由器 ``` ## switch(常用2960) 在switchs(交換機)->2960 ![](https://i.imgur.com/ruPV0mp.png) ## router(常用2811) 在router->2811 ![](https://i.imgur.com/WcL5WDP.png) 很多的指令XD ```= ////////////剛開機//////////// enter //這不是指令但很重要 enable //啟用指令 ////////////enable//////////// show ip route //顯示iproute configure terminal //進入config模式 copy run sta //複製運行設定檔至開機初始設定(簡稱儲存設定檔) ////////////config mod//////////// hostname [name] //設定hostname為[name] interface [網口] //選網口(fa?/?)並進入config-if ip route [ipa] [mask] [ipb] //路由[ipa]=>[ipb] exit //退出頁面 ////////////config interface//////////// ip address [ip] [mask] //設定ip、遮罩 no shutdown //啟用網口 clock rate 64000 //設置serial時鐘 exit //退出頁面 ``` ## 20230215 ![](https://i.imgur.com/N0ArdLF.png) 考試啦 | |Layer name |Data type |Equipment |Function_1 | |- | - | - | - | - | |L7|Application |Message |Gateway |使用者介面 | |L6|Presentation|Data | |加密、壓縮、編碼 | |L5|Session | | |管理會議的開始與結束| |L4|Transport |Segment | |網路傳輸的可靠性 | |L3|Network |Packet(Datagram)|Router |邏輯位址(IP)的管理 | |L2|Data link |Frame(Cell) |Switch(Bridge) |實體位置(NIC)的管理| |L1|Physical |Bits(Signal) |Gateway(Repeater)|傳輸訊號 | ## 20230222 ## 下載區 ![](https://i.imgur.com/i3uCHg9.png) ::: info [20230215進度 getway連線](https://cdn.discordapp.com/attachments/874534276710940745/1075218535762116768/hi.pkt) ::: ![](https://i.imgur.com/pKLUVy3.png) ::: info [20230215進度 serial連線](https://cdn.discordapp.com/attachments/874534276710940745/1077747745265287268/hi20230222.pkt) ::: ![](https://i.imgur.com/t3Fykjt.png) :::info [20230222進度 router好好玩](https://cdn.discordapp.com/attachments/874534276710940745/1077769440747335710/hi20230222_1.pkt) ::: :::info [20230301進度 改ip大作戰XD 圖同0222](https://cdn.discordapp.com/attachments/1082819500988170280/1082819559523893269/route20230301.pkt) :::