Unsolved
1 Rookie
•
46 Posts
0
89
February 15th, 2024 14:41
Trying to setup DHCP and a manual (static) DHCP address
The MAC address below was made up for this example; I used my actual MAC address for testing.
I tested with and without bootp automatic as set by the WEBGUI.
This is a proof of concept configuration (that may be published) not the actual configuration I will eventually use when this is complete.
Side question can the net-bios line be removed without consequence? (I believe this is a recommended security precaution by some)
My Switch is firmware version:
!System Description "Dell EMC Networking N2024, 6.7.1.22, Linux 4.14.174, Not Available"
My current DHCP settings are: (there are additional for vlans 41- 48)
service dhcp
ip dhcp excluded-address 192.168.1.0 192.168.1.143
ip dhcp excluded-address 192.168.1.160 192.168.1.255
...
ip dhcp bootp automatic
ip dhcp pool "VLan1"
lease 0 0 30
dns-server 192.168.1.254
default-router 192.168.1.253
network 192.168.1.0 255.255.255.0
domain-name MyPrvNet.localdomain
sntp 192.168.1.254
netbios-node-type b-node
exit...
I try to add a manual (static) DHCP entry as follows:
When I press apply I get: (I get this alot and it is not helpful at all).
UPDATE: This problem appears to have to do with the browser. I tried it with chrome and got an error message about
Error! Invalid String:Unable to set 'Client Name' with ''
Is the client name supposed to be the host name without the domain part? I tried enterning MyMachine in the client name box and got the same error message.
I performed the task from the console as follows:
Switch253(config)#ip dhcp pool MyMachine
Switch253(config-dhcp-pool)#hardware-address 01:02:03:04:05:06 1
Switch253(config-dhcp-pool)#host 192.168.1.1
Switch253(config-dhcp-pool)#exit
I validated the results in the WEBGUI and tried to update the lease time to 18 hours:
I got the same empty WEBGUI error window as before (not shown)
I went back to the console and completed the update as follows:
Switch253(config)#ip dhcp pool MyMachine
Switch253(config-dhcp-pool)#lease 0 18 0
Switch253(config-dhcp-pool)#exit
I validated the results in the WEBGUI:
There appears to be a problem with the WEBGUI.
Is this the proper process for adding a DHCP entry to assign an IP address to a specific MAC address? Is this vlan sensitive as in selecting the correct IP address for the requested vlan? If this is correct, what you call a static pool is more like a static address because there cannot be multiple ip/mac address combinations in a static pool.
Thanks