cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

CISCO SWITCHES FOR SMALL and MEDIUM BUSINESS

Introducing the next generation of Cisco Small and Medium Business Switches. Cisco is refreshing its SMB Switch portfolio. Click here  to learn more.


4205
Views
5
Helpful
3
Replies

Inter VLAN routing on cisco SG300

Hi,

I have referred lots of details on internet for simple config of my SG300-28 switch i.e. "Inter VLAN routing on cisco SG300", hava found lots of solutions and many of them are so simple on paper but when I try them I failed. Please help me find where I am making a mist

Creat two VLAN 1)192.168.1.254 and 2) 192.168.2.254

REQUIREMENT

 

VLAN 1 (default VLAN)

IP

192.168.1.254 - default

Name

VLAN 1 (default VLAN)

Client

192.168.1.100

Client gateway

192.168.1.254

VLAN 2 (user created)

IP

192.168.2.254

Name

VLAN 2 (TEST)

Client

192.168.2.100

Client gateway

192.168.2.254

Needs intervlan routing so that I can get ping reply from 192.168.1.100 when try to ping from 192.168.2.100

similarly from 192.168.2.100 when I try to ping from 192.168.1.100

STEPS I AM FOLLOWING

Unbox the switch and login to it using browser 192.1681.254 (google chrome)

Change the password as asked when login frirst time

Change the switch mode from L2 to L3

On saving switch reboots and after reboot I can see the switch mode is L3 nos

I go to create VLAN

Now I can see VLAN 1 - default with IP address 192.168.1.254

I add new VLAN i.e VLAN 2, name - TEST

On checking the port types / assignement I can see all ports are untagged and trunk for VLAN -1

I go to VLAN 2 and I make port 2 untagged member of VLAN 2 and the same is traunk type by default 

Now I change Port 1 and 2 both as Access by editing them

Now finally switch port 1 is an untanned , access port of VLAN -1 where I am connecting my PC with IP 192.168.1.100

Switch port 2 is an untanned , access port of VLAN -2 where I am connecting my PC with IP 192.168.2.100

Now I go to IP interface and select VLAN 2 to give an IP address to it i.e 192.168.2.254 but when I selecet "apply" immediately switch hangs and I cant do any thing

I have to reboot the switch with power off / on

Same things repeats every time

Please help

1 ACCEPTED SOLUTION

Accepted Solutions
Beginner

Hello,Thank you for

Hello,

Thank you for contacting Cisco support.

Apologies for the inconveniences you are experiencing. Looking at your results, please assign the ip address of vlan 1 (192.168.1.254) statically to the switch before assigning the ip address (192.168.2.254) to the Vlan 2, this is because the switch takes the first statically assigned ip address and uses it on the default vlan (vlan 1). This why you lose access to the switch.

Please contact our SBSC phone line at 1866-606-1866 for immediate assistance.

Have a great day!

3 REPLIES 3
Beginner

Hello,Thank you for

Hello,

Thank you for contacting Cisco support.

Apologies for the inconveniences you are experiencing. Looking at your results, please assign the ip address of vlan 1 (192.168.1.254) statically to the switch before assigning the ip address (192.168.2.254) to the Vlan 2, this is because the switch takes the first statically assigned ip address and uses it on the default vlan (vlan 1). This why you lose access to the switch.

Please contact our SBSC phone line at 1866-606-1866 for immediate assistance.

Have a great day!

Hi,

Hi,

Thanks for your reply. It worked. I change the default IP and then created two VLANs and could see routing happening. Now I am planning to implement the solution in a real operational network and have following questions in my mind. Request you to please help.

1) All the three switches have same IP address, do I need to worry about it when I put all them to gather in my network. My network is flat and may or may not have the same IP scheme i.e. 192.168.1.0.

2)Now suppose I make three IP groups in my network as below. Out of these three my firewall / router belongs to group 1 (VLAN1). Kindly advise how to configure and oblige.

SWITCHES   

- SWITCH 1 - L3 Mode - core routing switch 

- Switch 2 - L2 mode - department switch

- Switch 3 - L2 mode - department switch

VLANS

VLAN 1:-

IP - 10.0.7.0 255.255.255.0,

firewall - router is in vlan -1

Firewall - router ip 10.0.7.1,

all the members of VLAN 1 are on switch -1 

VLAN 2:-

IP 10.7.2.0 255.255.255.0

All the members of VLAN 2 are on switch -2 (L2 mode)

Switch 2 uplinks with core switch i.e Switch 1 with OFC port 

LAN 3:-

IP 10.7.3.0 255.255.255.0

All the members of VLAN 3 are on switch -3 (L2 mode)

Switch 3 uplinks with core switch i.e Switch 1 with Ethernet RJ 45 port

 

Please reply and oblige.

Thanks and regards,

Jayesh Trivedi

For Lantech Solution

Ahmedabad

Hi,

Hi,

Thanks for your reply. It worked. I change the default IP and then created two VLANs and could see routing happening. Now I am planning to implement the solution in a real operational network and have following questions in my mind. Request you to please help.

1) All the three switches have same IP address, do I need to worry about it when I put all them to gather in my network. My network is flat and may or may not have the same IP scheme i.e. 192.168.1.0.

2)Now suppose I make three IP groups in my network as below. Out of these three my firewall / router belongs to group 1 (VLAN1). Kindly advise how to configure and oblige.

SWITCHES   

- SWITCH 1 - L3 Mode - core routing switch 

- Switch 2 - L2 mode - department switch

- Switch 3 - L2 mode - department switch

VLANS

VLAN 1:-

IP - 10.0.7.0 255.255.255.0,

firewall - router is in vlan -1

Firewall - router ip 10.0.7.1,

all the members of VLAN 1 are on switch -1 

VLAN 2:-

IP 10.7.2.0 255.255.255.0

All the members of VLAN 2 are on switch -2 (L2 mode)

Switch 2 uplinks with core switch i.e Switch 1 with OFC port 

LAN 3:-

IP 10.7.3.0 255.255.255.0

All the members of VLAN 3 are on switch -3 (L2 mode)

Switch 3 uplinks with core switch i.e Switch 1 with Ethernet RJ 45 port

 

Please reply and oblige.

Thanks and regards,

Jayesh Trivedi

For Lantech Solution

Ahmedabad