cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

470
Views
0
Helpful
3
Replies
Highlighted
Beginner

Separate L3 switch in two ???

Hi All

I have a Cisco Layer 3 switch.

Actually all packets comming from subnet 1, 2 and 3 are going directly to subnet 10, 11, 12 without going into my firewall because all destination subnet are directly connected

I would want packets comming from subnet 1, 2 or 3 go through Firewall into the outside interface then get out of it from the inside interface untill they reach their destination subnet 10, 11 or 12.

How can this be done ?

See attached file for detail.

Thank you very much.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Participant

Separate L3 switch in two ???

This can be done by doing policy based routing.

sample config for One vlan:

access-list 100 permit ip x.x.1.0 0.0.0.255 x.x.10.0 0.0.0.255

access-list 100 permit ip x.x.1.0 0.0.0.255 x.x.11.0 0.0.0.255

access-list 100 permit ip x.x.1.0 0.0.0.255 x.x.12.0 0.0.0.255

route-map TO_FIREWALL_OUT

match ip address 100

set ip next hop

int vlan 1

ip policy route-map TO_FIREWALL_OUT

You would need to do changes in Firewall as well so that this traffic is permitted on outside interface.

HTH,

If helpful, Rate

View solution in original post

3 REPLIES 3
Highlighted
Participant

Separate L3 switch in two ???

This can be done by doing policy based routing.

sample config for One vlan:

access-list 100 permit ip x.x.1.0 0.0.0.255 x.x.10.0 0.0.0.255

access-list 100 permit ip x.x.1.0 0.0.0.255 x.x.11.0 0.0.0.255

access-list 100 permit ip x.x.1.0 0.0.0.255 x.x.12.0 0.0.0.255

route-map TO_FIREWALL_OUT

match ip address 100

set ip next hop

int vlan 1

ip policy route-map TO_FIREWALL_OUT

You would need to do changes in Firewall as well so that this traffic is permitted on outside interface.

HTH,

If helpful, Rate

View solution in original post

Highlighted
Beginner

Separate L3 switch in two ???

Can I rate this extremely usefull

Thank you very much.

It's working very well

Highlighted
VIP Expert

Separate L3 switch in two ???

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

Another option would be, if supported by your L3 switch, to use VRFs to have two different routing instances.  Then your two sets of subnets would not be directly visible to each other.

CreatePlease to create content
Content for Community-Ad