07-12-2010 03:26 AM - edited 03-06-2019 11:59 AM
Hi All,
Is it possible that the firewall will be your gateway but you have inter vlan routing as well?
How will i configure the L3 switch to do that situation?
07-13-2010 07:15 AM
Hello,
In order to allow certain hosts from VLAN3/4 to access internet via the firewall, please try the following configuration:
On the firewall:
route inside 192.168.3.0 255.255.255.0 192.168.2.1
route inside 192.168.4.0 255.255.255.0 192.168.2.1
global (outside) 1 interface
nat (inside) 1 192.168.3.0 255.255.255.0
nat (inside) 1 192.168.4.0 255.255.255.0
On the Switch:
ip routing
ip route 0.0.0.0 0.0.0.0 192.168.2.2 (Firewalls IP)
access-list 103 permit ip host
access-list 103 permit ip host
access-list 103 permit ip any 192.168.0.0 0.0.255.255
access-list 103 deny ip any any
access-list 104 permit ip host
access-list 104 permit ip host
access-list 104 permit ip any 192.168.0.0 0.0.255.255
access-list 104 deny ip any any
interface VLAN 3
ip access-group 103 in
exit
interface VLAN 4
ip access-group 104 in
exit
In the above example, the firewall is allowing only certain hosts (IP1, IP2) to access internet and everybody else is blocked from internet access. You can add additional lines as necessary.
Hope this helps.
Regards,
NT
07-13-2010 07:00 PM
Hi All,
I'll try all your recommendations.
Just another question, do you know any software that i may use to
try the configuration and connection of my figure.
Since packet tracer has no ASA devices only switches, routers, hubs, etc.
There is no ASA or other firewall devices.
thank you so much to all.
07-13-2010 10:11 PM
Hello,
You can try GNS3 as long as you have access to appropriate images.
Regards,
NT
07-14-2010 05:53 PM
thank you
07-14-2010 06:02 PM
Hello,
Glad that we could help. If your issues are addressed, can you please mark the question as answered in the forum so that other users can use it.
Thanks,
NT
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