Tux

...making Linux just a little more fun!

problem configuring 2 lan with YAST in suse 10

[j.bakshi at icmail.net]
Tue, 09 Jan 2007 20:39:23 -0800

Dear list,

I am running a PC having suse 10. I have 2 lan card here and like to configure 2 cards with different setting. I have tried to configure the cards using Yast, but the problem is ; 2 cards taking the same DNS, gateway etc from the configuration which I make latter. I think there may be some problem in yast, so I like to do it manually. could any one suggest me the file in suse 10 where I can write configuration for eth0 and eth1 and could any one kindly provide an example configuration :-)

thanks in advanced.


Top    Back


Thomas Adam [thomas.adam22 at gmail.com]
Wed, 10 Jan 2007 06:56:48 +0000

On Tue, Jan 09, 2007 at 08:39:23PM -0800, j.bakshi@icmail.net wrote:

> kindly CC to me.
> =================
> 
> Dear list,
> 
> I am running a PC having suse 10.  I have 2 lan card here
> and like to configure 2 cards with different setting.
> I have tried to configure the cards using Yast, but the
> problem is ; 2 cards taking the same DNS, gateway etc from
> the configuration which 
> I make latter.  I think there may be some problem in yast,
> so I like to do it manually. could any one suggest me the
> file in suse 10 where I can 
> write configuration for eth0 and eth1 and could any one
> kindly provide an example configuration :-)

You probably want something more like:

route add default gw 192.178.70.23 dev eth1
I don't remember where SuSE spits out such information.

-- Thomas Adam

-- 
"Wanting to feel; to know what is real.  Living is a lie." -- Purpoise
Song, by The Monkees.

Top    Back


[j.bakshi at icmail.net]
Wed, 10 Jan 2007 00:04:38 -0800

----- Original Message Follows -----

From: Thomas Adam <thomas.adam22@gmail.com>
To: j.bakshi@icmail.net, The Answer Gang
<tag@lists.linuxgazette.net>
Subject: Re: [TAG] problem configuring 2 lan with YAST in
suse 10
Date: Wed, 10 Jan 2007 06:56:48 +0000
> On Tue, Jan 09, 2007 at 08:39:23PM -0800,
> > j.bakshi@icmail.net wrote: kindly CC to me.
> > =================
> > 
> > Dear list,
> > 
> > I am running a PC having suse 10.  I have 2 lan card
> > here and like to configure 2 cards with different
> > setting. I have tried to configure the cards using Yast,
> > but the problem is ; 2 cards taking the same DNS,
> > gateway etc from the configuration which 
> > I make latter.  I think there may be some problem in
> > yast, so I like to do it manually. could any one suggest
> > me the file in suse 10 where I can 
> > write configuration for eth0 and eth1 and could any one
> > kindly provide an example configuration :-)
> 
> You probably want something more like:
> 
> ```
> route add default gw 192.178.70.23 dev eth1
> '''
Thanks Thomas for the info. yes default gw is a must to have. the place where suse stores eth info is /etc/sysconfig/network ; I have just discoverd. But I like to ask you one more thing. I have 2 lan cards. when I set eth0 as DHCP enable then my firefox and ping command are running (from eth0) but when I disable eth0 and enable eth1 to dialup my adsl connection I can see the welcome message as a successful connection but then the browser doesn't fire up and ping is not working bcoz it still do all query based on eth0. How can I configure my system that ping and browser work based on eth1 ?

thanks.


Top    Back