NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
talkingcats
Feb 21, 2022Aspirant
Propagating VLANs on a GS305EP managed switch
Hi, I have a Draytek 2765 and Netgear GS305EP. I am having difficulties in propgating my VLANs onto the switch. Any assisatnce or pointers would be really great. Thanks in advance
VLANs ON ROUTER:
LAN1 = 192.168.1.1/24 (VLAN_ID = 0)
LAN2 = 192.168.2.1/24 (VLAN_ID = 20)
LAN3 = 192.168.3.1/24 ((VLAN_ID = 30)
LAN4 = 192.168.4.1/24 (VLAN_ID = 40)
NAT has been set up for each subnet
Port 4 on router goes to Port 5 on switch. All VLANs are sent to Port 4 -> Port 5.
Set up on NETGEAR GS305EP:
SWITCHING >> VLAN >> BASIC 802.1Q VLAN >>EDIT VLAN
DEFAULT = 1
LAN2 = 20
LAN3 = 30
LAN4 =40
TESTING
Set Port 4 = to LAN2, Set Port 5 to trunked (this crashes the switch!!!!)
Linux box on Port 4 will not get IP Address unless Port 4 = default
If I set Port 5 to trunked then the switch crashes and I have to reset to factory default
The Linux box connects and gets a local IP on Port 4 for untagged default traffic. Just cannot get it to work with any of the tagged VLANS
16 Replies
- schumakuGuru - Experienced User
Crash? Wild guess we end in some kind of network loop condition.
Completely missing from your description is the configuation of the router port #4 and the switch port #5 into a trunk config.
I would suggest to configure the trunk on both ends (router and the switch):
- For the default VLAN 1 untagged, so VLAN 1 [U]ntagged, VID 1 ... this allows you to gain access to the config.
- VLAN 20 [T]agged
- VLAN 30 [T]agged
- VLAN 40 [T]agged
Now e.g. on the switch one access port for each VLAN (e.g. for testing or proof of concept):
- Port #4 VLAN 40 [U]ntagged, PVID 40. Remove any other VLAN memberships, specifically VLAN 1 [ ] (empty)
- Port #3 VLAN 30 [U]ntagged, PVID 30. Remove any other VLAN memberships, specifically VLAN 1 [ ] (empty)
- Port #2 VLAN 20 [U]ntagged, PVID 20. Remove any other VLAN memberships, specifically VLAN 1 [ ] (empty)
Keep in mind the GS305EP does not come with a configureabe management VLAN, read the management port can pick up an IP config from any VLAN and subnet therefore. I would suggest to put up a static IP config for the VLAN 1 IP subnet. Together with the untagged VLAN 1, you can always reach the switch management without hunting all VLANs.
- talkingcatsAspirant
Thanks for your reply.
Crashed was an unprecise term. The switch waas no longer reachable.
The untagged default VLAN and all tagged VLANs were sent to port 4 of the router. Not sure what other configuration you are referring to. I have attached a PNG of the config I have done.
I#m a sofware guy not an infrastructure man and this is a home project for me. My plan here is to separate out the traffic from my WAP. But first of all I have to prove that VLANs are being propagated. So I configured Port 4 with LAN2 on the switch just to see if the tthe attached host would pick up an IP address from that VLAB. I didn't
At the moment all I see is failure and I have no idea how to track down where the pronlem is.
- schumakuGuru - Experienced User
Ok, this was my assumption, too. Hey, it requires some apotions, these VLAN configs are not very complex for a software pro either - you can handle this!.
Now you have to put up the same config on the switch. For the trunk from the router (you did a perfect config for the port #4 there!) the similar config must be done on the GS305EP, port #5
The Gigabit Ethernet Plus Switches User Manual does show the "Manage advanced 802.1Q VLANs" (that's the mode you need for such a config) with the details on how to apply the above settings. Sorry, missed this part of the guideline before.
in general, the VLANs must be defined on the switch. The ports must be defined for which VLAN ID tags are accepted, and to which VLAN the untegged frames entering the switch port are assigned to - that's what the PVID.
Hope this helps now!
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!