Difference between revisions of "DHCP Cisco IOS"

From Teknologisk videncenter
Jump to: navigation, search
Line 19: Line 19:
 
   dns-server 192.168.22.223  
 
   dns-server 192.168.22.223  
 
!  
 
!  
 +
</pre>
 +
 +
==DHCP Client ==
 +
 +
=== DHCP Client simple example ===
 +
<pre>
 +
interface FastEthernet0/1
 +
  ip address dhcp
 
</pre>
 
</pre>

Revision as of 00:05, 3 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

DHCP Server

IOS DHCP Servers service is installed Cisco Router IOS and not on Cisco Switch IOS.


DHCP Server example with fixed options

! 
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 
! 

DHCP Client

DHCP Client simple example

interface FastEthernet0/1
  ip address dhcp