cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1266
Views
0
Helpful
9
Replies

Cisco SG300-28 VLANs can't reach internet except default vlan 1

Kooriatel
Level 1
Level 1

Hi Members,

I have set an Sg300-28 Cisco in Router mode with the following config but only the interfaces on vlan 1 can reach internet.

 

Vlan 2 pinging to internet gateway 192.168.100.1 fails. I have tried up route but nothing works.

 

Any pointers will be appreciated.

Config;

 

switch3fdb71#sh running-config
config-file-header
switch3fdb71
v1.3.7.18 / R750_NIK_1_35_647_358
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
More: <space>, Quit: q or CTRL+Z, One line: <return>
bonjour interface range vlan 1
hostname switch3fdb71
!
interface vlan 1
ip address 192.168.100.77 255.255.255.0
no ip address dhcp
!
interface vlan 2
name tlan
ip address 192.168.7.1 255.255.255.0
!
interface gigabitethernet1
switchport mode access
!
interface gigabitethernet2
switchport mode access
switchport access vlan 2
!
exit
ip default-gateway 192.168.100.1

1 Accepted Solution

Accepted Solutions

The confiig worked. Added a static route on Huawei to 7.0 with gateway as .77 and then plugged in a device to gi2. I was formerly usng ping...source with the interface not having anything plugged in reason why it was failing.  was configuring the switch from gi1.

View solution in original post

9 Replies 9

balaji.bandi
Hall of Fame
Hall of Fame

If the Device already setup in router mode.

you need route required as below :

 

ip route  0.0.0.0 0 0.0.0.0 192.168.100.1

 

Still have issue post complete config alonng with show ip route output.

BB

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

How to Ask The Cisco Community for Help

Hi and thanks.

switch3fdb71#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.100.1, 00:01:42, vlan 1
C 192.168.100.0/24 is directly connected, vlan 1

switch3fdb71#

That's the IP route results after adding the IP route.

The config above is basic. Nothing more added from the default.

Ok you have route back entry for network  192.168.7.0/24 from 192.168.100.1

 

EDIT :

 

Please also confirm the device Configuired on  IP  192.168.7.X able to ping 192.168.7.1 ?

 

 

BB

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

How to Ask The Cisco Community for Help

A PC on 192.168.7.2 can ping 192.168.7.1 and can also reach 192.168.100.77

Problem is it can't ping 192.168.100.1

How do I add a route on 192.168.100.1 which is a Huawei Onu device ?

I have tried adding a static route to 192.168.7.0 /24 without success. Which gateway should I add?

I have no idea about that product, Google may help you.

 

just did one quick search here is document to add static route not sure if that work for your model.

 

https://www.grandmetric.com/knowledge-base/design_and_configure/how-to-configure-static-routing-huawei/

BB

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

How to Ask The Cisco Community for Help

Thanks for the pointer. I have googled about the cisco Sg-300 series and read a lot about it but it ain't a straight forward config as the catalyst.

 

I have created the static route back to 7.0/24 with different gateways (7.1,100.1,100.77) but nothing works.

 

I hope the gurus or Cisco employees in this forum can help crack this once and for all.

 

EDIT :

 

Sorry to hear that not work, please post all the screenshot cisco device and Huawei to understand

 

 

BB

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

How to Ask The Cisco Community for Help

Sorry been away from the office. Will revert soonest.

The confiig worked. Added a static route on Huawei to 7.0 with gateway as .77 and then plugged in a device to gi2. I was formerly usng ping...source with the interface not having anything plugged in reason why it was failing.  was configuring the switch from gi1.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Switch products supported in this community
Cisco Business Product Family
  • CBS110
  • CBS220
  • CBS250
  • CBS350
Cisco Switching Product Family
  • 110
  • 200
  • 220
  • 250
  • 300
  • 350
  • 350X
  • 550X