Professional Documents
Culture Documents
R1#
R1#
R1#
R1#show ip
R1#show ip ro
R1#show ip route
Codes: L - local, 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, H - NHRP, l - LISP
+ - replicated route, % - next hop override
!
ip dhcp excluded-address 192.168.20.1
ip dhcp excluded-address 192.168.30.1
!
ip dhcp pool vlan 20
network 192.168.20.0 255.255.255.0
default-router 192.168.20.1
dns-server 8.8.8.8
!
ip dhcp pool vlan 30
network 192.168.30.0 255.255.255.0
default-router 192.168.30.1
dns-server 8.8.8.8
!
!
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
redundancy
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Tunnel0
ip address 10.0.1.1 255.255.255.252
ip nat inside
ip virtual-reassembly in
tunnel source Ethernet0/2
tunnel destination 201.201.201.2
!
interface Ethernet0/0
no ip address
ip nat inside
ip virtual-reassembly in
!
interface Ethernet0/0.20
encapsulation dot1Q 20
ip address 192.168.20.1 255.255.255.0
!
interface Ethernet0/0.30
encapsulation dot1Q 30
ip address 192.168.30.1 255.255.255.0
!
interface Ethernet0/1
no ip address
shutdown
!
interface Ethernet0/2
ip address 200.200.200.2 255.255.255.0
ip nat outside
ip virtual-reassembly in
!
interface Ethernet0/3
no ip address
shutdown
!
!
router eigrp 100
network 192.168.20.0
network 192.168.30.0
passive-interface Ethernet0/0.20
passive-interface Ethernet0/0.30
!
router ospf 10
network 10.0.1.0 0.0.0.3 area 0
!
ip forward-protocol nd
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#rou
R1(config)#router e
R1(config)#router eigrp 100
R1(config-router)#re
R1(config-router)#redistribute sta
R1(config-router)#redistribute static
R1(config-router)#re
R1(config-router)#redistribute o
R1(config-router)#redistribute os
R1(config-router)#redistribute ospf 10
R1(config-router)#redistribute ospf 10 me
R1(config-router)#redistribute ospf 10 metric 100000 10 255 1 1500
R1(config-router)#
R1(config-router)#
R1(config-router)#exit
R1(config)#
R1(config)#
R1(config)#
R1(config)#
R1(config)#
R1(config)#exit
R1#
R1#show r
*Nov 28 21:32:29.117: %SYS-5-CONFIG_I: Configured from console by console
R1#show run
R1#show running-config
Building configuration...
!
ip dhcp excluded-address 192.168.20.1
ip dhcp excluded-address 192.168.30.1
!
ip dhcp pool vlan 20
network 192.168.20.0 255.255.255.0
default-router 192.168.20.1
dns-server 8.8.8.8
!
ip dhcp pool vlan 30
network 192.168.30.0 255.255.255.0
default-router 192.168.30.1
dns-server 8.8.8.8
!
!
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
redundancy
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Tunnel0
ip address 10.0.1.1 255.255.255.252
ip nat inside
ip virtual-reassembly in
tunnel source Ethernet0/2
tunnel destination 201.201.201.2
!
interface Ethernet0/0
no ip address
ip nat inside
ip virtual-reassembly in
!
interface Ethernet0/0.20
encapsulation dot1Q 20
ip address 192.168.20.1 255.255.255.0
!
interface Ethernet0/0.30
encapsulation dot1Q 30
ip address 192.168.30.1 255.255.255.0
!
interface Ethernet0/1
no ip address
shutdown
!
interface Ethernet0/2
ip address 200.200.200.2 255.255.255.0
ip nat outside
ip virtual-reassembly in
!
interface Ethernet0/3
no ip address
shutdown
!
!
router eigrp 100
network 192.168.20.0
network 192.168.30.0
redistribute static
redistribute ospf 10 metric 100000 10 255 1 1500
passive-interface Ethernet0/0.20
passive-interface Ethernet0/0.30
!
router ospf 10
network 10.0.1.0 0.0.0.3 area 0
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
ip nat inside source list 1 interface Ethernet0/2 overload
ip route 0.0.0.0 0.0.0.0 Ethernet0/2 200.200.200.1
!
access-list 1 permit any
!
!
!
control-plane
!
!
!
!
!
!
!
line con 0
logging synchronous
line aux 0
line vty 0 4
login
transport input all
!
!
end
R1#wr
Building configuration...
[OK]
R1#