OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • 22.7 Legacy Series »
  • Unable to Ping VLAN Gateway
« previous next »
  • Print
Pages: 1 [2]

Author Topic: Unable to Ping VLAN Gateway  (Read 1632 times)

Demusman

  • Sr. Member
  • ****
  • Posts: 293
  • Karma: 12
    • View Profile
Re: Unable to Ping VLAN Gateway
« Reply #15 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.

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.
Logged

BillyJoePiano

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
    • View Profile
Re: Unable to Ping VLAN Gateway
« Reply #16 on: October 03, 2022, 08:22:58 am »
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...
Logged

CruseOPNsense

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
    • View Profile
Re: Unable to Ping VLAN Gateway
« Reply #17 on: October 04, 2022, 02:03:39 am »
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.

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.

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
Logged

Demusman

  • Sr. Member
  • ****
  • Posts: 293
  • Karma: 12
    • View Profile
Re: Unable to Ping VLAN Gateway
« Reply #18 on: October 04, 2022, 02:37:36 am »
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).

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

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-
Logged

gdur

  • Jr. Member
  • **
  • Posts: 90
  • Karma: 1
    • View Profile
Re: Unable to Ping VLAN Gateway
« Reply #19 on: October 04, 2022, 07:57:41 am »
Choose ICMP as protocol in your firewall rule. Ping = ICPM
Logged

  • Print
Pages: 1 [2]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • 22.7 Legacy Series »
  • Unable to Ping VLAN Gateway
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2