Need to route based on source..or do I?
JohnnyBiggles
Member Posts: 273
in CCNA & CCENT
I have 3 Vlans that can communicate with each other on Sw1 (L3 Sw) and all external traffic currently gets sent to 'Router1', then it can go out to the internet. The L3 switch is currently set as the gateway for the 3 Vlans. However, there will be a new router, 'Router2', connected to the L3 switch, from which externally addressed traffic from the 3rd Vlan must exit to the internet. Right now, the L3 switch has a static route of '0.0.0.0. 0.0.0.0 x.x.x.x', which means that any traffic not destined for internal sources from any of the Vlans gets forwarded to router1, then to the internet.
Since default routes are primarily based on destination, what would be the best way to configure the L3 switch to allow internal communication between the 3 Vlans but to redirect any external traffic from Vlan 3 out the new router? Is there another way of entering routes for this? Using access lists? Some other way?
Since default routes are primarily based on destination, what would be the best way to configure the L3 switch to allow internal communication between the 3 Vlans but to redirect any external traffic from Vlan 3 out the new router? Is there another way of entering routes for this? Using access lists? Some other way?
Comments
-
Zartanasaurus Member Posts: 2,008 ■■■■■■■■■□Currently reading:
IPSec VPN Design 44%
Mastering VMWare vSphere 5 42.8% -
networker050184 Mod Posts: 11,962 ModYou could go with PBR (not the beer) or just trunk this VLAN over to the new router and put the gateway there.An expert is a man who has made all the mistakes which can be made.
-
JohnnyBiggles Member Posts: 273networker050184 wrote: »You could go with PBR (not the beer) or just trunk this VLAN over to the new router and put the gateway there.