This for hypothetical purposes - more of a learning question than an production question.
If I have switch (Layer 3, lets say a Procurve) with a handful of VLAN's configured. Lets say:
DEFAULT VLAN 10.1.1.0/24 VLAN10 172.16.30.0/24 VLAN100 192.168.1.0/24
There are two firewalls - FW01 and FW02:
FW01 IP: 10.1.1.1 FW02 IP: 10.1.1.2
VLAN100 to use
FW01 for Internet (because this is a faster line lets say)
I want the
DEFAULT VLAN to use
FW02 because it has a greater upload (for arguments sake).
A few questions:
1). Firstly, what would the default gateway of the switch be? (
2). Where would I/how would I configure additional default gateways for the other VLAN's. Assuming DHCP gives out switches as default gateways as this will enable inter-VLAN routing.
3). How would the switch know what default gateway to use per VLAN packet?