NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

werwerfmsdf's avatar
werwerfmsdf
Initiate
Dec 08, 2022
Solved

M4100-26G IP Subnet based VLANs

I have a Netgear M4100-26G, running firmware version 10.0.2.20.

I am interested in connecting the three computers seen in the picture between two VLANs.

I would like 

 

VLAN 2:

  • PC 1
  • PC 2

and 

VLAN 3:

  • PC 2
  • PC 3

I would like all ports to be untagged. I read that traditional static ports can only have a single untagged VLAN associated with them. In my understanding, a way to get around this problem is to use IP Subnet Based VLAN Configurations.

In my switch I went to Switching -> VLAN -> Advanced -> IP Subnet Based VLAN and created two new rules:

 

1) 192.168.1.0 / 255.255.255.0 / VLAN 2

2) 10.0.0.0 / 255.0.0.0 / VLAN 3

 

A few questions:

1) In my understanding, traffic arriving at the switch from PC 2 will be assigned the appropriate VLAN by this rule. Traffic from PC 1 and PC 3 can have a known VLAN a priori. Do I need to create static VLANs under Switching -> VLAN -> Advanced -> VLAN Configuration for VLAN 2 and 3 and then assign "U" to their ports in Switching -> VLAN -> Advanced -> VLAN Membership? If so, does having static VLANs and dynamic VLANs with the same numbers cause a conflict?

2) It's my understanding that I will need to enable GVRP mode (Switching -> VLAN -> Advanced -> GARP Switch Configuration). For the dynamic VLAN required for the IP subnet based approached to work. Is this correct?

3) Next, I go to Switching -> VLAN -> Advanced -> GARP Port Configuration. Here, do I need to enable "Port GVRP Mode" for Port 2 only or for all three ports (1,2,3)? My understanding is that only port 2, connected to PC 2, is doing anything dynamically.

4) I found an option for "Dynamic VLAN Creation Mode" in Security -> Port Authentication. I have enabled this.

 

 

 

 

 

 

 

 

  • I was able to get this working. To do this, I:

    1) In Switching -> VLAN -> Advanced -> VLAN Configuration, I created two new static VLANs, 2 and 3.

    2) In Switching -> VLAN -> Advanced -> VLAN Membership, I made ports 1 and 2 untagged members of VLAN 2. I then made ports 2 and 3 untagged members of VLAN 3.

    3) In Switching -> VLAN -> Advanced -> IP Subnet Based VLAN, I created two new rules

    • 192.168.1.0/24 -> VLAN 2
    • 10.1.1.0/24 -> VLAN 3

    This appears to give me the configuration I wanted.

     

    To answers my questions:

    1) Dynamic VLANs were not needed. I mistakenly thought they were required for IP subnet rules to be in effect.

    2) GVRP was not needed.

    3) Also not needed.

    4) Also not needed.

1 Reply

Replies have been turned off for this discussion
  • I was able to get this working. To do this, I:

    1) In Switching -> VLAN -> Advanced -> VLAN Configuration, I created two new static VLANs, 2 and 3.

    2) In Switching -> VLAN -> Advanced -> VLAN Membership, I made ports 1 and 2 untagged members of VLAN 2. I then made ports 2 and 3 untagged members of VLAN 3.

    3) In Switching -> VLAN -> Advanced -> IP Subnet Based VLAN, I created two new rules

    • 192.168.1.0/24 -> VLAN 2
    • 10.1.1.0/24 -> VLAN 3

    This appears to give me the configuration I wanted.

     

    To answers my questions:

    1) Dynamic VLANs were not needed. I mistakenly thought they were required for IP subnet rules to be in effect.

    2) GVRP was not needed.

    3) Also not needed.

    4) Also not needed.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More