Mailinglist Archive: opensuse (2086 mails)

< Previous Next >
Re: [opensuse] Really need help from networking guru
  • From: Sunny <sloncho@xxxxxxxxx>
  • Date: Fri, 31 Aug 2007 06:14:45 -0500
  • Message-id: <e7eeb230708310414t58791732k9f25fec53ce1e256@xxxxxxxxxxxxxx>
On 8/31/07, Art Fore <art.fore@xxxxxxxxxxx> wrote:
>
> OK, then how do I get Linux to go to the 192 network as default and
> remove the 10. network ad default route?
>
> Art

you can add your own script to do this in /etc/sysconfig/network/if-up.d

the scripts in this directory are executed whenever an interface is
ifup -ed. These scripts receive the name of the interface and some
other data, so you can determine which interface is up (in your case
eth1), and perform specific actions.

Take a look in /etc/sysconfig/network/scripts, there are plenty of
examples of if-up.d scripts.

Cheers

-- 
Svetoslav Milenov (Sunny)

Even the most advanced equipment in the hands of the ignorant is just
a pile of scrap.
-- 
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups