This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
dhcp [2024/03/14 21:44] 114.119.158.167 old revision restored (2023/11/03 14:24) |
dhcp [2024/03/14 22:06] 114.119.141.71 old revision restored (2017/05/03 00:20) |
||
---|---|---|---|
Line 1: | Line 1: | ||
=====DHCP===== | =====DHCP===== | ||
- | Use DHCP to address automatic IP assignment within a network. | ||
- | |||
====Configuration==== | ====Configuration==== | ||
Below is the configuration for DHCP in Cisco' | Below is the configuration for DHCP in Cisco' | ||
Line 16: | Line 14: | ||
====DHCP Relay==== | ====DHCP Relay==== | ||
Relays are configured with **'' | Relays are configured with **'' | ||
+ | |||
+ | The helper address is configured on the interface connected to the subnet which does not contain the DHCP server. | ||
+ | < | ||
+ | interface FastEthernet0/ | ||
+ | ip address 172.16.0.1 255.255.255.0 | ||
+ | ip helper-address 192.168.1.1 | ||
+ | | ||
+ | speed auto | ||
+ | end | ||
+ | |||
+ | </ | ||
====Show Commands==== | ====Show Commands==== | ||
Line 64: | Line 73: | ||
===Pool Stats=== | ===Pool Stats=== | ||
+ | Note that '' | ||
< | < | ||
R1#sh ip dhcp pool | R1#sh ip dhcp pool |