Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
21.7 Legacy Series
»
VLAN creation issue
« previous
next »
Print
Pages: [
1
]
Author
Topic: VLAN creation issue (Read 687 times)
supercm
Newbie
Posts: 39
Karma: 0
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
pmhausen
Hero Member
Posts: 1564
Karma: 136
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
Supermicro A2SDi-4C-HLN4F mainboard and SC101F chassis
16 GB ECC memory
Crucial MX300 275 GB SATA 2.5" plus
Crucial MX300 275 GB SATA M.2 (ZFS mirror)
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
supercm
Newbie
Posts: 39
Karma: 0
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
pmhausen
Hero Member
Posts: 1564
Karma: 136
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
Supermicro A2SDi-4C-HLN4F mainboard and SC101F chassis
16 GB ECC memory
Crucial MX300 275 GB SATA 2.5" plus
Crucial MX300 275 GB SATA M.2 (ZFS mirror)
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
supercm
Newbie
Posts: 39
Karma: 0
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
»
English Forums
»
21.7 Legacy Series
»
VLAN creation issue