cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1554
Views
5
Helpful
2
Replies

SG300 ip routing ??

Harry Chun
Level 1
Level 1

hello I'm Harry
I'm korean so I'm not good at speaking in English.

Anyway I have some questions about sg300

I want to ping from valn1 to other vlan's without a router.
As far as I'm concernd, normally switch can use a "ip routeing"commend but I can't use that command on the sg300.
So I can't communicate from vlan to other vlan's.
There are my cofigurations on the sg300 as followings.

 

ip dhcp pool vlan1
network 192.168.1.0 255.255.255.0
default-router 192.168.1.254
ip dhcp pool vlan10
network 192.168.10.0 255.255.255.0
default-router 192.168.10.254
ip dhcp pool vlan20
network 192.168.20.0 255.255.255.0
default-router 192.168.20.254

 

interface range gi1-3

switchport mode access

switchport access vlan 1

 

interface range gi4-6

 

switchport mode access

switchport access vlan 10

 

interface gi7-10

switchport mode access

switchport access vlan 20

 

 

interface Vlan1

ip address 192.168.1.254 255.255.255.0

 

interface Vlan10

ip address 192.168.10.254 255.255.255.0

 

interface Vlan20

ip address 192.168.20.254 255.255.255.0

 

How could I solve this problem?

2 Replies 2

Seb Rupik
VIP Alumni
VIP Alumni

Hi there,

The command you are probably looking for is:

set system mode router

 

cheers,

Seb.

 

o enable routing you need to change the box mode to router (the default is switch mode, ie. L2). The CLI command to achieve this is as follows:

set system mode router

Please be aware of this:

After executing the command, the Startup Configuration file is deleted and the device is rebooted. It is highly recommended to back up the Startup configuration file before executing this command.