650) this.width=650; "src=" http://s4.51cto.com/wyfs02/M01/7E/04/wKioL1b1PB_Rx6IyAACdAQbSYJM639.jpg "title=" DHCP. JPG "alt=" Wkiol1b1pb_rx6iyaacdaqbsyjm639.jpg "/>
The first step is to configure the port f6/0 on the router connection PC0 to 172.16.14.1, the port f0/0 of the connection switch is configured to 172.16.13.1, the port f1/0 the connection server is configured to 172.16.10.2.
On the code:
int f6/0
IP address 172.16.14.1 255.255.255.0
int f0/0
IP address 172.16.13.1 255.255.255.0
int f1/0
IP address 172.16.10.2 255.255.255.0
OK, at this time the gateway for different network segments is already well-equipped.
The second step is to configure the DHCP service for the server,
Start the service "on" and add the address pool Serverpool and Extralpool,
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/7E/08/wKiom1b1PYLwL5J9AAJZxQMYgjM010.jpg "title=" 3.JPG " alt= "Wkiom1b1pylwl5j9aajzxqmygjm010.jpg"/>650) this.width=650; src= http://s1.51cto.com/wyfs02/M00/7E/04/ Wkiol1b1ptrz-uouaajnsbtnijg465.jpg "title=" 4.JPG "alt=" Wkiol1b1ptrz-uouaajnsbtnijg465.jpg "/>
In the third step, the router is configured to configure "IP helper-address 172.16.10.2" to three ports in turn.
After configuration, set several PCs to get IP address dynamically, you will find that obtaining the IP address is successful,
650) this.width=650; "src=" http://s1.51cto.com/wyfs02/M01/7E/04/wKioL1b1P_qSnYqLAAHkWO8fJiI815.jpg "title=" 5.JPG " alt= "Wkiol1b1p_qsnyqlaahkwo8fjii815.jpg"/>
650) this.width=650; "src=" http://s5.51cto.com/wyfs02/M01/7E/08/wKiom1b1P6qhdkVsAAGmtjYPYxk366.jpg "title=" 6.JPG " alt= "Wkiom1b1p6qhdkvsaagmtjypyxk366.jpg"/>
As a result, the experimental results have been achieved.
Note: The IP helper-address in the simulator means that an IP address is specified for UDP broadcasts.
Cisco emulator Configuration DHCP