a second gateway

I have a small network/ISP running on Linux 2.0.36 & 2.2.12 boxes on which I am trying to setup a separate (second) default route on one of the boxes to the main default on my Ascend Max 4000 box.

Config..

Max box  -  default route  139.130.97.3  & static route to  139.130.100.1
(this box has 2 separate ISDN connections to the net,  139.130.97.3 & 139.130.100.1)


Box 1  - default route  = Max box  (thus  139.130.97.3)

Box 2  - default route 139.130.100.1  -> via Max Box

I have set the default route on Box 2 to be 139.130.100.1 (and netstat -rn shows this), but it appears that all the traffic coming from Box 2 still goes via the Max’s default route (139.130.97.3) instead of  that specified Box 2 default (139.130.100.1).

If I traceroute to 139.130.100.1 from the Max box it takes the correct path,  same traceroute from Box 2 goes to the Max, out the max's default then to 139.130.100.1  ..  I can’t see why this would happen.

The reason is that we have 2 pipes to the internet, and want certain machines to use a certain pipe.  Is it possible to do this with static routing, or do I need to go to something more elaborate?

Can anyone help with what I need to setup in order to arrange to utilize the 2 net connections via my Max?

The Max is an Ascend Max 4000 with 60 ports.  Inc. 2 ports to 139.130.97.3 and 2 to 139.130.100.1.  One connection is meant for backchannel traffic for a satellite feed, the other is for serving Web pages & outbound email.

Thanks in advance
preperatAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

svindlerCommented:
I think your problem is in the Max box. Using normal routing entries all boxes will use what is configured to be the shortest path.
On Cisco boxes there is something called routing policies where you can go in and specify specific routes for specific hosts, protocols or whatever.
You need to look for something like this on the Max.
0
terminal111199Commented:
If the Max sends data out the default way, it is because the Max does not know the route to box2, and sends everything the wrong way out.

I assume you are using 255.255.255.0 as a netmask ?

If this is the case, make sure that the Max has a route to 139.130.100.0/24 which goes over box 1.

Then all traffic from the Max to the net of box 2 will go the right way.

So Box 1 could change its default route, and traffic from box 2 would use this new route for outgoing traffic. Regarding incoming traffic, that is controlled by your ISP, and you would need to have some dynamic route updating taking place between the ISP and you to be able to dynamicly shift around.

If you want to switch completely between 2 lines and does not have the ability to update routing info on the Internet, you need two IP adresses on Box 1, one for each connection. And then run masquerading on box 1 where you will then be able to replace the source IP adress to the one that works on this connection.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.