cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1578
Views
0
Helpful
7
Replies

sg550x no ip routing

Ryan25304
Level 1
Level 1

hello,

 

I m new here and trying to enable interVlan on sg550x. however, it failed to register ip routing in running configuration.

could you guys show me how?

below is before and after update conf

 

switche5cb3f#sh run | include ip
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
ip dhcp server
ip dhcp pool network storage
ip ssh server
 ip address 10.1.2.5 255.255.255.0
 no ip address dhcp
 ip address 192.168.2.1 255.255.255.0
ip default-gateway 10.1.2.3
switche5cb3f#

switche5cb3f#

switche5cb3f#
switche5cb3f#conf
switche5cb3f(config)#ip routing
switche5cb3f(config)#end
switche5cb3f#sh run | include ip
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
ip dhcp server
ip dhcp pool network storage
ip ssh server
 ip address 10.1.2.5 255.255.255.0
 no ip address dhcp
 ip address 192.168.2.1 255.255.255.0
ip default-gateway 10.1.2.3
switche5cb3f#

and full configuration

 

switche5cb3f#sh run
config-file-header
switche5cb3f
v2.5.5.47 / RTESLA2.5.5_930_364_286
CLI v1.0
file SSD indicator encrypted
@
ssd-control-start
ssd config
ssd file passphrase control unrestricted
no ssd file integrity control
ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0
!
!
unit-type-control-start
unit-type unit 1 network gi uplink te
unit-type unit 2 network gi uplink te
unit-type unit 3 network gi uplink te
unit-type unit 4 network gi uplink te
unit-type unit 5 network gi uplink te
unit-type unit 6 network gi uplink te
unit-type unit 7 network gi uplink te
unit-type unit 8 network gi uplink te
unit-type-control-end                                 
!
vlan database
vlan 30,40,50,60
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
ip dhcp server
ip dhcp pool network storage
address low 192.168.2.50 high 192.168.2.100 255.255.255.0
dns-server 9.9.9.9
exit
bonjour interface range vlan 1
hostname switche5cb3f
username admin password encrypted xxxxx privilege 15
ip ssh server
clock timezone J +8                                   
!
interface vlan 1
 ip address 10.1.2.5 255.255.255.0
 no ip address dhcp
!
interface vlan 30
 name storage
 ip address 192.168.2.1 255.255.255.0
!
interface vlan 40
 name WiFi_tv
!
interface vlan 50
 name WiFi_bed
!
interface vlan 60
 name vm
!
interface GigabitEthernet1/0/1
 switchport mode trunk
 switchport general allowed vlan add 1 untagged
 switchport trunk allowed vlan 1                      
!
interface GigabitEthernet1/0/12
 switchport mode trunk
 switchport general allowed vlan add 1,40,50,60 tagged
 switchport general allowed vlan add 30 untagged
 switchport access vlan 30
 switchport general pvid 30
 switchport trunk native vlan 30
 switchport trunk allowed vlan 1,30,40,50,60
!
interface GigabitEthernet1/0/13
 switchport mode trunk
 switchport general allowed vlan add 1,40,50,60 tagged
 switchport general allowed vlan add 30 untagged
 switchport access vlan 30
 switchport general pvid 30
 switchport trunk native vlan 30
 switchport trunk allowed vlan 1,30,40,50,60
!
interface GigabitEthernet1/0/36
 switchport mode trunk
 switchport general allowed vlan add 1,40,50,60 tagged
 switchport general allowed vlan add 30 untagged
 switchport access vlan 30
 switchport general pvid 30
 switchport trunk native vlan 30
 switchport trunk allowed vlan 1,30,40,50,60
!
interface GigabitEthernet1/0/47
 switchport mode trunk
 switchport general allowed vlan add 1,40,50,60 tagged
 switchport general allowed vlan add 30 untagged
 switchport access vlan 30
 switchport general pvid 30
 switchport trunk native vlan 30
 switchport trunk allowed vlan 1,30,40,50,60
!
interface GigabitEthernet1/0/48
 switchport mode trunk
 switchport trunk allowed vlan 1,30,40,50,60
!
exit
ip default-gateway 10.1.2.3

 

 

 

 

 

 

7 Replies 7

balaji.bandi
Hall of Fame
Hall of Fame

Not hands on this SMB switch.

 

try below option if this is option on your GUI

 

1.jpg

BB

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

How to Ask The Cisco Community for Help

You have 2 vlans with IP addresses configured. Perhaps you could do some testing to see what works. I would suggest these steps. 

- Connect a device to a port in vlan 30.

- You have a DHCP pool configured for vlan 30. Check whether the device received a correct IP address, mask, and gateway.

- If the device did receive correct parameters test whether the device can access its gateway (ping the address of vlan 30 192.168.2.1).

- If the device did successfully ping the vlan 30 interface then test whether the device is able to ping the vlan 1 interface address 10.1.2.5.

 

If the device is able to ping both interface addresses then it demonstrates that there is inter vlan routing. If the ping fails then it indicates that we need to do more investigating about why it is not working.

HTH

Rick

hello Richard,

 

it is kinda weird on my device. Thanks helping.

vlan 1

 

admin@MacBook-Air ~ % ip addr sh      
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet 127.0.0.1/8 lo0
	inet6 ::1/128
	inet6 fe80::1/64 scopeid 0x1
	inet 127.94.0.1/8 lo0
	inet 127.94.0.2/8 lo0
en3: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	ether 38
	inet6 fe80::18/64 secured scopeid 0x4
	inet 10.1.2.12/24 brd 10.1.2.255 en3

admin@MacBook-Air ~ % ping 10.1.2.5
PING 10.1.2.5 (10.1.2.5): 56 data bytes
64 bytes from 10.1.2.5: icmp_seq=0 ttl=64 time=2.242 ms
64 bytes from 10.1.2.5: icmp_seq=1 ttl=64 time=1.165 ms
64 bytes from 10.1.2.5: icmp_seq=2 ttl=64 time=1.125 ms
64 bytes from 10.1.2.5: icmp_seq=3 ttl=64 time=1.095 ms
^C
--- 10.1.2.5 ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 1.095/1.407/2.242/0.483 ms
admin@MacBook-Air ~ % ping 10.1.2.3
PING 10.1.2.3 (10.1.2.3): 56 data bytes
64 bytes from 10.1.2.3: icmp_seq=0 ttl=64 time=0.368 ms
64 bytes from 10.1.2.3: icmp_seq=1 ttl=64 time=0.434 ms
64 bytes from 10.1.2.3: icmp_seq=2 ttl=64 time=0.469 ms
64 bytes from 10.1.2.3: icmp_seq=3 ttl=64 time=0.492 ms
64 bytes from 10.1.2.3: icmp_seq=4 ttl=64 time=0.454 ms
64 bytes from 10.1.2.3: icmp_seq=5 ttl=64 time=0.418 ms
^C
--- 10.1.2.3 ping statistics ---
6 packets transmitted, 6 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.368/0.439/0.492/0.040 ms
admin@MacBook-Air ~ % ping 192.168.2.1
PING 192.168.2.1 (192.168.2.1): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
^C
--- 192.168.2.1 ping statistics ---
4 packets transmitted, 0 packets received, 100.0% packet loss
admin@MacBook-Air ~ % 

vlan 30

admin@MacBook-Air ~ % ip addr sh
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet 127.0.0.1/8 lo0
	inet6 ::1/128
	inet6 fe80::1/64 scopeid 0x1
	inet 127.94.0.1/8 lo0
	inet 127.94.0.2/8 lo0
en3: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	ether 38:
	inet6 fe80::/64 secured scopeid 0x4
	inet 192.168.2.50/24 brd 192.168.2.255 en3

admin@MacBook-Air ~ % ping 192.168.2.1
PING 192.168.2.1 (192.168.2.1): 56 data bytes
64 bytes from 192.168.2.1: icmp_seq=0 ttl=64 time=0.954 ms
64 bytes from 192.168.2.1: icmp_seq=1 ttl=64 time=1.214 ms
64 bytes from 192.168.2.1: icmp_seq=2 ttl=64 time=1.166 ms
64 bytes from 192.168.2.1: icmp_seq=3 ttl=64 time=1.257 ms
^C
--- 192.168.2.1 ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.954/1.148/1.257/0.116 ms
admin@MacBook-Air ~ % ping 10.1.2.5
PING 10.1.2.5 (10.1.2.5): 56 data bytes
64 bytes from 10.1.2.5: icmp_seq=0 ttl=64 time=0.975 ms
64 bytes from 10.1.2.5: icmp_seq=1 ttl=64 time=1.219 ms
64 bytes from 10.1.2.5: icmp_seq=2 ttl=64 time=1.088 ms
64 bytes from 10.1.2.5: icmp_seq=3 ttl=64 time=1.222 ms
64 bytes from 10.1.2.5: icmp_seq=4 ttl=64 time=1.195 ms
64 bytes from 10.1.2.5: icmp_seq=5 ttl=64 time=1.146 ms
^C
--- 10.1.2.5 ping statistics ---
6 packets transmitted, 6 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.975/1.141/1.222/0.088 ms
admin@MacBook-Air ~ % ping 10.1.2.3
PING 10.1.2.3 (10.1.2.3): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
Request timeout for icmp_seq 4
^C
--- 10.1.2.3 ping statistics ---
6 packets transmitted, 0 packets received, 100.0% packet loss
admin@MacBook-Air ~ % ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
^C
--- 1.1.1.1 ping statistics ---
4 packets transmitted, 0 packets received, 100.0% packet loss
admin@MacBook-Air ~ % 

and inside sg550x

switche5cb3f#ping 10.1.2.3
Pinging 10.1.2.3 with 18 bytes of data:

18 bytes from 10.1.2.3: icmp_seq=1. time=0 ms
18 bytes from 10.1.2.3: icmp_seq=2. time=0 ms
18 bytes from 10.1.2.3: icmp_seq=3. time=10 ms
18 bytes from 10.1.2.3: icmp_seq=4. time=0 ms

----10.1.2.3 PING Statistics----
4 packets transmitted, 4 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/2/10


switche5cb3f#ping 10.1.2.5
Pinging 10.1.2.5 with 18 bytes of data:

18 bytes from 10.1.2.5: icmp_seq=1. time=0 ms
18 bytes from 10.1.2.5: icmp_seq=2. time=0 ms
18 bytes from 10.1.2.5: icmp_seq=3. time=0 ms
18 bytes from 10.1.2.5: icmp_seq=4. time=0 ms

----10.1.2.5 PING Statistics----
4 packets transmitted, 4 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0


switche5cb3f#ping 1.1.1.1 
Pinging 1.1.1.1 with 18 bytes of data:

PING: no reply from 1.1.1.1
PING: timeout
PING: no reply from 1.1.1.1
PING: timeout
PING: no reply from 1.1.1.1
PING: timeout
PING: no reply from 1.1.1.1
PING: timeout

----1.1.1.1 PING Statistics----
4 packets transmitted, 0 packets received, 100% packet loss

switche5cb3f#ping 192.168.2.1
Pinging 192.168.2.1 with 18 bytes of data:

18 bytes from 192.168.2.1: icmp_seq=1. time=0 ms
18 bytes from 192.168.2.1: icmp_seq=2. time=0 ms
18 bytes from 192.168.2.1: icmp_seq=3. time=0 ms
18 bytes from 192.168.2.1: icmp_seq=4. time=0 ms

----192.168.2.1 PING Statistics----
4 packets transmitted, 4 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0


switche5cb3f#ping 192.168.2.110
Pinging 192.168.2.110 with 18 bytes of data:

18 bytes from 192.168.2.110: icmp_seq=1. time=0 ms
18 bytes from 192.168.2.110: icmp_seq=2. time=0 ms
18 bytes from 192.168.2.110: icmp_seq=3. time=10 ms
18 bytes from 192.168.2.110: icmp_seq=4. time=0 ms

----192.168.2.110 PING Statistics----
4 packets transmitted, 4 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/2/10


switche5cb3f#ping 10.1.2.12    
Pinging 10.1.2.12 with 18 bytes of data:

18 bytes from 10.1.2.12: icmp_seq=1. time=0 ms
18 bytes from 10.1.2.12: icmp_seq=2. time=0 ms
18 bytes from 10.1.2.12: icmp_seq=3. time=10 ms
18 bytes from 10.1.2.12: icmp_seq=4. time=0 ms

----10.1.2.12 PING Statistics----
4 packets transmitted, 4 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/2/10

 

this fix doesn't work on me, thanks

 

Hello,

 

did you enable ip routing from the command line ?

 

switche5cb3f(config)#ip routing 

 

?

this is exactly my problem. this particular command was not saved to running config

and the worst is it did not prompt any error in return. Thanks.

Ryan25304
Level 1
Level 1

and out-going uplink not works on vlan 30.

 

one more thing when I directly plug into port of vlan 1.

the router is 10.1.2.3 instead of sg550x 10.1.2.5

Screenshot 2020-10-20 at 00.10.07.png

ryan@MacBook-Air ~ % ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1): 56 data bytes
64 bytes from 1.1.1.1: icmp_seq=0 ttl=59 time=3.360 ms
64 bytes from 1.1.1.1: icmp_seq=1 ttl=59 time=4.182 ms
64 bytes from 1.1.1.1: icmp_seq=2 ttl=59 time=4.000 ms
64 bytes from 1.1.1.1: icmp_seq=3 ttl=59 time=3.519 ms
^C
--- 1.1.1.1 ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 3.360/3.765/4.182/0.337 ms
ryan@MacBook-Air ~ % ip addr sh
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet 127.0.0.1/8 lo0
	inet6 ::1/128
	inet6 fe80::1/64 scopeid 0x1
	inet 127.94.0.1/8 lo0
	inet 127.94.0.2/8 lo0
en3: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	ether 38:
	inet6 fe80::/64 secured scopeid 0x4
	inet 10.1.2.12/24 brd 10.1.2.255 en3

ryan@MacBook-Air ~ % 
ryan@MacBook-Air ~ % 
ryan@MacBook-Air ~ % 
ryan@MacBook-Air ~ % 
ryan@MacBook-Air ~ % 
ryan@MacBook-Air ~ % ip addr sh
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet 127.0.0.1/8 lo0
	inet6 ::1/128
	inet6 fe80::1/64 scopeid 0x1
	inet 127.94.0.1/8 lo0
	inet 127.94.0.2/8 lo0
en3: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	ether 38
	inet6 fe80::/64 secured scopeid 0x4
	inet 192.168.2.50/24 brd 192.168.2.255 en3

ryan@MacBook-Air ~ % 
ryan@MacBook-Air ~ % 
ryan@MacBook-Air ~ % 
ryan@MacBook-Air ~ % ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
^C
--- 1.1.1.1 ping statistics ---
5 packets transmitted, 0 packets received, 100.0% packet loss
ryan@MacBook-Air ~ %