03-09-2006 02:53 PM - edited 03-03-2019 12:00 PM
I want to know if it's possible to route different internal subnets out different interfaces to the Internet. BGP is not an option.
Here is my topology:
ISP 1 ISP 2
Router
Subnet 1 Subnet 2
The basic question is: can I route all internet traffic from subnet 1 to ISP 1 and subnet 2 to ISP 2?
03-09-2006 03:03 PM
HI,
Are your subnet1 and subnet2 public IPs or do you need to use NAT ?
Paresh
03-10-2006 06:25 AM
The subnet 1 and 2 are going to use NAT.
03-09-2006 05:07 PM
I think the subject of this conversating resolves the problem.
You can configure your route to do policy routing, or route based on source, or better yet use an extended ACL to define traffic going to www and point it to next-hop that you see fit.
check the following example:
in your case you should use an extedend acl like
access-list 100 permit 10.0.0.0 0.0.0.255 any eq www
something along those lines.
Hope this help!
Vlad
03-10-2006 07:39 AM
Here's a sample config that will do what you want:
interface Serial0
ip address
ip nat outside
!
interface Serial1
ip address
ip nat outside
!
interface GigabitEthernet0/0
ip address 10.1.1.1 255.255.255.0
ip policy route-map PBR
ip nat inside
!
ip route 0.0.0.0 0.0.0.0 Serial0
ip route 0.0.0.0 0.0.0.0 Serial1
!
ip nat inside source route-map ISP1-map interface serial0
ip nat inside source route-map ISP2-map interface Serial1
!
route-map ISP11-map permit 10
match ip address 1
!
route-map ISP12-map permit 10
match ip address 2
!
route-map PBR permit 10
match ip address 1
set interface serial0
!
route-map PBR permit 20
match ip address 2
set interface serial1
!
access-list 1 permit
access-list 2 permit
Hope that helps - pls rate the post if it does.
Paresh
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