I'm trying to setup a network lab to learn more about networking.
- 2 procurve switches.
- 1 Sonicwall firewall TZ300
The final outline:
- traffic from Vlan 10 on switch 1(port1) goes to Sonicwall (X0) to the Internet
- traffic from Vlan 20 on switch 2 (port 1) goes to switch 1(port 5) then goes to Sonicwall (X0) to the Internet
Current config of switch 1:
hostname "ProCurve Switch 2510G-48" snmp-server community "public" Unrestricted vlan 1 name "DEFAULT_VLAN" untagged 1-9,16-19,26-48 ip address dhcp-bootp no untagged 10-15,20-25 exit vlan 10 name "customer" untagged 10-15 ip address 10.240.10.1 255.255.255.0 tagged 1 exit
Current config of Sonicwall is:
At the moment my conputer on Vlan doesn't have Internet connection. However, it can get an IP from the DHCP function of the Sonicwall. I'm stuck on this for the pass week. I have no idea how to go about the second part of the final outline. If you have any idea, please point me to the resources. Thank you guys.
----Edit with solution: Thank you everyone for your help.
Part 1 of outline: I removed the routing policies in the firewall. keep Vlan 10 interface IP on sonicwall 10.240.10.1 Set Vlan 10 IP on switch 1 to 10.240.10.2
Part 2 of outline: Create Vlan 20 on Lan interface on Sonicwall Create vlan 20 on switch 2 with IP address: 10.240.10.3 Connect Switch 1 (port 3) to Switch 2 (port 1) On switch 1 console:
Switch01(config)# trunk 3 Trk1 LACP Switch01(config)# vlan 10 Switch01(vlan-10)# tagged Trk1 Switch01(config)# write mem
On Switch 2 console:
Switch01(config)# trunk 1 Trk1 LACP Switch01(config)# vlan 10 Switch01(vlan-10)# tagged Trk1 Switch01(config)# write mem
trunkis for bonding multiple physical interfaces together. It has nothing to do with vlan tagging. Unless you are running parallel links between switches, and between the switch and firewall, there's no need to setup trunks.