cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
23406
Views
0
Helpful
16
Replies

SG500 InterVLAN Routing Issue

Roger1000
Level 1
Level 1

I would like to communicate between VLAN's on my switch configuration but unfortunately I can't do the following:

- ping between vlans (my default gateways on each host are correct)

- from a VLAN that is not the native VLAN 1 i can not access the internet router on port 1 but can from the native VLAN.

I noticed that via the CLI, I can see the routes created as ports are activated.  for example:

S  0.0.0.0/0          [1/1] via  192.168.1.1  0:13:10              vlan 1

C  192.168.1.0/24     is directly connected                        vlan 1

C  192.168.30.0/24    is directly connected                        vlan 30

C  192.168.40.0/24    is directly connected                        vlan 40

Unfortunately I can not see them in the Web UI for the switch.  I understand that they are supposed to be automatically updated in the UI.

also...Show arp output:

  VLAN    Interface     IP address        HW address          status

--------------------- --------------- ------------------- ---------------

vlan 1     gi1/1/1    192.168.1.1     e0:5f:b9:0c:c6:d6   dynamic

vlan 1     gi1/1/9    192.168.1.4     f4:ce:46:fe:d7:0d   dynamic

vlan 1     gi1/1/10   192.168.1.91    f4:6d:04:41:e7:a6   dynamic

vlan 30    gi1/1/14   192.168.30.11   00:04:4b:17:34:a3   dynamic

vlan 40    gi1/1/8    192.168.40.92   00:d0:b7:6b:49:14   dynamic

Any suggestions on what setting to adjust to get this working?

Thanks,

Roger

16 Replies 16

You have most of it right.   The switch's port facing the router must have an ip address assigned that is in the same subnet as the router's ip address.   In your case,

1) switch port facing router = 10.10.0.2/24 on VLAN 1

2) router port facing switch = 10.10.0.1/24

Just change your default route (0.0.0.0 statement to point to the IP assigned to your switch's port facing the router, not the router's IP.  It should be:

ip route 0.0.0.0 0.0.0.0 10.10.10.2

Best wishes,

kpiq

One more thing... if your router is VLAN-unaware make sure that the VLAN assigned to the switch's "default gateway" port is untagged.   All traffic to and from VLAN-unaware devices must ingress/egress the VLAN-aware switch thru an untagged port.

Review Cisco Networking for a $25 gift card