Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
VLAN creation issue
« previous
next »
Print
Pages: [
1
]
Author
Topic: VLAN creation issue (Read 1677 times)
supercm
Jr. Member
Posts: 52
Karma: 2
VLAN creation issue
«
on:
December 08, 2021, 07:45:01 pm »
I have a new installation and DHCP works fine on the LAN interface.
I created a new vlan, assigned it, enabled the interface, assigned an IP, set up a dhcp scope and enabled it. Created a temporary allow all rule in the firewall to test. When I move a device to the new vlan, the DHCP request (in the log) tries to be served by the LAN address.
So I assigned a static address and tried to ping the gateway and cant ping. Where do I look to troubleshoot?
For context, this is a hyper-v vm and I have another firewall as a vm (from another vendor) that I am migrating from with the same settings on the same switch and the same hyper v settings and it works over there, so I can say the switch and the hyperv network are not the issue.
Thank you
Logged
Patrick M. Hausen
Hero Member
Posts: 6812
Karma: 572
Re: VLAN creation issue
«
Reply #1 on:
December 08, 2021, 08:12:01 pm »
You should probably create and manage VLANs in Hyper-V and assign dedicated interfaces to OPNsense.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
supercm
Jr. Member
Posts: 52
Karma: 2
Re: VLAN creation issue
«
Reply #2 on:
December 08, 2021, 09:34:35 pm »
Thank you. That works but is that by design. With both Sophos XG and PFSense, I am able to configure it as a VLAN in the respective tool and that seems to work just fine.
Logged
Patrick M. Hausen
Hero Member
Posts: 6812
Karma: 572
Re: VLAN creation issue
«
Reply #3 on:
December 08, 2021, 09:42:07 pm »
I honestly don't know. Never run Hyper-V. I try to keep layer 2 stuff as close to the hypervisor as possible in ESXi. And I can recommend not to mix tagged and untagged on a single interface in FreeBSD.
So if you want to re-evaluate your approach at least run only tagged VLANs on that port.
HTH,
Patrick
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
supercm
Jr. Member
Posts: 52
Karma: 2
Re: VLAN creation issue
«
Reply #4 on:
December 08, 2021, 11:18:11 pm »
Got it. Thank you.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
VLAN creation issue