Router1> enable
Password:
Router1# configure terminal
Router1(config)# no ip routing
Router1(config)# ip routing
Router1(config)# router rip
Router1(config-router)# version 2
Router1(config-router)# network 10.0.0.0
Router1(config-router)# interface Ethernet0/0
Router1(config-if)# no shutdown
Router1(config-if)# ip address (ip eth0 of each router) 255.255.255.0
Router1(config-if)# interface Ethernet0/1
Router1(config-if)# no shutdown
Router1(config-if)# ip address (ip eth0 of each router) 255.255.255.0
Router1(config-if)# end
Router1# clear ip route *
————————————————————-
คำสั่ง no ip route ใช้ reset previous config
คำสั่ง clear ip route ใช้ delete all entries ใน routing table
————————————————————-
config เราท์เตอร์เสร็จก็ตรวจสอบดู routing table ใช้คำสั่ง show ip route นะจ้ะ
มีข้อสงสัยสอบถามได้ที่เมลครับ
ดีจัง
ตอบลบ