cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
866
Views
0
Helpful
11
Replies

Vlan on sg300

shijujacob93
Level 1
Level 1

Hi Everyone,

 

I need some support for connecting two different networks together.

Below is the diagram of network, I want to connect to both network 192.168.128.xxx and 10.1.40.xxx from a PC connected to SW3. 

Currently I have a Layer 3 switch (SG 300 28PP) . 

Is that enough for the purpose? 

Slide1.JPG

 

Thanks and Regards,

 

Shiju Jacob

11 Replies 11

Hi,

Yes, the SG300 series have layer 3 capabilities by default. 

 




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

I created two vlans 10 and 20 with 192.168.128.1 and 10.1.40.1 respectively.
But when I connect both systems together, one network(Connection to VoIP Switch) is not communicating.

Even I created another Vlan 30 (192.168.10.10) and connected the cable from cctv switch on Vlan 30 port , at that time also the communication to VoIP switch is failing from sw3

Hi 

 

Can you please post your configurations?

 

Regards

Bharat

config-file-header
LDC-Secondary
v1.4.2.4 / R800_NIK_1_4_194_194
CLI v1.0
set system mode router

file SSD indicator excluded
@
vlan database
vlan 10,20
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______________
errdisable recovery cause loopack-detection
errdisable recovery cause acl-deny
bonjour interface range vlan 1
hostname LDC-Secondary
no passwords complexity enable
username cisco password encrypted 7110eda4d09e062aa5e4a390b0a572ac0d2c0220 privilege 15
clock timezone OMAN +4
clock dhcp timezone
!
interface vlan 10
name user
ip address 192.168.128.1 255.255.255.0
!
interface vlan 20
name cctv
ip address 10.1.40.1 255.255.255.0
!
interface gigabitethernet1
switchport mode access
switchport access vlan 10
power inline never
!
interface gigabitethernet2
switchport trunk native vlan 10
power inline never
!
interface gigabitethernet3
switchport mode access
switchport access vlan 10
power inline never
!
interface gigabitethernet4
switchport mode access
switchport access vlan 10
power inline never
!
interface gigabitethernet5
switchport mode access
switchport access vlan 10
power inline never
!
interface gigabitethernet6
switchport mode access
switchport access vlan 10
power inline never
!
interface gigabitethernet7
switchport mode access
switchport access vlan 10
power inline never
!
interface gigabitethernet8
switchport mode access
switchport access vlan 10
power inline never
!
interface gigabitethernet9
switchport mode access
switchport access vlan 10
power inline never
!
interface gigabitethernet10
switchport mode access
switchport access vlan 10
power inline never
!
interface gigabitethernet11
switchport mode access
switchport access vlan 10
power inline never
!
interface gigabitethernet12
switchport mode access
switchport access vlan 10
power inline never
!
interface gigabitethernet13
switchport mode access
switchport access vlan 10
power inline never
!
interface gigabitethernet14
switchport mode access
switchport access vlan 10
power inline never
!
interface gigabitethernet15
switchport mode access
switchport access vlan 10
power inline never
!
interface gigabitethernet16
switchport mode access
switchport access vlan 10
power inline never
!
interface gigabitethernet17
switchport mode access
switchport access vlan 10
power inline never
!
interface gigabitethernet18
switchport mode access
switchport access vlan 10
power inline never
!
interface gigabitethernet19
switchport mode access
switchport access vlan 10
power inline never
!
interface gigabitethernet20
switchport mode access
switchport access vlan 10
power inline never
!
interface gigabitethernet21
switchport mode access
switchport access vlan 10
power inline never
!
interface gigabitethernet22
switchport mode access
switchport access vlan 10
power inline never
!
interface gigabitethernet23
switchport mode access
switchport access vlan 20
power inline never
!
interface gigabitethernet24
switchport trunk native vlan 20
power inline never
!
exit

Hi,

Your chart displays the VoIP adress space as 192.168.128.0/19. Your interface vlan 10 address mask should therefore read 255.255.224.0.

Best regards,

Antonin

Hi,

Are the gateways of these subnets created on the SG300?




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

When I connect the access port of VoIP switch and SW3 accessport vlan 10 port, then while connecting CCTV switch accessport and Vlan 20 accessport of SW3, connection to VoIP switch is losing but cctv is working.

And If I connect the Uplink port of VoIP switch and SW3 accessport vlan 10 port, then while connecting CCTV switch accessport and Vlan 20 accessport of SW3, connection to cctv switch is losing but VoIP is working.

Deepak Kumar
VIP Alumni
VIP Alumni

Hi,

This is happening due to STP process becuase all switches are in default VLAN 1 and STP is going to block port. 

 

<<<<your both diagrams are different.... this one and which one you was shared on DM>>>

 

Regards,

Deepak Kumar

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

Hi,

I found that SG300 is having RSTP, STP, MSTP protocols and you are running with RSTP version of Spanning tree. So RSTP is not Per-VLAN Spanning tree protocol. So that's why your VLANs communication is going block as default behavior. 

 

As discuss, If you want to archive the desired VLAN routing then you have to move with MSTP.

https://sbkb.cisco.com/CiscoSB/GetArticle.aspx?docid=9cd91f68d1b644e78c94e3c8db785dd1_Configuring_Multiple_Spanning_Tree_Protocol_on_Cisco_300_Ser.xmlpid=2converted=0

 

 

Regards,

Deepak Kumar

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!
Review Cisco Networking for a $25 gift card