R1#conf
t
R1(config)#int
f0/0
R1(config-if)#no
sw ----------------(for NM-16ESW SLOT)
R1(config-if)#ip
add 10.1.12.1 255.255.255.0
R1(config-if)#no
sh
R1(config-if)#exit
R1(config)#int
f0/3
R1(config-if)#no
sh
R1(config-if)#no
sw
R1(config-if)#ip
add 10.1.61.1 255.255.255.0
R1(config-if)#no
sh
R1(config-if)#exit
R1(config)#int
f0/1
R1(config-if)#no
sw
R1(config-if)#ip
add 10.1.71.1 255.255.255.0
R1(config-if)#no
sh
R1(config-if)#end
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
10.0.0.0/24 is subnetted, 3 subnets
C 10.1.12.0 is directly connected,
FastEthernet0/0
C 10.1.61.0 is directly connected,
FastEthernet0/3
C 10.1.71.0 is directly connected,
FastEthernet0/1
R2#conf
t
R2(config)#int
f0/1
R2(config-if)#no
sw
R2(config-if)#ip
add 10.1.12.2 255.255.255.0
R2(config-if)#no
sh
R2(config-if)#exit
R2(config)#int
f0/2
R2(config-if)#no
sw
R2(config-if)#ip
add 10.1.23.1 255.255.255.0
R2(config-if)#no
sh
R2(config-if)#exit
R2#sh
ip route
10.0.0.0/24 is subnetted, 2 subnets
C 10.1.12.0 is directly connected,
FastEthernet0/1
C 10.1.23.0 is directly connected,
FastEthernet0/2
R3#conf
t
R3(config)#int
f0/0
R3(config-if)#no
sw
R3(config-if)#ip
add 10.1.34.1 255.255.255.0
R3(config-if)#no
sh
R3(config-if)#exit
R3(config)#int
f0/1
R3(config-if)#no
sw
R3(config-if)#ip
add 10.1.35.1 255.255.255.0
R3(config-if)#no
sh
R3(config-if)#exit
R3(config)#int
f0/2
R3(config-if)#no
sw
R3(config-if)#ip
add 10.1.23.2 255.255.255.0
R3(config-if)#no
sh
R3(config-if)#end
R3#sh
ip rout
10.0.0.0/24 is subnetted, 3 subnets
C 10.1.23.0 is directly connected,
FastEthernet0/2
C 10.1.35.0 is directly connected,
FastEthernet0/1
C 10.1.34.0 is directly connected,
FastEthernet0/0
R4#conf
t
R4(config)#int
f0/1
R4(config-if)#no
sw
R4(config-if)#ip
add 10.1.34.2 255.255.255.0
R4(config-if)#no
sh
R4(config-if)#exit
R4(config)#end
R4#sh
ip rout
Gateway
of last resort is not set
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.34.0 is directly connected,
FastEthernet0/1
R5#conf
t
R5(config)#int
f0/2
R5(config-if)#no
sw
R5(config-if)#ip
add 10.1.35.2 255.255.255.0
R5(config-if)#no
sh
R5(config-if)#end
R5#sh
ip rout
Gateway
of last resort is not set
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.35.0 is directly connected, FastEthernet0/2
R6#conf
t
R6(config)#int
f0/4
R6(config-if)#no
sw
R6(config-if)#ip
add 10.1.61.2 255.255.255.0
R6(config-if)#no
sh
R6(config-if)#end
R6#sh
ip rout
Gateway
of last resort is not set
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.61.0 is directly connected,
FastEthernet0/4
R7#conf
t
R7(config)#int
f0/2
R7(config-if)#no
sw
R7(config-if)#ip
add 10.1.71.2 255.255.255.0
R7(config-if)#no
sh
R7(config-if)#end
R7#sh
ip rout
Gateway
of last resort is not set
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.71.0 is directly connected,
FastEthernet0/2
R1#conf
t
R1(config)#ip
route 10.1.34.0 255.255.255.0 10.1.12.2
R1(config)#ip
route 10.1.35.0 255.255.255.0 10.1.12.2
R1(config)#ip
route 10.1.23.0 255.255.255.0 10.1.12.2
R1(config)#exit
R1#sh
ip rout
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
10.0.0.0/24 is subnetted, 6 subnets
C 10.1.12.0 is directly connected,
FastEthernet0/0
S 10.1.23.0 [1/0] via 10.1.12.2
S 10.1.35.0 [1/0] via 10.1.12.2
S 10.1.34.0 [1/0] via 10.1.12.2
C 10.1.61.0 is directly connected,
FastEthernet0/3
C 10.1.71.0 is directly connected,
FastEthernet0/1
R2#conf
t
R2(config)#ip
route 10.1.34.0 255.255.255.0 10.1.23.2
R2(config)#ip
route 10.1.35.0 255.255.255.0 10.1.23.2
R2(config)#ip
route 10.1.61.0 255.255.255.0 10.1.12.1
R2(config)#ip
route 10.1.71.0 255.255.255.0 10.1.12.1
R2(config)#end
R2#sh
ip rout
10.0.0.0/24 is subnetted, 6 subnets
C 10.1.12.0 is directly connected,
FastEthernet0/1
C 10.1.23.0 is directly connected,
FastEthernet0/2
S 10.1.35.0 [1/0] via 10.1.23.2
S 10.1.34.0 [1/0] via 10.1.23.2
S 10.1.61.0 [1/0] via 10.1.12.1
S 10.1.71.0 [1/0] via 10.1.12.1
R3#conf
t
R3(config)#ip
route 10.1.61.0 255.255.255.0 10.1.23.1
R3(config)#ip
route 10.1.71.0 255.255.255.0 10.1.23.1
R3(config)#ip
route 10.1.12.0 255.255.255.0 10.1.23.1
R3(config)#end
R3#sh
ip rout
10.0.0.0/24 is subnetted, 6 subnets
S 10.1.12.0 [1/0] via 10.1.23.1
C 10.1.23.0 is directly connected,
FastEthernet0/2
C 10.1.35.0 is directly connected,
FastEthernet0/1
C 10.1.34.0 is directly connected,
FastEthernet0/0
S 10.1.61.0 [1/0] via 10.1.23.1
S 10.1.71.0 [1/0] via 10.1.23.1
R4#conf
t
R4(config)#ip
route 10.1.35.0 255.255.255.0 10.1.34.1
R4(config)#ip
route 10.1.23.0 255.255.255.0 10.1.34.1
R4(config)#ip
route 10.1.12.0 255.255.255.0 10.1.34.1
R4(config)#ip
route 10.1.61.0 255.255.255.0 10.1.34.1
R4(config)#ip
route 10.1.71.0 255.255.255.0 10.1.34.1
R4(config)#end
R4#sh
ip rout
10.0.0.0/24 is subnetted, 6 subnets
S 10.1.12.0 [1/0] via 10.1.34.1
S 10.1.23.0 [1/0] via 10.1.34.1
S 10.1.35.0 [1/0] via 10.1.34.1
C 10.1.34.0 is directly connected,
FastEthernet0/1
S 10.1.61.0 [1/0] via 10.1.34.1
S 10.1.71.0 [1/0] via 10.1.34.1
R5#conf
t
R5(config)#ip
route 10.1.34.0 255.255.255.0 10.1.35.1
R5(config)#ip
route 10.1.23.0 255.255.255.0 10.1.35.1
R5(config)#ip
route 10.1.12.0 255.255.255.0 10.1.35.1
R5(config)#ip
route 10.1.61.0 255.255.255.0 10.1.35.1
R5(config)#ip
route 10.1.71.0 255.255.255.0 10.1.35.1
R5(config)#end
R5#sh
ip rout
10.0.0.0/24 is subnetted, 6 subnets
S 10.1.12.0 [1/0] via 10.1.35.1
S 10.1.23.0 [1/0] via 10.1.35.1
C 10.1.35.0 is directly connected,
FastEthernet0/2
S 10.1.34.0 [1/0] via 10.1.35.1
S 10.1.61.0 [1/0] via 10.1.35.1
S 10.1.71.0 [1/0] via 10.1.35.1
R6#conf
t
R6(config)#ip
route 10.1.34.0 255.255.255.0 10.1.61.1
R6(config)#ip
route 10.1.23.0 255.255.255.0 10.1.61.1
R6(config)#ip
route 10.1.12.0 255.255.255.0 10.1.61.1
R6(config)#ip
route 10.1.35.0 255.255.255.0 10.1.61.1
R6(config)#ip
route 10.1.71.0 255.255.255.0 10.1.61.1
R6(config)#end
R6#sh
ip rout
10.0.0.0/24 is subnetted, 6 subnets
S 10.1.12.0 [1/0] via 10.1.61.1
S 10.1.23.0 [1/0] via 10.1.61.1
S 10.1.35.0 [1/0] via 10.1.61.1
S 10.1.34.0 [1/0] via 10.1.61.1
C 10.1.61.0 is directly connected,
FastEthernet0/4
S 10.1.71.0 [1/0] via 10.1.61.1
R7#conf
t
R7(config)#ip
route 10.1.34.0 255.255.255.0 10.1.71.1
R7(config)#ip
route 10.1.23.0 255.255.255.0 10.1.71.1
R7(config)#ip
route 10.1.12.0 255.255.255.0 10.1.71.1
R7(config)#ip
route 10.1.35.0 255.255.255.0 10.1.71.1
R7(config)#ip
route 10.1.61.0 255.255.255.0 10.1.71.1
R7(config)#end
R7#sh
ip rout
10.0.0.0/24 is subnetted, 6 subnets
S 10.1.12.0 [1/0] via 10.1.71.1
S 10.1.23.0 [1/0] via 10.1.71.1
S 10.1.35.0 [1/0] via 10.1.71.1
S 10.1.34.0 [1/0] via 10.1.71.1
S 10.1.61.0 [1/0] via 10.1.71.1
C 10.1.71.0 is directly connected,
FastEthernet0/2
R6#tclsh
R6(tcl)#foreach
address {
+>(tcl)#10.1.61.1
+>(tcl)#10.1.62.2
+>(tcl)#10.1.12.1
+>(tcl)#10.1.12.2
+>(tcl)#10.1.23.1
+>(tcl)#10.1.23.2
+>(tcl)#10.1.34.1
+>(tcl)#10.1.34.2
+>(tcl)#10.1.35.1
+>(tcl)#10.1.35.2
+>(tcl)#10.1.71.1
+>(tcl)#10.1.72.2
+>(tcl)#}
{
+>(tcl)#ping
$address }
Type
escape sequence to abort.
Sending
5, 100-byte ICMP Echos to 10.1.61.1, timeout is 2 seconds:
.!!!!
Success
rate is 80 percent (4/5), round-trip min/avg/max = 260/324/400 ms
Type
escape sequence to abort.
Sending
5, 100-byte ICMP Echos to 10.1.62.2, timeout is 2 seconds:
.....
Success
rate is 0 percent (0/5)
Type
escape sequence to abort.
Sending
5, 100-byte ICMP Echos to 10.1.12.1, timeout is 2 seconds:
!!!!!
Success
rate is 100 percent (5/5), round-trip min/avg/max = 200/285/480 ms
Type
escape sequence to abort.
Sending
5, 100-byte ICMP Echos to 10.1.12.2, timeout is 2 seconds:
.!!!!
Success
rate is 80 percent (4/5), round-trip min/avg/max = 336/439/608 ms
Type
escape sequence to abort.
Sending
5, 100-byte ICMP Echos to 10.1.23.1, timeout is 2 seconds:
!!!!!
Success
rate is 100 percent (5/5), round-trip min/avg/max = 404/493/608 ms
Type
escape sequence to abort.
Sending
5, 100-byte ICMP Echos to 10.1.23.2, timeout is 2 seconds:
.!!!!
Success
rate is 80 percent (4/5), round-trip min/avg/max = 392/498/560 ms
Type
escape sequence to abort.
Sending
5, 100-byte ICMP Echos to 10.1.34.1, timeout is 2 seconds:
!!!!!
Success
rate is 100 percent (5/5), round-trip min/avg/max = 396/607/824 ms
Type
escape sequence to abort.
Sending
5, 100-byte ICMP Echos to 10.1.34.2, timeout is 2 seconds:
.!!!!
Success
rate is 80 percent (4/5), round-trip min/avg/max = 824/911/992 ms
Type
escape sequence to abort.
Sending
5, 100-byte ICMP Echos to 10.1.35.1, timeout is 2 seconds:
!!!!!
Success
rate is 100 percent (5/5), round-trip min/avg/max = 532/690/808 ms
Type
escape sequence to abort.
Sending
5, 100-byte ICMP Echos to 10.1.35.2, timeout is 2 seconds:
.!!!!
Success
rate is 80 percent (4/5), round-trip min/avg/max = 744/938/1096 ms
Type
escape sequence to abort.
Sending
5, 100-byte ICMP Echos to 10.1.71.1, timeout is 2 seconds:
!!!!!
Success
rate is 100 percent (5/5), round-trip min/avg/max = 268/411/496 ms
Type
escape sequence to abort.
Sending
5, 100-byte ICMP Echos to 10.1.72.2, timeout is 2 seconds:
.....
Success
rate is 0 percent (0/5)
R6(tcl)#