Home

Surfing the net

Corporate Router Configuration

Download all configurations (pdf)

hostname corporate
enable secret class
no ip domain-lookup

ip dhcp excluded-address 192.168.10.1 192.168.10.3
ip dhcp excluded-address 192.168.10.33
ip dhcp excluded-address 192.168.10.65
ip dhcp excluded-address 192.168.10.81

ip dhcp pool vlan1
network 192.168.10.0 255.255.255.224
default-router 192.168.10.1

ip dhcp pool vlan10
network 192.168.10.32 255.255.255.224
default-router 192.168.10.33

ip dhcp pool vlan20
network 192.168.10.64 255.255.255.240
default-router 192.168.10.65

ip dhcp pool vlan99
network 192.168.10.80 255.255.255.240
default-router 192.168.10.81

int fa0/0
no shut

int fa0/0.1
encaps dot1Q 1 native
ip address 192.168.10.1 255.255.255.224
ip nat inside
no shut

int fa0/0.10
encaps dot1Q 10
ip address 192.168.10.33 255.255.255.224
ip nat inside
no shut

int fa0/0.20
encaps dot1Q 20
ip address 192.168.10.65 255.255.255.240
ip nat inside
no shut

int fa0/0.99
encaps dot1Q 99
ip address 192.168.10.81 255.255.255.240
ip nat inside
no shut

int s0/0
ip address 63.88.27.66 255.255.255.252
ip nat outside
encaps frame-relay
frame-relay map ip 63.88.27.65 102
no shut

ip nat inside source list 1 int s0/0 overload

access-list 1 permit 192.168.10.0 0.0.0.31
access-list 1 permit 192.168.10.32 0.0.0.31
access-list 1 permit 192.168.10.64 0.0.0.15
access-list 1 permit 192.168.10.80 0.0.0.15

! Must specify next hop on GW when going through frame-relay
ip route 0.0.0.0 0.0.0.0 63.88.27.65
!Set discard route
ip route 192.168.0.0 255.255.0.0 Null0

line con 0
exec-timeout 0 0
logging synchronous
line aux 0
line vty 0 4
password cisco
login