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

NAT with two Default route ?

s.nasheet
Level 1
Level 1

Hi ,

I have 2 internet connections and cisco 1841 is doing NATing , Now I need to add second connection (ADSL via Ehternet int),  How can i tell router to use  second connection

interface FastEthernet0/0
description *****LAN Connection to Switch*****
ip address 10.0.0.254 255.255.0.0
ip nat inside

interface Dialer0
ip address negotiated
ip nbar protocol-discovery
ip nat outside
ip virtual-reassembly
encapsulation ppp

ip nat inside source list 2 interface Dialer0 overload

!
ip route 0.0.0.0 0.0.0.0 Dialer0

If I just add second default route to new connection nothing flows via that interfce, I have tired putting two NAT  interface Dialer0 overload command but only once commands stays and overwirte the previous command.

New  route is something like 0.0.0.0 0.0.0.0 fastherethernet0/0 ( conncted to ADSL modem via ethernet)

If I do that  router is not sharing that connection  and every thing is going via Dialer 0 , Do I neet to modify NAT statments to make it work and how.

Thanks for the advise

1 Accepted Solution

Accepted Solutions

jgtheodor
Level 1
Level 1

Hi,

Well you can configure your router 1841 to do policy based routing. First of all, you must define what kind of traffic goes where. You can compine policy based routing with object tracking, so you can use both interfaces to route packets and the one backup for the other. I am sending a sample configuration with one primary FastEthernet Interface and the secondary ADSL interface.

Hope this help you!

View solution in original post

3 Replies 3

jgtheodor
Level 1
Level 1

Hi,

Well you can configure your router 1841 to do policy based routing. First of all, you must define what kind of traffic goes where. You can compine policy based routing with object tracking, so you can use both interfaces to route packets and the one backup for the other. I am sending a sample configuration with one primary FastEthernet Interface and the secondary ADSL interface.

Hope this help you!

Hi  Jon ,

Thanks for the help. Sample config is great.

Regards

In the configuration above I assume that all the traffic comes in the Inside Ethernet Interface has already public IP Address. If not you can add another Static NAT for all traffic and add the command "ip nat outside" in the Ethernet Public Interface.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: