cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1163
Views
0
Helpful
2
Replies

Router with two ISP connections, cannot only PING one WAN interface

thomasdzubin
Level 1
Level 1

I have an 1811 router with two ISP WAN connections

Ethernet0 ip address x.x.x.x

Ethernet1 ip address y.y.y.y

ip route 0.0.0.0 0.0.0.0 x.x.x.1

ip route 0.0.0.0 0.0.0.0 y.y.y.1

I can PING the E0 x.x.x.x address, but not the y.y.y.y address. If I remove the first "ip route" statement, then I CAN PING the y.y.y.y address, but then I lose the ability to PING the x.x.x.x address.

Is there any way that I can PING BOTH at the same time?

(there are no dynamic routing protocols in place, no routing advertisements from the ISP or anything..)

I'm assuming that I must have at least one default route (0.0.0.0 0.0.0.0) statement configured on the router so I don't want to remove both routes because the router is many miles away and not easy to reconfigure if I lose access to it.

(Is this assumption wrong? Can I get away with not having any "ip route 0.0.0.0 0.0.0.0" statements in my config? and if so, will removing both of them probably fix my problem?)

2 Replies 2

jorgenolla
Level 1
Level 1

Even if you configured multiple static default routes with the command ip route 0.0.0.0 0.0.0.0 x.x.x.x; the router will only select the best path to network 0.0.0.0, and install that route in the ip routing table.

If you do a (#show ip route), you should be able to see the network that the router is actually using to forward traffic to network 0.0.0.0.

As far as been able to ping your interfaces ip address; do you mean from your internal network? Or from the outside?

If you mean from your internal network; the networks connected to your ISPs must be distributed to your internal network through a routing protocol. If they are not distributed into your internal network through an IGP only the network that is configured as the default route will be the only one you will be able to ping, as it seems to be the case.

If you have multiple connections to one or more ISP's BGP might be appropriate might be appropriate because it allows manipulation of path attributes, facilitating the selection of the optimal path.

Excerpt from RFC 2270:

"a problem exists in that many ISPs can only support the load-sharing and reliability requirements of a multi-homed customer if that customer exchanges routing information using BGP-4 which does require an AS as part of the protocol."

If BGP is not an option for you, then I would suggest multiple routers, one for each ISP connection. Then you can use an IGP and route maps to load balance your traffic between connections.

Best Regards

P.S I'm not CCIE, so If there is a CCIE or someone with more expirience that can help clarify this the better.

Edison Ortiz
Hall of Fame
Hall of Fame

Where are you pinging from ?

You should be able to ping both default gateway from the router as they are in the subnet subnet as your LAN interfaces (no routing involved).

If you are pinging from a workstation sitting behind the router, is NAT involved ?

Posting the router configuration will help us determine what the problem really is.

Review Cisco Networking for a $25 gift card