cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1203
Views
5
Helpful
8
Replies

Inter vlan & trunk port on SG350 L3 not working working

Savinien
Level 1
Level 1

I have followed instructions on how to set up Vlan and also to create a trunk port to pass all VLAN traffic, including setting the interface IP. Unfortunately, the VLAN is not communicating with each other and I cannot ping either VLAN from the trunk port:

 

This is the current setting I have

 

1. create two VLANs: 1 and 80

cisco2.jpg

 

2. VLAN 1 and 80 were both assign a VLAN:

 

cisco2.jpg

 

3. I use GE26 to create a trunk port and added both VLAN 1 and 80cisco3.jpg

 

4. VLAN 1 is untagged on port GE26 and tagged for VLAN 80

cisco4.jpg

 

cisco5.jpg

 

I connected a Computer to GE26 with static VLAN reflecting both VLAN 1 and 80 including gateways that is the VLAN interfaces. I was not able to ping either gateway, can anyone help guide me, please??

 

the main objective is to have GE26 use a trunk port to pass all VLAN because I will be using an external Windows DHCP server and from the switch the DHCP relay to point to the DHCP server.

8 Replies 8

Hi

 Enable ip routing 

 

https://youtu.be/xK5HmMlaIlg 

Hi Flavio,

 

Thank you for the video, Inter Vlan is now working but only when devices are connected to the port otherwise if I only connect one device, I can ping only one VLAN but not the other VLAN, my next problem now is how do I configure a trunk port to pass all VLAN traffic? thanks

 

Regards

 

I also forgot to add my current configuration which I am keeping it basic between two VLAN's and once I have establish how to configure it I could add the rest, I tried to configure ge26 as a trunk port and also general I can ping the default vlan interface but not the other one which is vlan 80, should nt trunk port allowed all access to all vlan interfaces? I also tried in general same issue?

 

switch7ae3ff
v2.5.8.15 / RCBS3.1_930_871_084
CLI v1.0
file SSD indicator encrypted
@
ssd-control-start
ssd config
ssd file passphrase control unrestricted
no ssd file integrity control
ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0
!
!
unit-type-control-start
unit-type unit 1 network gi uplink none
unit-type-control-end
!
bridge multicast filtering
vlan database
vlan 80
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
no eee enable
ip dhcp server
ip dhcp pool network "vlan 1"
address low 10.10.10.115 high 10.10.10.126 255.255.255.128
exit
ip dhcp pool network "vlan 80"
address low 10.10.20.15 high 10.10.20.126 255.255.255.128
exit
bonjour interface range vlan 1,80
hostname switch7ae3ff
username admin password encrypted $15$3xp2SXMb0Y66wKf4$AOWKomK/fPPwxIqeXu1y3qOdor2rTPOTFyvxSFD4IK76URWf4VoSj6Jg7DXx/Q6Ytwr5KtSd+oihyWv87erwmQ== privilege 15
ip ssh server
!
interface vlan 1
ip address 10.10.10.11 255.255.255.128
no ip address dhcp
ip igmp query-interval 30
!
interface vlan 80
name "VLAN 80"
ip address 10.10.20.11 255.255.255.128
ip igmp query-interval 30
!
interface GigabitEthernet2
switchport access vlan 80
switchport general pvid 80
switchport trunk native vlan 80
!
interface GigabitEthernet26
switchport mode general
switchport general allowed vlan add 1,80 untagged
switchport general ingress-filtering disable
switchport trunk allowed vlan 1,80
!
exit
ip igmp snooping
ip igmp snooping vlan 1 querier version 3
ip igmp snooping vlan 1 querier
ip igmp snooping vlan 80 querier version 3
ip igmp snooping vlan 80 querier

This switch does not even required to configured intervlan routing as I mentioned.  If you watch the video, you can see that it is only necessary to add port to the vlan and assign an ip address to vlan and PCs are able to ping each other.

 

Looking your config:

 

interface vlan 1
ip address 10.10.10.11 255.255.255.128
no ip address dhcp
ip igmp query-interval 30
!
interface vlan 80
name "VLAN 80"
ip address 10.10.20.11 255.255.255.128
ip igmp query-interval 30

 

Now you just need to put one PC on vlan 1 and one PC on vlan 80 and ping each other. No trunk is required as you are not linking to devices. 

 

That is working now with inter VLAN, my next objective is to do a trunk port where I can carry all VLANs, I will have a router to my wan and a windows DHCP server where the switch I will configure IP relay/helper

Trunk only make sense if you have two devices. 

 What I did not see is " ip routing"

 

Ip routing is already enabled on the main interface, just as a reassurance I also enable it via CLI using "IP routing" command, can you advise how I can set the trunk port to pass all VLAN traffic and also test it to ensure all VLAN traffic is passing through?

ip routing.jpg

To setup trunk, just follow this steps:

 

sg350.JPG