Advanced IP Routing in Cisco Networks
Chapter 3 - Figures
Figure 3-1
Figure 3-2
NewYork Configuration
1) hostname NewYork
2) interface Ethernet0
3) ip address 192.168.1.1 255.255.255.0
4) interface Serial0
5) ip address 192.168.6.1 255.255.255.0
6) interface Serial1
7) ip address 192.168.4.2 255.255.255.0
8) clockrate 250000
9) ip classless
10) ip route 192.168.2.0 255.255.255.0 192.168.4.1
11) ip route 192.168.3.0 255.255.255.0 192.168.6.2
12) end
Tokyo Configuration
13) hostname Tokyo
14) interface Ethernet0
15) ip address 192.168.2.1 255.255.255.0
16) interface Serial0
17) ip address 192.168.4.1 255.255.255.0
18) ip classless
19) ip route 0.0.0.0 0.0.0.0 192.168.4.2
20) end
Figure 3-3
NewYork#conf t
Enter configuration commands, one per line. End with CNTL/Z.
NewYork(config)#no ip route 192.168.2.0 255.255.255.0 192.168.4.1
NewYork(config)#no ip route 192.168.3.0 255.255.255.0 192.168.6.2
NewYork(config)#ip route 192.168.2.0 255.255.255.0 s 1
NewYork(config)#ip route 192.168.3.0 255.255.255.0 s 0
NewYork(config)#^Z
NewYork#sh ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
U - per-user static route, o - ODR
Gateway of last resort is not set
C 192.168.4.0/24 is directly connected, Serial1
C 192.168.6.0/24 is directly connected, Serial0
C 192.168.1.0/24 is directly connected, Ethernet0
S 192.168.2.0/24 is directly connected, Serial1
S 192.168.3.0/24 is directly connected, Serial0
Figure 3-4
1) Tokyo#sh ip route
2) Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
3) D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
4) N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
5) E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
6) i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
7) U - per-user static route, o - ODR
8)
9) Gateway of last resort is 192.168.4.2 to network 0.0.0.0
10)
11) C 192.168.4.0/24 is directly connected, Serial0
12) C 192.168.2.0/24 is directly connected, Ethernet0
13) S* 0.0.0.0/0 [1/0] via 192.168.4.2
Figure 3-5
Figure 3-6
Figure 3-7
NewYork Configuration
1) hostname NewYork
2) no ip domain-lookup
3) interface Ethernet0
4) ip address 192.168.1.1 255.255.255.0
5) interface Serial0
6) ip address 192.168.6.1 255.255.255.0
7) interface Serial1
8) ip address 192.168.4.2 255.255.255.0
9) clockrate 56000
10) ip classless
11) ip route 192.168.2.0 255.255.255.0 192.168.4.1
12) ip route 192.168.2.0 255.255.255.0 192.168.6.2 250
13) ip route 192.168.3.0 255.255.255.0 192.168.6.2
14) end
Tokyo Configuration
15) hostname Tokyo
16) no ip domain-lookup
17) interface Ethernet0
18) ip address 192.168.2.1 255.255.255.0
19) interface Serial0
20) ip address 192.168.4.1 255.255.255.0
21) interface Serial1
22) ip address 192.168.5.2 255.255.255.0
23) clockrate 56000
24) ip classless
25) ip route 0.0.0.0 0.0.0.0 192.168.4.2
26) ip route 0.0.0.0 0.0.0.0 192.168.5.1 250
27) end
London Configuration
28) hostname London
29) no ip domain-lookup
30) interface Ethernet0
31) ip address 192.168.3.1 255.255.255.0
32) interface Serial0
33) ip address 192.168.5.1 255.255.255.0
34) interface Serial1
35) ip address 192.168.6.2 255.255.255.0
36) clockrate 56000
37) ip classless
38) ip route 0.0.0.0 0.0.0.0 192.168.6.1
39) ip route 192.168.2.0 255.255.255.0 192.168.5.2 250
40) end
Figure 3-8
Figure 3-9
NewYork Configuration
1) hostname NewYork
2) no ip domain-lookup
3) interface Ethernet0
4) ip address 192.168.1.33 255.255.255.240
5) interface Serial0
6) ip address 172.16.1.33 255.255.255.252
7) interface Serial1
8) ip address 192.168.1.66 255.255.255.240
9) clockrate 56000
10) router igrp 1
11) network 192.168.1.0
12) end
Tokyo Configuration
13) hostname Tokyo
14) no ip domain-lookup
15) interface Ethernet0
16) ip address 192.168.1.97 255.255.255.240
17) interface Serial0
18) ip address 192.168.1.65 255.255.255.240
19) router igrp 1
20) network 192.168.1.0
21) end
ISP Configuration
22) hostname ISP
23) no ip domain-lookup
24) interface Ethernet0
25) ip address 172.18.1.2 255.255.255.0
26) interface Serial1
27) ip address 172.16.1.34 255.255.255.252
28) clockrate 56000
29) end
Figure 3-10
1) NewYork#ping
2) Protocol [ip]:
3) Target IP address: 172.18.1.2
4) Repeat count [5]:
5) Datagram size [100]:
6) Timeout in seconds [2]:
7) Extended commands [n]: y
8) Source address or interface: 192.168.1.33
9) Type of service [0]:
10) Set DF bit in IP header? [no]:
11) Validate reply data? [no]:
12) Data pattern [0xABCD]:
13) Loose, Strict, Record, Timestamp, Verbose[none]:
14) Sweep range of sizes [n]:
15) Type escape sequence to abort.
16) Sending 5, 100-byte ICMP Echos to 172.18.1.2, timeout is 2 seconds:
17)
18) IP: s=192.168.1.33 (local), d=172.18.1.2 (Serial0), len 100, sending.
19) IP: s=192.168.1.33 (local), d=172.18.1.2 (Serial0), len 100, sending.
20) IP: s=192.168.1.33 (local), d=172.18.1.2 (Serial0), len 100, sending.
21) IP: s=192.168.1.33 (local), d=172.18.1.2 (Serial0), len 100, sending.
22) IP: s=192.168.1.33 (local), d=172.18.1.2 (Serial0), len 100, sending.
23) Success rate is 0 percent (0/5)
24) NewYork#
Figure 3-11
NewYork Configuration
1) hostname NewYork
2) no ip domain-lookup
3) interface Ethernet0
4) ip address 192.168.1.33 255.255.255.240
5) interface Serial0
6) ip address 172.16.1.33 255.255.255.252
7) interface Serial1
8) ip address 192.168.1.66 255.255.255.240
9) clockrate 56000
10) router igrp 1
11) passive-interface Serial0
12) network 192.168.1.0
13) network 172.16.0.0
14) ip default-network 172.16.0.0
15) ip route 0.0.0.0 0.0.0.0 172.16.1.34
16) end
Tokyo Configuration
17) hostname Tokyo
18) no ip domain-lookup
19) interface Ethernet0
20) ip address 192.168.1.97 255.255.255.240
21) interface Serial0
22) ip address 192.168.1.65 255.255.255.240
23) router igrp 1
24) network 192.168.1.0
25) end
ISP Configuration
26) hostname ISP
27) no ip domain-lookup
28) interface Ethernet0
29) ip address 172.18.1.2 255.255.255.0
30) interface Serial1
31) ip address 172.16.1.34 255.255.255.252
32) clockrate 56000
33) ip route 192.168.1.0 255.255.255.0 172.16.1.33
34) ip route 192.168.2.0 255.255.255.0 172.16.1.33
35) ip route 192.168.4.0 255.255.255.0 172.16.1.33
36) end
Figure 3-12
Figure 3-13
NewYork Configuration
1) hostname NewYork
2) interface Ethernet0
3) ip address 172.16.1.2 255.255.255.0
4) interface Serial0
5) ip address 192.168.6.1 255.255.255.0
6) interface Serial1
7) ip address 192.168.4.2 255.255.255.0
8) clockrate 1300000
9) router igrp 1
10) passive-interface Ethernet0
11) network 192.168.4.0
12) network 192.168.6.0
13) network 172.16.0.0
14) ip classless
15) ip default-network 172.16.0.0
16) ip route 0.0.0.0 0.0.0.0 172.16.1.1
17) end
Tokyo Configuration
18) hostname Tokyo
19) interface Ethernet0
20) ip address 192.168.2.1 255.255.255.0
21) interface Serial0
22) ip address 192.168.4.1 255.255.255.0
23) interface Serial1
24) ip address 192.168.5.2 255.255.255.0
25) clockrate 500000
26) router igrp 1
27) network 192.168.2.0
28) network 192.168.4.0
29) network 192.168.5.0
30) ip classless
31) end
London Configuration
32) hostname London
33) interface Ethernet0
34) ip address 172.16.2.2 255.255.255.0
35) interface Serial0
36) ip address 192.168.5.1 255.255.255.0
37) interface Serial1
38) ip address 192.168.6.2 255.255.255.0
39) clockrate 1300000
40) router igrp 1
41) passive-interface Ethernet0
42) network 192.168.5.0
43) network 192.168.6.0
44) network 172.16.0.0
45) ip classless
46) ip default-network 172.16.0.0
47) ip route 0.0.0.0 0.0.0.0 172.16.2.1
48) end
Figure 3-14
NewYork routing table
1) NewYork#sh ip route
2) Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
3) D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
4) N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
5) E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
6) i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
7) U - per-user static route, o - ODR
8)
9) Gateway of last resort is 172.16.1.34 to network 0.0.0.0
10)
11) I* 172.16.0.0/16 [100/8576] via 192.168.6.2, 00:00:06, Serial0
12) C 192.168.4.0/24 is directly connected, Serial1
13) C 192.168.6.0/24 is directly connected, Serial0
14) 192.168.1.0/28 is subnetted, 2 subnets
15) I 192.168.1.96/28 is possibly down,
16) routing via 192.168.1.65, Serial1
17) C 192.168.1.32 is directly connected, Ethernet0
18) I 192.168.2.0/24 [100/8576] via 192.168.4.1, 00:01:16, Serial1
19) S* 0.0.0.0/0 [1/0] via 172.16.1.34
20) [1/0] via 172.16.1.1
21) NewYork#
Tokyo routing table
22) Tokyo#sh ip route
23) Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
24) D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
25) N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
26) E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
27) i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
28) U - per-user static route, o - ODR
29)
30) Gateway of last resort is 192.168.4.2 to network 172.16.0.0
31)
32) I* 172.16.0.0/16 [100/10576] via 192.168.4.2, 00:00:05, Serial0
33) C 192.168.4.0/24 is directly connected, Serial0
34) I 192.168.6.0/24 [100/10476] via 192.168.4.2, 00:00:05, Serial0
35) 192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
36) I 192.168.1.32/28 is possibly down,
37) routing via 192.168.1.66, Serial0
38) I 192.168.1.0/24 [100/8576] via 192.168.4.2, 00:00:05, Serial0
39) C 192.168.2.0/24 is directly connected, Ethernet0
40) Tokyo#
London routing table
41) London#sh ip route
42) Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
43) D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
44) N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
45) E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
46) i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
47) U - per-user static route, o - ODR
48)
49) Gateway of last resort is 172.16.2.1 to network 0.0.0.0
50)
51) * 172.16.0.0/24 is subnetted, 1 subnets
52) C 172.16.2.0 is directly connected, Ethernet0
53) C 192.168.6.0/24 is directly connected, Serial1
54) S* 0.0.0.0/0 [1/0] via 172.16.2.1
55) London#
Close Window