This Configuration Guide is designed to assist members to enhance their skills in particular technology area. While every effort has been made to ensure that all material is as complete and accurate as possible, the enclosed material is presented on an "as is" basis. Neither the authors nor Forum assume any liability or responsibility to any person or entity with respect to loss or damages incurred from the information contained in this guide. This configuration guide was developed by Forum. Any similarities between material presented in this configuration guide and any other material is completely coincidental.
Cisco IOS Software, Linux Software (I86BI_LINUX-ADVENTERPRISEK9-M), Version 15.2(4)M1,
DEVELOPMENT TEST SOFTWARE
Lab created for RST Forum by: Yash Muni, Ritesh Gohil
LAB 2: Configure DHCP
Task 2: Configure IPv4 DHCP
Step 1: In the configuration mode of router configure IPv4 DHCP by following command
Router1: interface fastethernet 0/0 no shutdown interface fastethernet 0/0.1 encapsulation dotlq 100 ip address 126.96.36.199 255.255.255.0 interface fastethernet 0/0.2 encapsulation dot1q 200 ip address 188.8.131.52 255.255.255.0 exit ip dhcp pool VLAN100 network 184.108.40.206 255.255.255.0 default-router 220.127.116.11 exit ip dhcp excluded-address 18.104.22.168 ip dhcp pool VLAN200 network 22.214.171.124 255.255.255.0 default-router 126.96.36.199 exit ip dhcp excluded-address 188.8.131.52 Switch1: interface fastethernet 0/1 switchport mode trunk exit interface fastethernet 0/2 switchport access vlan 100 switchport mode access interface fastethernet 0/3 switchport access vlan 200 switchport mode access exit Configure the HOST to obtain IP from DHCP.