I don't think you can have to default routes (atleast this is the way I
understand it, I could be wrong.) but you can set more then 1 static routes.
For example say
eth0 - 192.168.17.2
eth1 - 10.10.10.2
(I know this are bunk ip's, just for example)
everything that goes to 192.168.17.** should be faster if routed out though
eth0, so we can put that route in:
route add -net 192.168.17.0 gw 192.168.17.2 eth0
(check sytnax, can't remember to well from memory)
and everything that goes to 10.10.10.** should be faster if routed out
though eth1, so we could put that route in:
route add -net 10.10.10.0 gw 10.10.10.2 eth1
Say slashdot is 4 hops from eth1 and 102 from eth0, so it should be faster
if we route all packets to/from slashdot though eth1
route add -net 64.28.67.0 gw 10.10.10.2 eth1
You could add static routes like this.
Any one knows if this works, it sound logical right?
Jack
>
> Hi, Jos,
>
> The problem is that I don't do dial-up. My two connections are permanent
> (leased line and cable), so I need to use both of them simultaneous. Any
> ideas welcomed!
>
> bogdan
>
> On Mon, 7 Aug 2000, Jos Lemmerling wrote:
>
> > On Mon, 7 Aug 2000, Bogdan Taru wrote:
> >
> > >
> > > Hello everyone,
> > >
> > > Gotta question: I've got a machine which is connected to 2 ISPs. So,
what
> > > can I do in order to use both of them? I've tryied two default
gateways,
> > > but it always uses the last inserted. I've tryied to use 'routed', but
> > > something seems to be missing...
> > > Any suggestions?
> > >
> > > bogdan
> > >
> >
> > On my machine i've three providers working 'together'; in my ip-up
script
> > the correct route is added, and in ip-down the route is deleted again.
> >
> > You may have to use sudo or something (i needed it to run the command
> > 'route del default').
> >
> >
> > Greetz Jos Lemmerling
> >
> >
> >
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs