Senin, 05 Desember 2011
Lab2: OSPF GRE Tunnel
R1(config)#int tun1
R1(config-if)#ip addr 102.102.102.1 255.255.255.0
R1(config-if)#tunn
R1(config-if)#tunnel source
R1(config-if)#tunnel source 12.12.12.1
R1(config-if)#tunn
R1(config-if)#tunnel des
R1(config-if)#tunnel destination 12.12.12.2
R1(config)#router ospf 1
R1(config-router)#network 102.102.102.1 0.0.0.0 area 0
R1(config-router)#exit
R1(config)#
R2(config)#int tun1
R2(config-if)#
R2(config-if)#tunnel source 12.12.12.2
R2(config-if)#tunn
R2(config-if)#tunnel desti
R2(config-if)#tunnel destination 12.12.12.1
R2(config)#router os 2
R2(config-router)#network 102.102.102.2 0.0.0.0 area 0
R2(config-router)#exit
R2(config)#int tun 1
R2(config-if)#ip addr 102.102.102.2 255.255.255.0
R2(config-if)#no shut
R2(config-if)#exit
R2(config)#
R1 show ip route
102.0.0.0/24 is subnetted, 1 subnets
C 102.102.102.0 is directly connected, Tunnel1
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/11] via 12.12.12.2, 00:03:17, FastEthernet0/0
23.0.0.0/24 is subnetted, 1 subnets
O IA 23.23.23.0 [110/11175] via 102.102.102.2, 00:00:04, Tunnel1
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet0/0
hanged state to down203.203.203.2 255.255.255.0
R2(config-if)#tunn
R2(config-if)#tunnel source
R2(config-if)#tunnel source 23.23.23.2
R2(config-if)#tunn
R2(config-if)#tunnel dest
R2(config-if)#tunnel destination 23.23.23.3
R2(config-if)#
R2(config)#router os 2
R2(config-router)#network 203.203.203.2 0.0.0.0 area 0
R2(config-router)#exit
R2
102.0.0.0/24 is subnetted, 1 subnets
C 102.102.102.0 is directly connected, Tunnel1
C 203.203.203.0/24 is directly connected, Tunnel2
1.0.0.0/32 is subnetted, 1 subnets
O 1.1.1.1 [110/11112] via 102.102.102.1, 00:06:14, Tunnel1
2.0.0.0/32 is subnetted, 1 subnets
C 2.2.2.2 is directly connected, Loopback0
3.0.0.0/32 is subnetted, 1 subnets
O IA 3.3.3.3 [110/11112] via 203.203.203.3, 00:00:44, Tunnel2
23.0.0.0/24 is subnetted, 1 subnets
C 23.23.23.0 is directly connected, Serial1/0
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet0/0
R2#
R1#ping 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms
R1#ping 2.2.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/8/16 ms
R1#ping 3.3.3.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/20/40 ms
R1#
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar