User Tools

Site Tools


dhcp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
dhcp [2024/03/14 21:48]
114.119.130.33 old revision restored (2023/10/26 14:34)
dhcp [2024/05/21 23:47]
54.235.17.69 old revision restored (2024/03/14 21:41)
Line 1: Line 1:
 =====DHCP===== =====DHCP=====
-Use DHCP to address automatic IP assignment within a network.+**DHCP** is //really// important. It's responsible for the automatic assignment of IP addresses in your network
 + 
 +It does all of the things.
  
 ====Configuration==== ====Configuration====
Line 7: Line 9:
 <code> <code>
 R1#sh run | s dhcp R1#sh run | s dhcp
 +no ip dhcp use vrf connected
 ip dhcp excluded-address 192.168.0.1 192.168.0.49 ip dhcp excluded-address 192.168.0.1 192.168.0.49
 ip dhcp pool MYNETWORK ip dhcp pool MYNETWORK
Line 13: Line 16:
 R1# R1#
 </code> </code>
- 
-====DHCP Relay==== 
-Relays are configured with **''ip helper-address x.x.x.x''** to specify which address to forward received DHCP requests. When our RTR forwards a DHCP request out via Relay, it does so with the **''SOURCE ADDRESS''** of the ''**INTERFACE**'' the ''**HELPER-ADDRESS**'' command was configured on. When this happens, the DHCP server can look at the ''**SOURCE ADDR**'' of the packet, and know exactly which scope to lease an address from - the same network that source resides in, ofc. 
dhcp.txt · Last modified: 2024/07/03 05:50 by 114.119.130.33