cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1237
Views
5
Helpful
3
Replies

Inter vlan routing Not working

ashiqnafas
Level 1
Level 1

I recently bought a cisco sg300 28-port switch. i have two networks, that are 10.198.32.0 /24 and 169.250.177.0 /24. i wanted route between two networks so that users in 10.198.32.0 /24 network can access the printer 169.250.177.108/24 in network 169.250.177.10.

Here is the router configuration

/////

config-file-header
LPSSwitch
v1.3.0.62 / R750_NIK_1_3_647_260
CLI v1.0
set system mode router

file SSD indicator encrypted
@
ssd-control-start
ssd config
ssd file passphrase control unrestricted
no ssd file integrity control
ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0
!
vlan database
vlan 2
exit
voice vlan oui-table add 0001e3 Siemens_AG_phone________
voice vlan oui-table add 00036b Cisco_phone_____________
voice vlan oui-table add 00096e Avaya___________________
voice vlan oui-table add 000fe2 H3C_Aolynk______________
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone

voice vlan oui-table add 00d01e Pingtel_phone___________
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
voice vlan oui-table add 00e0bb 3Com_phone______________
bonjour interface range vlan 1-2
hostname LPSSwitch
ip telnet server
!
interface vlan 1
ip address 169.250.177.254 255.255.255.0
no ip address dhcp
!
interface vlan 2
ip address 10.198.32.254 255.255.255.0
!
interface gigabitethernet1
switchport mode access
!
interface gigabitethernet2
switchport mode access
!
interface gigabitethernet3
switchport mode access
!

nterface gigabitethernet2
switchport mode access
!
interface gigabitethernet3
switchport mode access
!
interface gigabitethernet25
switchport mode access
switchport access vlan 2
!
interface gigabitethernet26
switchport mode access
switchport access vlan 2
!
interface gigabitethernet27
switchport mode access
switchport access vlan 2
!
interface gigabitethernet28
switchport mode access
switchport access vlan 2
!
exit

//

I have enabled "IP Routing" bt does not show in the configuration list

i Changed the default gateway of the pc to 169.250.177.254.

I am able to ping to the ip address 10.198.32.254 but am unable to ping other users on that network. same happens when am pinging from 10.198.32.0/24 am able to ping to 169.250.177.254 bt not to other users in 169.250.177.0/24 . please can any help sort my problem.

Thank you

3 Replies 3

ktonev
Cisco Employee
Cisco Employee

Hello,

My name is Kristian and I am one of the engineers from Cisco Small Business.

If you can ping the Vlan interface of the "remote" network then you can conclude Inter VLAN routing feature is working.

Please check if you have firewall enabled on the PC/Laptops that you are trying to ping. For example if they are Windows machines and Windows Firewall is enabled, you will not get success ping even though Inter-VLAN routing is working. 

Please also verify that all PCs have the appropriate gateway for their VLAN.

If these suggestions do not solve you issue, please contact us so we can open a support ticket for you.

Regards,
Kris

Thank you Mr Kris

I ping from the same LAN to that PC, it works bt cannot be ping from other network. Even ping works from the router. No firewall is enabled. Please help

Regards

Ashiq

Hi

i would like to help as i have SG 300 in front of me and just now finished working on it

i have two vlans like you 

vlan 1 192.168.100.0/24  in switch 192.168.100.2

vlan 2 192.168.101.0/24 in switch  192.168.101.2

- first of all there is a system mode to convert it to L3 switch check that under Administration>system settings (check attachment) , switch will reboot

- add the vlans with ip address , make sure of the subnet mask is correct(check attachment)

Vlan management>> Vlan settings

-create DHCP server with the default gateway L3 switch for each vlan 

IP configuration >> Network pool

after the PCs get ip address check what they get

for vlan 1 it should be

192.168.100.X

subnet 255.255.255.0

default gateway 192.168.100.2

you dont need more that this i think 

let me know

for interfaces i made them trunk by default