Cisco DHCP SERVER: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
Zeile 20: Zeile 20:
 
     Offers:  0      Requests: 0    Acks : 0    Naks: 0
 
     Offers:  0      Requests: 0    Acks : 0    Naks: 0
 
     Declines: 0      Releases: 0    Query: 0    Bad: 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=
 
=Links=
 
*http://www.cisco.com/c/en/us/td/docs/ios/12_2/ip/configuration/guide/fipr_c/1cfdhcp.html#wp1001014
 
*http://www.cisco.com/c/en/us/td/docs/ios/12_2/ip/configuration/guide/fipr_c/1cfdhcp.html#wp1001014

Aktuelle Version vom 21. Januar 2016, 14:50 Uhr

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