02-16-2017 05:01 AM - edited 03-08-2019 09:22 AM
The switch is configured with access vlan 10 and voice vlan 20. To connect this switch to the firewall (sonicwall), I guess I need to configure fa0/1 as a trunk port, and connect this fa0/1 to the sonicwall's lan port. How should I configure the sonicwall to accept this trunk link?
Sonicwall supports subinterface, but the physical interface itself does not have vlan ID option, I believe it defaults to vlan1?
My thought is:
Sonicwall's Physical Lan interface, leave it not configured? what should I do here?
subinterface 1 : Vlan10
subinterface 2: Vlan 20
so this matches the vlan IDs on the cisco switch? will this configuration work?
Solved! Go to Solution.
02-16-2017 05:53 AM
You should be able to sub-interface it and then add the vlans like a router on stick have you tried that ?
example
R1(config)# interface gigabitethernet0/1
R1(config-if)# no ip address
R1(config-if)# duplex auto
R1(config-if)# speed auto
R1(config-if)# interface gigabitethernet0/1.1
R1(config-subif)# description standard VLAN
R1(config-subif)# encapsulation dot1q 1 native
R1(config-subif)# ip address 192.168.0.1 255.255.255.0
R1(config-subif)# interface gigabitethernet0/1.20
R1(config-subif)# description Voice VLAN
R1(config-subif)# encapsulation dot1q 20
R1(config-subif)# ip address 192.168.2.1 255.255.255.0
R1(config-subif)# interface gigabitethernet0/1.10
R1(config-subif)# description Data VLAN
R1(config-subif)# encapsulation dot1q 10
R1(config-subif)# ip address 192.168.10.1 255.255.255.0
02-16-2017 11:20 AM
On switch side just configure the trunk port
macro apply cisco-router $native_vlan 10
on the sonicwall you need crate sub interface on X0 (default lan port)
X0:v10
X0:v20
then you connect x0 to the switch and thats it!
BR
02-16-2017 05:53 AM
You should be able to sub-interface it and then add the vlans like a router on stick have you tried that ?
example
R1(config)# interface gigabitethernet0/1
R1(config-if)# no ip address
R1(config-if)# duplex auto
R1(config-if)# speed auto
R1(config-if)# interface gigabitethernet0/1.1
R1(config-subif)# description standard VLAN
R1(config-subif)# encapsulation dot1q 1 native
R1(config-subif)# ip address 192.168.0.1 255.255.255.0
R1(config-subif)# interface gigabitethernet0/1.20
R1(config-subif)# description Voice VLAN
R1(config-subif)# encapsulation dot1q 20
R1(config-subif)# ip address 192.168.2.1 255.255.255.0
R1(config-subif)# interface gigabitethernet0/1.10
R1(config-subif)# description Data VLAN
R1(config-subif)# encapsulation dot1q 10
R1(config-subif)# ip address 192.168.10.1 255.255.255.0
02-16-2017 11:20 AM
On switch side just configure the trunk port
macro apply cisco-router $native_vlan 10
on the sonicwall you need crate sub interface on X0 (default lan port)
X0:v10
X0:v20
then you connect x0 to the switch and thats it!
BR
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide