Thursday, June 9, 2011

DHCP Configuration in Router

DHCP Configuration in Router:

If you want to configure DHCP in your VLAN network, so flow those steps as your requirement.

Router>enable
Router#configure terminal

Router(config)#ip dhcp pool wireless   >> Create a dhcp pool, name wireless
Router(dhcp-config)#network 192.168.130.0 255.255.255.0 >> mention which network participate
Router(dhcp-config)#default-router 192.168.130.1 >> Getway of this network
Router(dhcp-config)#dns-server 200.200.200.2       >> if you have DNS address

Router(config)#ip dhcp excluded-address 192.168.130.2  >> single IP address fix, like printer, server or any purpose
Router(config)#ip dhcp excluded-address 192.168.130.3 192.168.130.10 >> Range of IP address (low IP to high IP),  as your requirement.

1 comment: