[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 208
  • Last Modified:

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
0
preperat
Asked:
preperat
1 Solution
 
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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now