- Cấu hình địa chỉ IP cho Router 1 và Router 2R1>enableR1#config tR1(config)#hostname R1R1(config)#int serial 0/0R1(config-if)#ip address 192.1.12.1 255.255.255.252R1(config-if)#no shutdownR1(config-if)#clock rate 64000R1(config-if)#exitR1(config)#int ethernet 0/0R1(config-if)#ip address 192.168.1.1 255.255.255.0R1(config-if)#no shutdownR1(config-if)#exitR1(config-if)#int lo 0R1(config-if)#ip add 10.0.0.1 255.255.255.0R1(config-if)#exitR2>enableR2#config tR2(config)#hostname R1R2(config)#int serial 0R2(config-if)#ip address 192.1.12.2 255.255.255.252R2(config-if)#no shutdownR2(config-if)#clock rate 64000R2(config-if)#exitR2(config)#int ethernet 0R2(config-if)#ip address 100.0.0.1 255.255.255.0R2(config-if)#no shutdownR2(config-if)#exit- Cấu hình địa chỉ IP cho Router 3 và Router 4R3>enableR3#config tR3(config)#hostname R3R3(config)#int serial 0R3(config-if)#ip address 192.1.34.2 255.255.255.252R3(config-if)#no shutdownR3(config-if)#clock rate 64000R3(config-if)#exitR3(config)#int ethernet 0R3(config-if)#ip address 100.0.0.2 255.255.255.0R3(config-if)#no shutdownR3(config-if)#exitR4>enableR4#config tR4(config)#hostname R3R4(config)#int serial 0
Leave a Comment