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

Forum Discussion

kentavv's avatar
kentavv
Aspirant
Aug 24, 2017
Solved

GS108PEv3 vlan, two networks, one computer in both, will this work?

Hello. Connected to the GS108PEv3 is the following. Four network ports for PoE devices that are on 10.0.0.0/24. Two additional ports that are on 192.168.0.0/24, one for a computer and one for the rest of the network. (The last two ports are empty.) Devices on the 10.0.0.0/24 network have static addresses and devices on the 192.168.0.0/24 network are assigned addresses from DHCP (not served by the this switch.)

 

The computer has a single GigE port and needs to be part of both the 10.0.0.0/24 and 192.168.0.0/24 networks.  Linux allows an alias address so the NIC can have two addresses.

 

If I understand the GS108PEv3  manual, I can create the partition using VLANs. I don't understand if the GS108PEv3 requires additional configuration to allow the computer to talk on both VLANs or networks. Is it as simple as assigning the port to both VLANs?

 

If I obviously misunderstand something about networking, I would be thankful to hear how to correctly configure this setup. The application is four private network POE cameras, a computer aggregating the cameras and then serving the results by web to the rest of the network.

 

Thank you, Kent

  • Hey,

     

    "Is it as simple as assigning the port to both VLANs?"

    Yes - that is pretty much it. There are just a few comments.

     

    1. When setting a port to carry multiple VLANs, that is called a Trunk. In that case you normally set the port to be tagged "T" for each VLAN you want to carry down that link.

     

    2. When tagging a VLAN, you need to make sure the other end (the Linux PC) understands that tag. Else, the PC will drop that traffic.

     

    So, you're right that you can create sub-ip-interfaces in Linux. However, you need to also set those interfaces to be tagged to a certain VLAN. You need that because you need to tag on the switch side. Luckily, VLAN tagging can easily be done by any OS.

     

    Cheers

3 Replies

  • Hey,

     

    "Is it as simple as assigning the port to both VLANs?"

    Yes - that is pretty much it. There are just a few comments.

     

    1. When setting a port to carry multiple VLANs, that is called a Trunk. In that case you normally set the port to be tagged "T" for each VLAN you want to carry down that link.

     

    2. When tagging a VLAN, you need to make sure the other end (the Linux PC) understands that tag. Else, the PC will drop that traffic.

     

    So, you're right that you can create sub-ip-interfaces in Linux. However, you need to also set those interfaces to be tagged to a certain VLAN. You need that because you need to tag on the switch side. Luckily, VLAN tagging can easily be done by any OS.

     

    Cheers

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