Hi,
On Fri, 5 Mar 1999, Abhijit Lahiri wrote:
>
>
>
> Since the IP layer handles the routing, the attributes of ftp datagrams
> till it reaches the IP layer will not be affected by a change in the
> default route.
> It is only in IP layer will the route be decided and the packets will be
> passed through the new interface.
But you can have the two lines to Internet each connected to different
ISPs, and each won't accept the other's packets, so having one of the two
routes is a lose - lose situation, as only one route could work at a time.
What you need it linux-2.2.x (or 2.0.x with patches) and
CONFIG_IP_MULTIPLE_TABLES turned on. Then you need tool ``iproute2''. Here
are some references (I got them from kind souls on [EMAIL PROTECTED]
list) :
ftp://ftp.inr.ac.ru/ip-routing/
ftp://post.tepkom.ru/pub/vol2/Linux/docs
http://www.herlein.com/net/iproute2/tcio4.ps.gz
ftp://lrcftp.epfl.ch/pub/people/almesber/misc/tcio4.ps.gz
Hope this helps,
Jan
PS : I'm probably gonna try to set this up this weekend ...
> On Fri, 5 Mar 1999, Catalin BOIE wrote:
>
> > Hi, guys!
> >
> > Picture:
> > To Internet
> > ------------------------
> > |eth0
> > ---|--- To Internet
> > | Box |---------------------
> > | A |eth1
> > -------
> >
> > Let's say that I get a file with FTP from Internet to box A.
> > Default route is to eth0.
> > What hapens with the xfer if suddenly I changed the default route to eth1?
> > The FTP server is confused that the packets changed their source IP, but
> > ports, ack numbers and all other things are ok?
> >
> > Thanks you in advance!
> > ************************************
> > Catalin(ux) BOIE
> > System Administrator at Deuroconsult
> > [EMAIL PROTECTED]
> > http://www2.deuroconsult.ro/~catab
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-net" in
> > the body of a message to [EMAIL PROTECTED]
> >
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to [EMAIL PROTECTED]
>
-- Gospel of Jesus is the saving power of God for all who believe --
## To some, nothing is impossible. ##
http://Vicherek.Waterloo.on.ca/
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]