XGS1930-28 trying to connect Vlan 3 to internet

Dani998
Dani998 Posts: 2  Freshman Member
Zyxel Certified Network Administrator - Switch

Hi, i'm trying to configure two Vlans on this switch (Vlan 1 and Vlan 3), basically i have a cash register (port 20) and the Router (port 1) in Vlan 1 and my PC (port 22) in Vlan 3, with my PC i can ping the Cash register in Vlan 1 and vice versa it can ping me (of course i can even ping the Switch and access the configurations). My problem is that the Vlan 3 cant ping the Router for some reasons.. no matter what configuration i put in the Static Vlan Setup.

diagramma .png

To make the cash register ping, i've put these rules in my Vlan setup in vlan 1 and vlan 3

vlan1.png vlan3.png

i've even tried to put forbidden in the port 1 in vlan 3 without success and some other configurations
This is the PVID table:

pvid.png

and this is the Switch's IPs

ip switch.png

i've even tried to disable the firewall both in the router and in the PC.

Am i missing something? What can i do to make Vlan 3 to ping the router and access the internet? Thanks!

All Replies

  • PeterUK
    PeterUK Posts: 4,047  Guru Member
    250 Answers 2500 Comments Friend Collector Seventh Anniversary
    edited September 10

    Do you have the router with VLAN3 and subnet for 192.168.3.0/24? it does not look like you have a VLAN router? but does your router have static routes?

    VLAN3 change all to forbidden but fixed port 1 and 22 PVID looks ok you then want PC with fixed IP 192.168.3.196 gateway 192.168.3.1

    But you need the router to do static routes with destination IP 192.168.3.0/24 gateway 192.168.0.135

  • Zyxel_Melen
    Zyxel_Melen Posts: 3,814  Guru Member
    Zyxel Certified Network Engineer Level 1 - Switch Zyxel Certified Network Administrator - Switch Zyxel Certified Network Administrator - Nebula Zyxel Certified Sales Associate

    Hi @Dani998

    PC normally does not support VLAN, therefore, you should set VLAN 3 port 22 untagged.

    image.png

    Also, your router should add a static route rule (details is like PeterUK mentioned), or your router could not know which interface should it send the traffic to.

    Zyxel Melen