R1#
R1#
interface Loopback0
ip address 192.168.10.254 255.255.255.0
!
interface FastEthernet0/0
ip address 10.1.1.1 255.255.255.0
duplex auto
speed auto
ip route 192.168.1.0 255.255.255.128 10.1.1.2
ip route 192.168.1.128 255.255.255.128 10.1.1.3
!
R1#
R1#
R2#
R2#
interface Loopback0
ip address 192.168.1.126 255.255.255.128
!
interface FastEthernet0/0
ip address 10.1.1.2 255.255.255.0
duplex auto
speed auto
ip route 192.168.1.128 255.255.255.128 10.1.1.3
ip route 192.168.10.0 255.255.255.0 10.1.1.1
!
R2#
R2#
R3#
R3#
interface Loopback0
ip address 192.168.1.254 255.255.255.128
!
interface FastEthernet0/0
ip address 10.1.1.3 255.255.255.0
duplex auto
speed auto
!
ip route 192.168.1.0 255.255.255.128 10.1.1.2
ip route 192.168.10.0 255.255.255.0 10.1.1.1
!
R3#
R1#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
C 192.168.10.0/24 is directly connected, Loopback0
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.1.0 is directly connected, FastEthernet0/0
192.168.1.0/25 is subnetted, 2 subnets
S 192.168.1.0 [1/0] via 10.1.1.2
S 192.168.1.128 [1/0] via 10.1.1.3
R1#
R2#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
S 192.168.10.0/24 [1/0] via 10.1.1.1
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.1.0 is directly connected, FastEthernet0/0
192.168.1.0/25 is subnetted, 2 subnets
C 192.168.1.0 is directly connected, Loopback0
S 192.168.1.128 [1/0] via 10.1.1.3
R2#
R3#
R3#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
S 192.168.10.0/24 [1/0] via 10.1.1.1
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.1.0 is directly connected, FastEthernet0/0
192.168.1.0/25 is subnetted, 2 subnets
S 192.168.1.0 [1/0] via 10.1.1.2
C 192.168.1.128 is directly connected, Loopback0
R3#
沒有留言:
張貼留言