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:41] 114.119.155.78 old revision restored (2023/11/10 06:57) |
dhcp [2024/03/14 22:05] 114.119.155.78 old revision restored (2022/09/11 17:01) |
||
---|---|---|---|
Line 6: | Line 6: | ||
R1(dhcp-config)# | R1(dhcp-config)# | ||
no ip dhcp use vrf connected | no ip dhcp use vrf connected | ||
- | ip dhcp excluded-address 192.168.1.1 192.168.1.49 | + | ip dhcp excluded-address 192.168.1.1 192.168.1.49 |
- | ip dhcp excluded-address 172.16.0.1 | + | ip dhcp excluded-address 172.16.0.1 |
- | ip dhcp pool LAN | + | ip dhcp pool LAN # Define a pool |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | lease 0 23 59 | + | lease 0 23 59 # Lease DAYS HRS MINS |
</ | </ | ||
Line 23: | Line 23: | ||
interface FastEthernet0/ | interface FastEthernet0/ | ||
ip address 172.16.0.1 255.255.255.0 | ip address 172.16.0.1 255.255.255.0 | ||
- | ip helper-address 192.168.1.1 | + | ip helper-address 192.168.1.1 |
| | ||
speed auto | speed auto |