> It sounds like SuSE may be set up to only insert a default route for
> eth0 (or perhaps only set one if there is not already one present). That
> has some sense to it, but may not suit everyone.

Ehh, there can be only one default route. Think about it. It's a "if
nothing else matched, use this" type of thing. Same with case statements
in every programming language.

The Linux routing table is examined top to bottom, the first match is
taken. The most specific rules are at the top, the default route is
last. Yes you can add more than one default route to the routing table,
but as the first always matches, the remaining ones are never-reached
dead code.

It looks to me that what you want is treating the wireless interface
like a ppp interface, with option replacedefaultroute. When the wireless
interface is available, it is used instead of wired or nothing. Whether
the system scripts support that I don't know. If not, one should be able
to hack it.

If you're using SuSE, you should ask this on the suse-linux-e list. What
you can use as alternatively is SCPM - system configuration profile
manager. You create multiple system configurations and switch between
them. It was designed for handling system configuration on computers
which are taken different places.

Volker

-- 
Volker Kuhlmann                 is possibly list0570 with the domain in header
http://volker.dnsalias.net/             Please do not CC list postings to me.

Reply via email to