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 184.108.40.206 255.255.255.0 interface fastethernet 0/0.2 encapsulation dot1q 200 ip address 220.127.116.11 255.255.255.0 exit ip dhcp pool VLAN100 network 18.104.22.168 255.255.255.0 default-router 22.214.171.124 exit ip dhcp excluded-address 126.96.36.199 ip dhcp pool VLAN200 network 188.8.131.52 255.255.255.0 default-router 184.108.40.206 exit ip dhcp excluded-address 220.127.116.11 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.