Computing.Net > Forums > Linux > install 3 ethernet cards on RH 2.1

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

install 3 ethernet cards on RH 2.1

Reply to Message Icon

Name: Mike
Date: December 17, 2003 at 09:06:37 Pacific
OS: Red Hat A.S. 2.1.
CPU/Ram: 500mhz/356mb
Comment:

Hi i'm trying to install three ethernet cards on one of my pc that is running linux. One of the ethernet cards is an onboard card. The other two are pci 3com, and a Dec card. What i want to do is have the ethernet card(eth0) connect to the internet and the other two (eth1,eth2) connected to two seperate pc's via a cross patch cable. I want eth0 to be dhcp and eth1 and eth2 to be static ip. I know that this is alot of info, but can anyone please help me out. Thank you.

btw: the os i'm running is Red Hat Advanced server 2.1



Sponsored Link
Ads by Google

Response Number 1
Name: Jonathan
Date: December 17, 2003 at 10:01:20 Pacific
Reply:

You should be able to setup all of that by simply editing your interfaces file. As a superuser (either via the "su" command, or by logging in as root) edit your interfaces file and add entries for each card something like:

auto eth0 eth1 eth2
iface eth0 inet dhcp

iface eth1 inet static
        address 192.168.0.10
        netmask 255.255.255.0

iface eth2 inet static
        address 192.168.0.11
        netmask 255.255.255.0

my interfaces file is /etc/network/interfaces - yours may or may not have the same path under Redhat - "man interfaces" for more information.

Jonathan


0

Response Number 2
Name: Mike
Date: December 17, 2003 at 15:19:35 Pacific
Reply:

I'm sorry but I can't find that file no where in Red Hat Advanced server 2.1. Can someone please tell me where it is located thanks.


0

Response Number 3
Name: Jan Gerrit Kootstra
Date: December 17, 2003 at 16:01:01 Pacific
Reply:

/etc/sysconfig/network-scripts/ifcfg-eth* are the files you need to edit.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: install 3 ethernet cards on RH 2.1

installing an ethernet card in redhat li www.computing.net/answers/linux/installing-an-ethernet-card-in-redhat-li/8116.html

RH AS2.1 stock 2.4.9-e3 www.computing.net/answers/linux/rh-as21-stock-249e3/26284.html

Ethernet card in redhat linux 7.1 www.computing.net/answers/linux/ethernet-card-in-redhat-linux-71/8200.html