Operating System - Linux
1820260 Members
2986 Online
109622 Solutions
New Discussion юеВ

Configuration of a second card

 
SOLVED
Go to solution
Andreas_8
Occasional Contributor

Configuration of a second card

Hi there. Is it possible to configure a second network card manually under Suse 7.0? I tried to configure with Yast2 but the cards will set to the same IP. I think it's not correct, isn't it? Which files must be configured. Thanks.
4 REPLIES 4
benoit Bruckert
Honored Contributor

Re: Configuration of a second card

Hi,
I don't know about SUSE,
But manually you can make this test :
first check if the 2 cards are configured in the kernel ;
type ifconfig

You should see 2 ethernet cards :
eth0 and eth1.

manually,
you just have to type :
ifconfig eth0 to configure your first NIC, and
ifconfig eth0 to configure your 2nd NIC.

About files Try to see something in a directory /etc/rc... or /etc/init.... or /etc/sys....
Many Linux distributions, many possibilities...

hth,
regards
Benoit
Une application mal pans├йe aboutit ├а une usine ├а gaze (GHG)
Dario_4
Frequent Advisor

Re: Configuration of a second card

For sure,

this is the physical method but if you want, you can configure it "virtually". It means that you have a real eth0 and a virtual eth1. For do this this:

ifconfig eth0:1 netmask

Hope this helps.

Regards,

Dario
Bill Thorsteinson
Honored Contributor
Solution

Re: Configuration of a second card

Look through the /etc/init.d
directory for the script
that configures the network
cards. Find the command that
does the configuration.

Run man to find the configuration file.
Edit the configuration file
to add the appropriate parameters for the second card.

Check for a /etc/networking
directory. It will likely
have configuration inforation.
Andreas_8
Occasional Contributor

Re: Configuration of a second card

Thanks for the solutions. The exact file was /etc/rc.config.