I'm a newbie in network. I'd like to put in place a vlan with a dhcp server with provide ip adress depending on VLAN ID.
For that, I'm using a manageable switch L3 (tp-link T1600G) and opendhcpserver on a PC.
the PC has ip adresse 192.168.0.200 and it's plugged on port 1 of the switch
the host is plugged on port 11 of the switch and with dynamic IP adress.
I configured VLAN11 (with ip adress 192.168.2.1) on port 11.
I configured DHCP Interface Relay on VLAN11 with Server adress 192.168.0.200
On OpenDHCPServer I configured like that : [LISTEN_ON]
192.168.0.200
Hi all,
I'm a newbie in network. I'd like to put in place a vlan with a dhcp server with provide ip adress depending on VLAN ID.
For that, I'm using a manageable switch L3 (tp-link T1600G) and opendhcpserver on a PC.
the PC has ip adresse 192.168.0.200 and it's plugged on port 1 of the switch
the host is plugged on port 11 of the switch and with dynamic IP adress.
I configured VLAN11 (with ip adress 192.168.2.1) on port 11.
I configured DHCP Interface Relay on VLAN11 with Server adress 192.168.0.200
On OpenDHCPServer I configured like that :
[LISTEN_ON]
192.168.0.200
[RANGE_SET]
DHCPRange=192.168.2.2-192.168.2.200
SubnetMask=255.255.255.0
DomainServer=192.168.2.1
Router=192.168.2.1
FilterSubnetSelection=192.168.2.1
[GLOBAL_OPTIONS]
StaticRoute=192.168.2.1/255.255.255.0
When the host request an ip adress I get this error :
[01-Oct-19 18:29:14] DHCPREQUEST from Host****without Discover, NAKed
What is wrong in my setup?
Thanks in advance for your help.