Difference between revisions of "Cisco DHCP configuration"

From Ever changing code
Jump to navigation Jump to search
Line 9: Line 9:
   dns-server 192.168.100.254 8.8.8.8
   dns-server 192.168.100.254 8.8.8.8
   domain-name lma.gateway
   domain-name lma.gateway
   lease 0 8 '<--- 8 hrs lease --'
   lease 0 8 '<--- 8 hrs lease -- number represents: Days Hours Minutes ---'
  ip dhcp excluded-address 192.168.100.1 192.168.100.10
  ip dhcp excluded-address 192.168.100.1 192.168.100.10
  ip dhcp excluded-address 192.168.100.240 192.168.100.255
  ip dhcp excluded-address 192.168.100.240 192.168.100.255

Revision as of 14:54, 31 August 2013

This configuration will be applied to Cisco 1941 with EHWIC-3G-HSPA+7 card and Light Weigh Access Point.

Basic DHCP config

configure terminal
 service dhcp
 ip dhcp pool LMA-POOL
  network 192.168.100.0 255.255.255.0
  default-router 192.168.100.254
  dns-server 192.168.100.254 8.8.8.8
  domain-name lma.gateway
  lease 0 8 '<--- 8 hrs lease -- number represents: Days Hours Minutes ---'
ip dhcp excluded-address 192.168.100.1 192.168.100.10
ip dhcp excluded-address 192.168.100.240 192.168.100.255