Cisco DHCP SERVER

Aus xinux.net
Zur Navigation springen Zur Suche springen

Konfiguration

configure terminal 
(config)#ip dhcp excluded-address 172.24.67.1 172.24.67.10
(config)#ip dhcp pool my-dhcppool
(dhcp-config)#network 172.24.67.0 255.255.255.0
(dhcp-config)#dns-server 192.168.240.200 
(dhcp-config)#default-router 172.24.67.1 
(config)#exit

Debugging

debug ip dhcp server packet 
terminal monitor

Show DHCP Servers we know about

show dhcp server 
  DHCP server: ANY (255.255.255.255)
   Leases:   0
   Offers:   0      Requests: 0     Acks : 0     Naks: 0
   Declines: 0      Releases: 0     Query: 0     Bad: 0

Ip Bindings

show ip dhcp binding 
Bindings from all pools not associated with VRF:
IP address          Client-ID/              Lease expiration        Type
                   Hardware address/
                   User name
172.24.67.11        0160.eb69.962d.a5       Mar 01 2002 01:01 AM    Automatic

Links