cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6735
Views
0
Helpful
2
Replies

Switch trunk port to sonicwall

mark l
Level 1
Level 1

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?

 

2 Accepted Solutions

Accepted Solutions

Mark Malone
VIP Alumni
VIP Alumni

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
 

View solution in original post

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

View solution in original post

2 Replies 2

Mark Malone
VIP Alumni
VIP Alumni

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
 

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

Review Cisco Networking for a $25 gift card