Cisco access internet with dhcp config

!
! Last configuration change at 18:53:10 EST Tue Sep 20 2016
! NVRAM config last updated at 18:53:17 EST Tue Sep 20 2016
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname c1801r1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
clock timezone EST 10
clock summer-time EDT recurring 1 Sun Oct 2:00 1 Sun Apr 3:00
!
!
ip cef
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.1.1 192.168.1.100
!
ip dhcp pool DHCP-LAN
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 192.168.1.1
!
!
ip domain name ipvanquish.com
ip name-server 208.67.220.220
ip name-server 208.67.222.222
multilink bundle-name authenticated
!
!
username admin privilege 15 password 0 cisco
archive
log config
hidekeys
!
!
!
!
!
interface FastEthernet0
ip address dhcp
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
no shutdown
!
interface FastEthernet1
switchport access vlan 50
!
interface FastEthernet2
switchport access vlan 50
!
interface FastEthernet3
switchport access vlan 50
!
interface FastEthernet4
switchport access vlan 50
!
interface FastEthernet5
switchport access vlan 50
!
interface FastEthernet6
switchport access vlan 50
!
interface FastEthernet7
switchport access vlan 50
!
interface FastEthernet8
switchport access vlan 50
!
interface Vlan1
no ip address
!
interface Vlan50
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!
ip forward-protocol nd
!
!
no ip http server
ip dns server
ip nat inside source list 50 interface FastEthernet0 overload
!
access-list 50 permit 192.168.1.0 0.0.0.255
!
control-plane
!
!
line con 0
exec-timeout 480 0
logging synchronous
line aux 0
line vty 0 4
access-class 50 in
privilege level 15
logging synchronous
login local
transport input all
line vty 5 15
access-class 50 in
privilege level 15
logging synchronous
login local
transport input all
!
ntp source FastEthernet0
ntp server 103.242.70.5
ntp server 203.23.237.200
ntp server 203.56.27.253 
end
Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *