R1#sho ip int bri
Interface
IP-Address OK? Method
Status Protocol
FastEthernet0/0
192.168.10.1 YES manual up up
FastEthernet1/0
172.16.0.2 YES manual up up
R2#sho ip int bri
Interface
IP-Address OK? Method
Status Protocol
FastEthernet0/0
192.168.10.2 YES manual up up
FastEthernet1/0
10.16.0.2 YES manual up up
Serial2/0
198.18.184.105 YES manual up up
ISP#sho ip int bri
Interface
IP-Address OK? Method
Status Protocol
FastEthernet0/0
unassigned YES unset administratively down down
Serial1/0
198.18.184.110 YES manual up up
Switch1(config)#int gi0/1
Switch1(config-if)#switchport mode access
Switch1(config-if)#switchport access vlan 100
Switch1(config-if)#exit
Switch1(config)#int vlan 100
Switch1(config-if)#ip add 172.16.100.1 255.255.255.0
Switch1(config-if)#no shut
Switch1(config-if)#exit
Switch1(config)#vlan 200
Switch1(config-vlan)#exit
Switch1(config)#int gi0/2
Switch1(config-if)#switchport mode access
Switch1(config-if)#switchport access vlan 200
Switch1(config-if)#exit
Switch1(config)#int vlan 200
Switch1(config-if)#ip add 172.16.200.1 255.255.255.0
Switch1(config-if)#no shut
Switch1(config-if)#exit
Switch1(config-if)#end
Switch1(config)#int gi0/0
Switch1(config-if)#no switchport
Switch1(config-if)#ip add 172.16.0.1 255.255.255.0
Switch1(config-if)#no shut
Switch1(config-if)#end
Switch2(config)#vlan 100
Switch2(config-vlan)#exit
Switch2(config)#int gi0/1
Switch2(config-if)#switchport mode access
Switch2(config-if)#switchport access vlan 100
Switch2(config-if)#exit
Switch2(config)#int vlan 100
Switch2(config-if)#ip add 10.16.100.1 255.255.255.0
Switch2(config-if)#no shut
Switch2(config-if)#exit
Switch2(config)#vlan 200
Switch2(config-vlan)#exit
Switch2(config)#int gi0/2
Switch2(config-if)#switchport mode access
Switch2(config-if)#switchport access vlan 200
Switch2(config-if)#exit
Switch2(config)#int vlan 200
Switch2(config-if)#ip add 10.16.200.1 255.255.255.0
Switch2(config-if)#no shut
Switch2(config-if)#exit
Switch2(config)#int gi0/0
Switch2(config-if)#no switchport
Switch2(config-if)#ip add 10.16.0.1 255.255.255.0
Switch2(config-if)#no shut
Switch2(config-if)#exit
R1(config)#router eigrp 100
R1(config-router)#net 192.168.10.0
R1(config-router)#net 172.16.0.0
R1(config-router)#no au
R1(config-router)#end
R2#sho run | s eigrp
router eigrp 100
network 10.0.0.0
network 192.168.10.0
network 198.18.184.0
no auto-summary
Switch1(config)#router eigrp 100
Switch1(config-router)#net 172.16.0.0
Switch1(config-router)#net 172.16.100.0
Switch1(config-router)#net 172.16.200.0
Switch1(config-router)#no au
Switch1(config-router)#end
Switch2(config)#router eigrp 100
Switch2(config-router)#net 10.16.0.0
Switch2(config-router)#net 10.16.100.0
Switch2(config-router)#net 10.16.200.0
Switch2(config-router)#no au
Switch2(config-router)#end
ISP#sho run | s ip route
ip route 0.0.0.0 0.0.0.0 198.18.184.105
PC1> ping 198.18.184.110
84 bytes from 198.18.184.110 icmp_seq=1 ttl=252 time=29.126
ms
84 bytes from 198.18.184.110 icmp_seq=2 ttl=252 time=27.918
ms
84 bytes from 198.18.184.110 icmp_seq=3 ttl=252 time=32.333
ms
84 bytes from 198.18.184.110 icmp_seq=4 ttl=252 time=32.702
ms
84 bytes from 198.18.184.110 icmp_seq=5 ttl=252 time=52.188
ms
PC2> ping 198.18.184.110
84 bytes from 198.18.184.110 icmp_seq=1 ttl=252 time=31.753
ms
84 bytes from 198.18.184.110 icmp_seq=2 ttl=252 time=33.370
ms
84 bytes from 198.18.184.110 icmp_seq=3 ttl=252 time=35.505
ms
84 bytes from 198.18.184.110 icmp_seq=4 ttl=252 time=33.213
ms
84 bytes from 198.18.184.110 icmp_seq=5 ttl=252 time=32.578
ms
0 comments:
Post a Comment