cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
635
Views
5
Helpful
3
Replies

VLAN on 2 SG300-28

Zanin_Mikhail
Level 1
Level 1

I need 2VLAN on 2 SG300-28.

1st SG300 - name sw1, 1VLAN - 192.168.0.10

2st SG300 - name sw2, 1VLAN - 192.168.0.11

LAN is 192.168.0.1/24 GW 192.168.0.1

 

On SW1 i create 2VLAN (10 and 100), port 3,4 in accses mode for 10 and 100 VLAN.

after that, i create 2 interfase for 10, 100VLAN (10.200.8.254 and 10.200.7.254).

after that, i add 10 and 100 VLAN into 25 port (trunk to SW2).

On PC's i set up ip 10.200.8.1 GW 10.200.8.254 and 10.200.7.1 GW 10.200.7.254 

 

On SW2 i create 2VLAN (10 and 100), port 3,4 in accses mode for 10 and 100 VLAN.

add in 25 port 10 and 100 VLAN.

On PC's i set up ip 10.200.8.2 GW 10.200.8.254 and 10.200.7.2 GW 10.200.7.254 

 

My test.

Ping from 10.200.8.1  to  10.200.8.254 PASS

Ping from 10.200.8.1  to  10.200.7.254 PASS

Ping from 10.200.8.1  to  10.200.7.1 PASS

Ping from 10.200.8.1  to  192.168.0.10 PASS

Ping from 10.200.8.1  to  192.168.0.11 LOSSE

Ping from 10.200.8.1  to  192.168.0.1 LOSSE

Ping from 10.200.8.1  to  10.200.8.2 LOSSE

Ping from 10.200.8.2  to  10.200.8.1 LOSSE

Ping from 10.200.8.2  to  10.200.8.254 LOSSE

 

Where are my mistakes?

Sorry for my english.

3 Replies 3

Michael Vandergrift
Cisco Employee
Cisco Employee

Hello Zanin,

 

From the fact that you can't seem to get a ping reply from anything across the trunk link I would start my troubleshooting there.  Make sure that you have both ports configured the same.  If you are using port 25 on both switches then make sure it is 1U10T100T on both ends.  What type of device is 192.168.0.1?  If it supports 802.1Q tagging then you will need to set the same trunk config on the link to that device.  If not, then you will need a route back to that 10.200.x.x networks via the 192.168.0.x interface to which the GW is connected.  Hope this gets you sorted out.

 

Regards,

 

Mike

both ports have 1UP, 10T, 100T. Is it correct?

I add route back to GW for 10.200.8.0/24 to SW1

ping from sw1 to GW is PASS. But ping accros switch (in same VLAN) LOSSE

 

In LAN enable DHCP, and both SG300 have VLAN1 interfase. 

 

Hi Zanin,

It looks like there is somewhere VLAN mismatch please check mac address table on both switches and verify that mac addresses of the destination devices such as PC, GW are seen in correct VLANs.

Regards,

Aleksandra