Difference between revisions of "Talk: DHCP Cisco IOS"
From Teknologisk videncenter
								
												
				m  | 
				m  | 
				||
| Line 9: | Line 9: | ||
Thanks [[User:Heth|Henrik Thomsen]] 13:10, 28 June 2009 (CEST)  | Thanks [[User:Heth|Henrik Thomsen]] 13:10, 28 June 2009 (CEST)  | ||
| + | |||
| + | New syntax for address range  | ||
| + | <source lang=cli>  | ||
| + | ip dhcp pool HETH  | ||
| + |  import all  | ||
| + |  network 192.168.100.0 255.255.255.0  | ||
| + |  default-router 192.168.100.1  | ||
| + |  class HETH-CLASS  | ||
| + |   address range 192.168.100.100 192.168.100.199  | ||
| + | !  | ||
| + | !  | ||
| + | ip dhcp class dhcprange  | ||
| + | !  | ||
| + | ip dhcp class HETH-CLASS  | ||
| + | </source>  | ||
| + | {{Source cli}}  | ||
Latest revision as of 09:03, 17 June 2014
Hej det ser godt ud, men vil du ikke specidasdasd
Import all example
Shouldn't the last example "DHCP Client and Server with NAT/PAT example and import" include the default gateway in the DHCP Pool?
-- Well of course it should.
Thanks Henrik Thomsen 13:10, 28 June 2009 (CEST)
New syntax for address range
ip dhcp pool HETH
 import all
 network 192.168.100.0 255.255.255.0
 default-router 192.168.100.1
 class HETH-CLASS
  address range 192.168.100.100 192.168.100.199
!
!
ip dhcp class dhcprange
!
ip dhcp class HETH-CLASS