Networking Forums

Networking Forums > Computer Networking > Linux Networking > RH - setting IP addresses on second ethernet card

Reply
Thread Tools Display Modes

RH - setting IP addresses on second ethernet card

 
 
Gregg Germain
Guest
Posts: n/a

 
      07-14-2003, 03:19 PM
Hi all,

I'm running RH Linux 6.2/ SCYLD Beowulf on a PC using GNOME. I've
installed a second ethernet card. The first is connected to a router,
so th elinux box gets a 198.... address

When booting the system does not know how to assign an IP address to
the second ethernet card, so the second card never comes live.

Can anyone tell me how to assign an IP address to this second card?

Is there a tool in Gnome to do this?

Is there a file that I need to edit?

thanks

--- Gregg

 
Reply With Quote
 
 
 
 
Timothy Murphy
Guest
Posts: n/a

 
      07-14-2003, 03:44 PM
Gregg Germain wrote:

> When booting the system does not know how to assign an IP address to
> the second ethernet card, so the second card never comes live.
>
> Can anyone tell me how to assign an IP address to this second card?


I'd guess you have to create/edit /etc/sysconfig/network-scripts/ifcfg-eth1
..
Here's my desktop entry:

========================
DEVICE=eth1
BOOTPROTO=static
BROADCAST=192.168.1.255
IPADDR=192.168.1.1
NETMASK=255.255.255.0
NETWORK=192.168.1.0
ONBOOT=yes
GATEWAY=192.168.1.1
TYPE=Ethernet
USERCTL=no
PEERDNS=no
========================

--
Timothy Murphy
e-mail: (E-Mail Removed)
tel: +353-86-233 6090
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
 
Reply With Quote
 
Gregg Germain
Guest
Posts: n/a

 
      07-15-2003, 12:15 PM

Hi Tim,

thanks for the infor and the sample file.

Can you tell me what "language" this is? What book can I get to
figure out what ought to go into this file, and what CAN go into this
file?


thanks

Gregg

Timothy Murphy <(E-Mail Removed)> wrote:
: Gregg Germain wrote:

:> When booting the system does not know how to assign an IP address to
:> the second ethernet card, so the second card never comes live.
:>
:> Can anyone tell me how to assign an IP address to this second card?

: I'd guess you have to create/edit /etc/sysconfig/network-scripts/ifcfg-eth1
: .
: Here's my desktop entry:

: ========================
: DEVICE=eth1
: BOOTPROTO=static
: BROADCAST=192.168.1.255
: IPADDR=192.168.1.1
: NETMASK=255.255.255.0
: NETWORK=192.168.1.0
: ONBOOT=yes
: GATEWAY=192.168.1.1
: TYPE=Ethernet
: USERCTL=no
: PEERDNS=no
: ========================

: --
: Timothy Murphy
: e-mail: (E-Mail Removed)
: tel: +353-86-233 6090
: s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

--


--- Gregg
"Improvise, adapt, overcome."
(E-Mail Removed)
Smithsonian Center for Astrophysics
Phone: (617) 496-1558

 
Reply With Quote
 
/dev/rob0
Guest
Posts: n/a

 
      07-15-2003, 01:48 PM
In article <(E-Mail Removed)>, Gregg Germain wrote:
> Can you tell me what "language" this is?


bash, or more specifically, Unix sh.

> What book can I get to
> figure out what ought to go into this file, and what CAN go into this


Generally those files are autogenerated by the distro's setup routine,
then manipulated by configuration tools. Any decent book on Red Hat can
tell you how to set up your networking.

I'd do it their way if I were you, but be aware of what's going on
behind the scenes (with the files in /etc/sysconfig and /etc/rc.d).
--
/dev/rob0 - preferred_email=i$((28*28+28))@softhome.net
or put "not-spam" or "/dev/rob0" in Subject header to reply
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding out multiple ethernet-addresses Arun Vidarjee Linux Networking 1 11-25-2010 08:13 AM
Setting Static IP addresses Alex H Windows Networking 7 01-08-2009 08:38 PM
problem setting up moto we800g ethernet bridge with linksys ethernet router I'm NOT DON Windows Networking 0 05-30-2005 07:50 PM
setting muliple IP addresses on Single NIC kernel.lover Linux Networking 3 02-08-2005 02:13 PM
setting up my ethernet card to work with hotel lan dian1smith Broadband Hardware 2 06-17-2004 01:02 PM



1 2 3 4 5 6 7 8 9 10 11