Link to home
Start Free TrialLog in
Avatar of NathanTheall
NathanTheall

asked on

Cisco SG300-28p inter vlan routing

I have a cisco SG300 and having trouble getting inter vlan routing to work.

I set up vlan 10 and vlan 20. I set the interface ip to 192.168.10.1 and 192.168.20.1.
The VLAN 1 ip is 192.168.3.23.

From the router console I can ping 10.1 and 20.1.

The trouble I am having is understanding how to configure the static route. I am not sure what to use for Destination IP prefix, subnet mask and next hop router.

When I set the vlan device to 192.168.10.99 and the other to 192.168.20.99 and plugged into the correct ports for the vlan i get unknown network and can not ping the 192.168.10.1 and 192.168.20.1 which I believe I should be using as the gate way.

Any help or line by line procedures is greatly appreciated.

Nathan
Avatar of rauenpc
rauenpc
Flag of United States of America image

Is the device is L3 or routing mode?

http://www.cisco.com/en/US/docs/switches/lan/csbms/sf30x_sg30x/administration_guide/78-19308-01.pdf
page 64-65

If the switch is not in L3 mode, you will not be able to route between vlans, only communicate within each vlan individually.
Avatar of NathanTheall
NathanTheall

ASKER

Mode 3 Layer 3
ASKER CERTIFIED SOLUTION
Avatar of packetguy
packetguy
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That is the understanding I needed for the gateway. I supect I am making one more mistake as I took the ports out of trunk mode. I will have to make that change today.
The ports dont use trunk mode, they are in port Vlan mode, with each Vlan assigned to its respective poet.
OK I VLAN 20 can ping devices in VLAN 10 as well as VLAN 20 pinging devices on VLAN 10 :)

So my set up is
VLAN 1    192.168.1.254
VLAN 10 192.168.10.1
VLAN 20  192.168.20.10

10 and 20 can talk but I am not able to ping\connect from either vlan to VLAN 1 1.254
to bring up the cisco management console.

Any idea what I may be missing?

Using the correct gateway and not making any changes to the port configurations just assining to vlan has corrected most of the issues.
No devices plugged into a port on VLAN 1 so it is not active???
You have to have a device plugged in on vlan1 or the vlan interface will be down. Also, the management console needs its defsult route to point to the switch's VLAN 1 ip address. The switch's default route, in turn, should point to your Internet gateway (assuming you want everything to go to the Internet).
Thank you very much I appreciate the help. I seem to be up and running :)
Very much appreciated