在沒有配置路由條目的情況下,實現兩台主機互通,代碼怎麼寫, 誰會????
R3
R3(config)#interface FastEthernet0/0
R3(config-if)# ip address 15.23.23.1 255.255.255.0
R3(config-if)# no shut
R3(config-if)# interface FastEthernet0/1
R3(config-if)# ip address 17.17.17.2 255.255.255.0
R3(config-if)# no shut
R3(config-if)# exit
R3(config)# ip route 0.0.0.0 0.0.0.0 17.17.17.1
R2
Router(config)#int f0/0
Router(config-if)#ip add 17.17.17.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#int f0/1
Router(config-if)# ip add 152.152.152.2 255.255.255.0
Router(config-if)#no shut
Router(config-if)#exit
Router(config)#ip route 15.23.23.0 255.255.255.0 17.17.17.2
Router(config)#ip route 11.1.1.0 255.255.255.0 152.152.152.1
R1
Router(config)#int f0/0
Router(config-if)#ip add 152.152.152.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#int f0/1
Router(config-if)#ip add 11.1.1.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#exi
Router(config)#ip route 0.0.0.0 0.0.0.0 152.152.152.2
Router(config)#exi
Router#