Trouble with DHCP and VLAN
-
I have trouble with using DHCP server in my VLAN.
I hope that somebody cab help me with my problem.
I do not know what im doing wrong, i add here my steps from setting up VLAN.- i assign new VLAN with name (student) and tag (2)
- create new interface OPT1
- set network IP (192.168.2.0/24) and enable interface OPT1
- enable DHCP for OPT1
- add IP range (192.168.2.100-192.168.2.250) in DHCP server
If I connect my computer with VLAN (tag2) then i get results:
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.2.254
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.2.0
DHCP Server . . . . . . . . . . . : 192.168.2.0
DNS Servers . . . . . . . . . . . : 192.168.2.0
Everything works with LAN, i get correct gateway, DNS and DHCP server addresses.
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.244
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
Same problem with version 1.0.1, 1.2-BETA.1 and 1.2-BETA.2
Did anybody can help me?
Sorry for my english.
Thanks -
You need to use a valid IP on the OPT interface, not the network address. i.e. it needs to be 192.168.2.1/24, not 2.0 as that's the network address and not a usable IP. It looks like it's working as would be expected, if you just use a legit IP you should be fine.
-
It helps,
Thank you very mutch! :)