cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1764
Views
0
Helpful
2
Replies

InterVlan Routing SG500

verdura
Level 1
Level 1

Hi all,

 

Been searching the forum but had no luck on finding answer... 

I have a SG500-52 switch that I need to configure for Inter VLAN routing.

I have 3 vlans:

vlan database
vlan 100,110,120
exit

and the following ip scheme:

interface vlan 100
 name STUDENTS
 ip address 192.168.100.50 255.255.255.0
 ip dhcp relay enable
!
interface vlan 110
 name MANAGEMENT
 ip address 192.168.110.50 255.255.255.0
 ip dhcp relay enable
!
interface vlan 120
 name SERVERS
 ip address 192.168.200.50 255.255.255.0

I have PC1 in the following port:

interface gigabitethernet1/1/16
 description "PC1"
 switchport mode access
 switchport access vlan 100

the gateway has ip 192.168.200.254/24 in the following port:

interface gigabitethernet1/1/48
 description "GW"
 switchport mode access
 switchport access vlan 120

the sh route

SW-RT-Servidores#sh ip route
Maximum Parallel Paths: 1 (1 after reset)
IP Forwarding: enabled
Codes: > - best, C - connected, S - static


S   0.0.0.0/0 [1/1] via 192.168.200.254, 1114:13:02, vlan 120
C   192.168.1.0/24 is directly connected, vlan 1
C   192.168.100.0/24 is directly connected, vlan 100
C   192.168.110.0/24 is directly connected, vlan 110
C   192.168.200.0/24 is directly connected, vlan 120

 

Problem: Cannot ping outside from PC1 but from all from VLAN120.

 

Can you please point me in the right direction?

 

Thanks

1 Accepted Solution

Accepted Solutions

Seb Rupik
VIP Alumni
VIP Alumni

HI there,

“Cannot ping outside from PC1 but from all from VLAN120.”

If I am reading your problem correctly, only devices on the VLAN120 subnet can reach outside, ie, internet addresses?

 

If that is the case, does your gateway device have routes for VLANs 100 and 110? Something like:

 

 

!
ip route 192.168.50.0 255.255.255.0 192.168.200.50
ip route 192.168.110.0 255.255.255.0 192.168.200.50
!

 

 cheers,

Seb.

View solution in original post

2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame

what is the PC1 IP ? you have got when you connected to  interface gigabitethernet1/1/16 ?

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Seb Rupik
VIP Alumni
VIP Alumni

HI there,

“Cannot ping outside from PC1 but from all from VLAN120.”

If I am reading your problem correctly, only devices on the VLAN120 subnet can reach outside, ie, internet addresses?

 

If that is the case, does your gateway device have routes for VLANs 100 and 110? Something like:

 

 

!
ip route 192.168.50.0 255.255.255.0 192.168.200.50
ip route 192.168.110.0 255.255.255.0 192.168.200.50
!

 

 cheers,

Seb.

Review Cisco Networking for a $25 gift card