Archive > 22.7 Legacy Series

Unable to Ping VLAN Gateway

<< < (4/4)

Demusman:

--- Quote from: CruseOPNsense on October 03, 2022, 01:09:42 am ---Even when I assign a static IP while plugged directly into the OPNsense box, I'm unable to reach the VLAN.

--- End quote ---

What IP are you assigning?

Can you assign a vlan to the pc nic?

What model switch are you using? There may be more you need to do for vlans. Different switches use different terminology.

BillyJoePiano:
I know when I've had VLAN issues it had to do with the configuration of the switch, especially with regards to what VLAN untagged packets are sent to on each interface.  If you forget to change that setting when you change the VLAN for the interface you might have issues.

Not sure whether that is helpful or not...

CruseOPNsense:

--- Quote from: Demusman on October 03, 2022, 02:11:52 am ---
--- Quote from: CruseOPNsense on October 03, 2022, 01:09:42 am ---Even when I assign a static IP while plugged directly into the OPNsense box, I'm unable to reach the VLAN.

--- End quote ---

What IP are you assigning?

Can you assign a vlan to the pc nic?

What model switch are you using? There may be more you need to do for vlans. Different switches use different terminology.

--- End quote ---

I'm attempting to assign an IP within the subnet (192.168.15.101).

I'm not quite sure what you mean by "can you assign a vlan to the pc nic?"

I'm using a ZyXel GS1900-48, I followed this guide to setup my VLAN:https://www.youtube.com/watch?v=mmuuyZyaEBI

Demusman:

--- Quote from: CruseOPNsense on October 04, 2022, 02:03:39 am ---I'm attempting to assign an IP within the subnet (192.168.15.101).
--- End quote ---

Again, that will NOT work! You can't just assign an address and expect to be on that vlan. You need to tag that nic.


--- Quote ---I'm not quite sure what you mean by "can you assign a vlan to the pc nic?"

I'm using a ZyXel GS1900-48, I followed this guide to setup my VLAN:https://www.youtube.com/watch?v=mmuuyZyaEBI

--- End quote ---

Plugging directly into a trunk port, which the LAN interface is once you assign vlans, will only let you access the untagged vlan unless you tag the nic interface. So don't plug into the opnsense interface anymore!! It won't lweet you connect to vlan 15.

You need to follow this:
https://mysupport.zyxel.com/hc/en-us/articles/360008607580--Switch-How-to-configure-VLAN-on-GS1900-xx-switches-firmware-2-40-and-newer-

gdur:
Choose ICMP as protocol in your firewall rule. Ping = ICPM

Navigation

[0] Message Index

[*] Previous page

Go to full version