diff --git "a/25 \346\261\237\346\231\272\351\221\253/20260509 \351\235\231\346\200\201\350\267\257\347\224\261.md" "b/25 \346\261\237\346\231\272\351\221\253/20260509 \351\235\231\346\200\201\350\267\257\347\224\261.md" new file mode 100644 index 0000000000000000000000000000000000000000..81c759439d84a06a9db0cb0ee4802214bbe487e5 --- /dev/null +++ "b/25 \346\261\237\346\231\272\351\221\253/20260509 \351\235\231\346\200\201\350\267\257\347\224\261.md" @@ -0,0 +1,175 @@ +练习, + +![image-20260509165133480](https://gitee.com/jiang-zhixin39/gods-picture/raw/master/pic/upgit_20260509_1778316693.png) + +![image-20260509165209458](https://gitee.com/jiang-zhixin39/gods-picture/raw/master/pic/upgit_20260509_1778316729.png) + + + + + +作业, + +![image-20260509171309751](https://gitee.com/jiang-zhixin39/gods-picture/raw/master/pic/upgit_20260509_1778317989.png) + + + +笔记 + + + +第一个路由器代码 + +``` +Router>en +Router#conf t +Enter configuration commands, one per line. End with CNTL/Z. +Router(config)#int f0/0 +Router(config-if)#no shu\ + ^ +% Invalid input detected at '^' marker. + +Router(config-if)#no shu + +Router(config-if)# +%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up + +%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up + +Router(config-if)#ip ad +Router(config-if)#ip address +Router(config-if)#ip address 192.168.1.254 255.255.255.0 +Router(config-if)#ex +Router(config)#int s2/0 +Router(config-if)#no shu + +%LINK-5-CHANGED: Interface Serial2/0, changed state to down +Router(config-if)#clo +Router(config-if)#clock r +Router(config-if)#clock rate 64000 +This command applies only to DCE interfaces +Router(config-if)# +%LINK-5-CHANGED: Interface Serial2/0, changed state to up + +%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up + +Router(config-if)#ip ad +Router(config-if)#ip address 10.254.10.1 255.255.255.0 +Router(config-if)#end +Router# +%SYS-5-CONFIG_I: Configured from console by console + +Router#conf t +Enter configuration commands, one per line. End with CNTL/Z. +Router(config)#ip +Router(config)#ip ra +Router(config)#iprou +Router(config)#ip rou +Router(config)#ip route 192.168.2.0 255.255.255.0 10.254.10.2 +Router(config)#ip route 20.20.10.2 255.255.255.0 10.254.10.2 +%Inconsistent address and mask +Router(config)#ip route 192.168.3.0 255.255.255.0 20.20.10.2 +Router(config)# +``` + +第二个路由器代码 + +``` +Router>en +Router#conf t +Enter configuration commands, one per line. End with CNTL/Z. +Router(config)#int s2/0 +Router(config-if)#no shu + +Router(config-if)# +%LINK-5-CHANGED: Interface Serial2/0, changed state to up + +Router(config-if)# +%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up + +Router(config-if)#clo +Router(config-if)#clock +Router(config-if)#clock rate 64000 +Router(config-if)#ip ad +Router(config-if)#ip address 10.254.10.2 255.255.255.0 +Router(config-if)#int f0/0 +Router(config-if)#no shu + +Router(config-if)# +%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up + +%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up + +Router(config-if)#ip ad +Router(config-if)#ip address 192.168.2.254 255.255.255.0 +Router(config-if)#int s3/0 +Router(config-if)#no shu + +%LINK-5-CHANGED: Interface Serial3/0, changed state to down +Router(config-if)#clo +Router(config-if)#clock +Router(config-if)#clock rate 64000 +Router(config-if)#ip ad +Router(config-if)#ip address 20.20.10.1 255.255.255.0 +Router(config-if)# +%LINK-5-CHANGED: Interface Serial3/0, changed state to up + +%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial3/0, changed state to up + +Router(config-if)#end +Router# +%SYS-5-CONFIG_I: Configured from console by console + +Router#conf t +Enter configuration commands, one per line. End with CNTL/Z. +Router(config)#ip rou +Router(config)#ip route 192.168.1.0 255.255.255.0 10.254.10.1 +Router(config)#ip route 192.168.3.0 255.255.255.0 20.20.10.2 +``` + +第三个路由器代码 + +``` +Router>en +Router#conf t +Enter configuration commands, one per line. End with CNTL/Z. +Router(config)#int s2/0 +Router(config-if)#no shu + +Router(config-if)# +%LINK-5-CHANGED: Interface Serial2/0, changed state to up + +Router(config-if)# +%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up + +Router(config-if)#int f0/0 +Router(config-if)#no shu + +Router(config-if)# +%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up + +%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up + +Router(config-if)#ip ad +Router(config-if)#ip address 192.168.3.254 +% Incomplete command. +Router(config-if)#ip address 192.168.3.254 255.255.255.0 +Router(config-if)#end +Router# +%SYS-5-CONFIG_I: Configured from console by console + +Router#conf t +Enter configuration commands, one per line. End with CNTL/Z. +Router(config)#ip rou +Router(config)#ip route +% Incomplete command. +Router(config)#ip route 192.168.1.0 255.255.255.0 10.254.10.1 +Router(config)#ip route 192.168.2.0 255.255.255.0 20.20.10.1 +Router(config)# +``` + + + +交换器 + +只需要把连着路由器的线设置成 trunk 就够了 \ No newline at end of file diff --git "a/25 \346\261\237\346\231\272\351\221\253/20260512 \350\267\257\347\224\261\345\231\250RIP\345\212\250\346\200\201\350\267\257\347\224\261\347\232\204\351\205\215\347\275\256.md" "b/25 \346\261\237\346\231\272\351\221\253/20260512 \350\267\257\347\224\261\345\231\250RIP\345\212\250\346\200\201\350\267\257\347\224\261\347\232\204\351\205\215\347\275\256.md" new file mode 100644 index 0000000000000000000000000000000000000000..d804384c0cd2ce46c206d804455f6c6ecd922510 --- /dev/null +++ "b/25 \346\261\237\346\231\272\351\221\253/20260512 \350\267\257\347\224\261\345\231\250RIP\345\212\250\346\200\201\350\267\257\347\224\261\347\232\204\351\205\215\347\275\256.md" @@ -0,0 +1,18 @@ +小一点的作业:代码被挤到上面了,没有了 + +![image-20260512165508226](https://gitee.com/jiang-zhixin39/gods-picture/raw/master/pic/upgit_20260512_1778576108.png) + +![image-20260512165428504](https://gitee.com/jiang-zhixin39/gods-picture/raw/master/pic/upgit_20260512_1778576068.png) + +![image-20260512165453962](https://gitee.com/jiang-zhixin39/gods-picture/raw/master/pic/upgit_20260512_1778576094.png) + + + + + +视频中的作业 + + + + +