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

Forum Discussion

Babapou's avatar
Babapou
Follower
Jan 19, 2023

GS108Tv3 simple Vlan issues

I would like to set up two vlan on my switch.

VLAN 2 "WAN" on port g1-3 in 192.168.1.0/24 (router is behind on 192.168.1.1)

VLAN 10 "LAN" on port 4-8 in 10.0.0.0/24 (router is behind in 10.0.0.1)

I do not want to do routing here. Only basic switch features.

 

My current switch conf :

VLAN 2 "WAN" on port g1-3

VLAN 1 "default" on port 4-8

 

I have this setup:

 

web hidePopup lanOnly,
ip address 192.168.1.100 mask 255.255.255.0
ip default-gateway 192.168.1.1
ip name-server 8.8.8.8
!
vlan 2
name "WAN"
vlan 10
name "LAN"
!
spanning-tree mst configuration
name "BC-A5-11-22-74-5C"
!
interface lag1
switchport hybrid allowed vlan add 2 untagged
switchport hybrid allowed vlan remove 1
!
interface lag2
switchport hybrid allowed vlan add 2 untagged
switchport hybrid allowed vlan remove 1
!
interface lag3
switchport hybrid allowed vlan add 2 untagged
switchport hybrid allowed vlan remove 1
!
interface g1
switchport hybrid allowed vlan add 2 untagged
switchport hybrid allowed vlan remove 1
!
interface g2
switchport hybrid allowed vlan add 2 untagged
switchport hybrid allowed vlan remove 1
!
interface g3
switchport hybrid allowed vlan add 2 untagged
switchport hybrid allowed vlan remove 1
!
interface g4
interface g5
interface g6
interface g7
interface g8

 

When I'm plugging my WAN cable in g1, and my computer on g2 or g3, I have no connection to router in 192.168.1.1 and DHCP is not working and doesn't give me IP.

When I'm plugging my WAN cable in g4 and my computer on g5,g7,g8, I do have connection to router 192.168.1.1 and DHCP is working and do give me @IP.

 

Can you please explain me why ? I'm no going further as my VLAN "WAN" already doesn't work as I can't reach my router or get IP.

Thanks

1 Reply

  • schumaku's avatar
    schumaku
    Guru - Experienced User

    The original plan was VLAN 2 untagged for port 1..3, and VLAN 10 for port 4...10 isn't it? So configure it accordingly, possibly from the Web UI, and ensure no other ports are added unintentionally tagged (or untagged) to these VLANs.

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