cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
905
Views
0
Helpful
3
Replies

How do I configure routes for two WAN connections?

dominet123
Level 1
Level 1

This was dumped on me and I am trying to figure it out.

My company has a 3640 with on external ether port that has 32 IPs from our providers. There is a single internal ether port for our internal network.

We are adding another T1 from a different provider. This new line will have 32 IPs also.

Both external ports will use NAT, some with overload, some static.

For reasons we want some specific internal IP's to use a specific external port for access to outside.

I know some about how to configure the router, but this is eluding me.

How do I route a specific internal IP to use a specific external port ?

Example

interface FastEthernet0/1

description inside INSIDE_LAN

ip address 192.168.0.1 255.255.255.0

interface FastEthernet1/0

description OUTSIDE_LAN_1.1.1

ip address 1.1.1.94 55.255.255.224

ip nat outside

! the gateway for this network is 1.1.1.65

!

interface FastEthernet1/1

description OUTSIDE_LAN_2.2.2

ip address 2.2.2.94 255.255.255.224

ip nat outside

! the gateway for this network is 2.2.2.65

ip nat inside source static 192.168.0.10 2.2.2.89

ip nat inside source static 192.168.0.24 1.1.1.68

ip route 0.0.0.0 0.0.0.0 2.2.2.65

ip route 0.0.0.0 0.0.0.0 1.1.1.65

How do I get 192.168.0.10 to only use FastEthernet1/1 (2.2.2.94) and

How do I get 192.168.0.24 to only use FastEthernet1/0 (1.1.1.94)

Thank you

1 Accepted Solution

Accepted Solutions

Jon Marshall
Hall of Fame
Hall of Fame

Kevin

When you say  -

the gateway for this network is 1.1.1.65 

do you mean the next-hop ?  If so then PBR will do what you want ie.

access-list 101 permit ip host 192.168.0.10 any

access-list 102 permit ip host 192.168.0.24 any

route-map PBR permit 10

match ip address 101

set ip next-hop 2.2.2.65

route-map PBR permit 20

match ip address 102

set ip next-hop 1.1.1.65

int fa0/1

ip policy route-map PBR

Jon

View solution in original post

3 Replies 3

Jon Marshall
Hall of Fame
Hall of Fame

Kevin

When you say  -

the gateway for this network is 1.1.1.65 

do you mean the next-hop ?  If so then PBR will do what you want ie.

access-list 101 permit ip host 192.168.0.10 any

access-list 102 permit ip host 192.168.0.24 any

route-map PBR permit 10

match ip address 101

set ip next-hop 2.2.2.65

route-map PBR permit 20

match ip address 102

set ip next-hop 1.1.1.65

int fa0/1

ip policy route-map PBR

Jon

Ahh

That looks like what I need.

I will give it a try.

Thank you

Collin Clark
VIP Alumni
VIP Alumni

Policy Based Routing. Search CCO for info and conf examples.