Difference between revisions of "DHCP Cisco IOS"

From Teknologisk videncenter
Jump to: navigation, search
Line 4: Line 4:
  
 
DHCP Server example:  
 
DHCP Server example:  
 
 
<pre>
 
<pre>
 
 
!  
 
!  
 
+
ip dhcp excluded-address 192.168.22.1 192.168.22.99
ip dhcp excluded-address 192.168.22.1 192.168.22.99<br>ip dhcp excluded-address 192.168.22.200 192.168.22.255<br>!<br>ip dhcp pool STUDENTS<br>&nbsp;&nbsp;network 192.168.22.0 255.255.255.0<br>&nbsp;&nbsp;domain-name tekkom.dk<br>&nbsp;&nbsp;default-router 192.168.22.1<br>&nbsp;&nbsp;dns-server 192.168.22.223  
+
ip dhcp excluded-address 192.168.22.200 192.168.22.255
 
+
!
 +
ip dhcp pool STUDENTS
 +
  network 192.168.22.0 255.255.255.0
 +
  domain-name tekkom.dk
 +
  default-router 192.168.22.1
 +
  dns-server 192.168.22.223  
 
!  
 
!  
 
 
</pre>
 
</pre>

Revision as of 23:37, 2 February 2009

Computer Networking articles. Contains articles not suitable for specific categories like Category:Cisco, Category:CCNA, Category:CCNP or Category:IOS

Comment The information in this article is targeted to Cisco CCNA and CCNP curriculum, and not meant as in-depth information on all IOS

Contents

DHCP Server

DHCP Server example:

! 
ip dhcp excluded-address 192.168.22.1 192.168.22.99
ip dhcp excluded-address 192.168.22.200 192.168.22.255
!
ip dhcp pool STUDENTS
  network 192.168.22.0 255.255.255.0
  domain-name tekkom.dk
  default-router 192.168.22.1
  dns-server 192.168.22.223 
!