[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Muilt-home routing question?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 07/07/2006, at 10:32 PM, martin f krafft wrote:

also sprach Greg Ryman <gregr@candylogic.com> [2006.07.07.2127 +0200]:
Thats not a problem of Linux, it's a problem with the person who doesn't
know how networking is supposed to work.

If I have two interfaces and both get their address via DHCP,
including a router IP, networking will stop working until I manually
remove one of the default routes. I can override the default route
in one of the DHCP client configurations, but what if I want both?
What if I just want to use whichever one's available, and fall back
to the second one when the first one becomes unavailable?

What do you mean you want BOTH?! What would you do if you are told there are two ways to get from A to B... Without any additional information, which one would you choose? You choose randomly - the first time to choose way 1, the second way 2, etc...

Linux does the same - First packet way 1, the second way 2 - and then things start getting messy because of different source addresses, etc....

Default routes have to do with static routing - if you are trying to do complicated routing - use a routing protocol, like ospf. If you still want to use defaults, look at using metrics.

But honestly - any machine with ip-forwarding enabled should NOT run dhcp on its interfaces.....

Andrew
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFErt/iW126qUNSzvURAkatAJ9C5O68xSgmsARUQELpz7l4lkE7AQCfZ1tN
uzyFBrZOHi3H8isfKh9VCpQ=
=t48m
-----END PGP SIGNATURE-----



Reply to: