
R1 interface Serial1/0 ip address 1.1.1.1 255.255.255.0 ! router ospf 1 network 1.1.1.1 0.0.0.0 area 0 R2 interface Serial1/0 ip address 1.1.1.2 255.255.255.0 ! interface F0/0 ip address 2.2.2.2 255.255.255.0 ! router rip version 2 net 2.2.2.0 redistribute ospf 1 metric 1 ! router ospf 1 network 1.1.1.2 0.0.0.0 area 0 default-information originate always R3 interface fa0/0 ip address 2.2.2.3 255.255.255.0 ! Interface lo0 ip address 30.30.30.30 255.255.255.255 ! router rip version 2 net 2.2.2.0 redistribute connected metric 1 R4 interface fa0/0 ip address 2.2.2.4 255.255.255.0 ! Interface lo0 ip address 40.40.40.40 255.255.255.255 ! router rip version 2 net 2.2.2.0 redistribute connected metric 1 |
R1#sh ip route
Gateway of last resort is 1.1.1.2 to network 0.0.0.0
1.0.0.0/24 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Serial1/0
O*E2 0.0.0.0/0 [110/1] via 1.1.1.2, 00:10:14, Serial1/0
|
R1#sh ip route
Gateway of last resort is 1.1.1.2 to network 0.0.0.0
1.0.0.0/24 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Serial1/0
O*E2 0.0.0.0/0 [110/1] via 1.1.1.2, 00:10:14, Serial1/0
R2#sh ip route
Gateway of last resort is not set
1.0.0.0/24 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Serial1/0
2.0.0.0/24 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, FastEthernet0/0
R 40.0.0.0/8 [120/1] via 2.2.2.4, 00:00:02, FastEthernet0/0
R 30.0.0.0/8 [120/1] via 2.2.2.3, 00:00:00, FastEthernet0/0
R3(config)#interface Lo0
R3(config-if)#shut
R4(config)#interface Lo0
R4(config-if)#shut
R2#sh ip route
Gateway of last resort is not set
1.0.0.0/24 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Serial1/0
2.0.0.0/24 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, FastEthernet0/0
R1#sh ip route
Gateway of last resort is not set
1.0.0.0/24 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Serial1/0
|
