multiple default routes workaround

JT Moree moreejt at pcxperience.com
Sat Sep 30 20:08:10 MST 2006


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

Larry (i think that was his name) and I were working on the issue where
a machine is connected to both a router by both wired and wireless.  In
this scenario most distros bring up both interfaces and use the same
default route settings.  So routing stops working because there are two
default routes pointing to two different interfaces.

There may be better fixes but we decided to write a shell script to
check for this case and bring down all but one interface.

The script is here:
http://pcxperience.org/jt/multidf/

The next version should
*) allow the user to list interface priorities
*) remove the extra default route instead of bringing the whole
interface down


Any other suggestions or better solutions to the problem.

- --
JT Morée
PC Xperience, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFHzEa1JwGi/ukQqERAs3eAJ4gwGVQHyHu8qGzXGo2UQJJWXt7iACfd2S/
PwPhghQLhISvg5gTKhpjlTU=
=ozjX
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



More information about the PLUG-discuss mailing list