Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-19-2004, 02:40 AM   #1
LQ Newbie
Registered: Apr 2004
Location: Zürich, Switzerland
Posts: 17

Rep: Reputation: 0
Unhappy using two network cards for ICS

i'm running mandrake 9.2 on a pentium-class desktop, asus mainboard (P4S533-E) with on-board ethernet port.

i'm trying to setup my computer such that it provides internet connection sharing to my home network while being used as a workstation itself. i've got an on-board network card (RTL8201 PHY chip) and i've put in a cnet ethernet adapter. my bios has the PnP turned off and the slots in which the cards sit do not sare the same IRQ.

i've tried to use the graphical configuration tool to setup my network cards but it does not recognise them correctly. it shows that i have two Realtek 8139 cards instead. how do i tell it do discard this so that i can tell the system which cards i have? which file do i need to edit?

when i added (copy from eth0) the file /etc/sysconfig/network-scripts/ifcfg-eth1 both adapters started working (see ifconfig). however, i'm not sure whether i've set up eth1 cleanly. do i need to do/add anything more? i get internet on my machine but my lokal network is unable to ping anything, not even me.

how do i now setup my system to perform internet connection sharing? it seems the graphical tools fail in this instance. which files to i have to edit to get it working?

any help is greatly appreciated. i'm rather new to linux so detailed help/hints/instructions are welcome.

is seeking desperate help. this is even more so annoying as it works under windows but in order go get it off my machine this needs to work.
Old 05-19-2004, 03:00 AM   #2
Senior Member
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
first type "lspci" to see pci devices.

here is mine
[root@linux mesut]# /sbin/lspci
00:0a.0 Ethernet controller: Davicom Semiconductor, Inc. Ethernet 100/10 MBit (rev 31)
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

i have rtl8139 and cnet pro200b ethernet cards.

here is my /etc/modules.conf
alias eth0 dmfe
alias eth1 8139too

these lines say that eth0 is davicom cnet pro 200b
and eth1 is rtl8139

also check /etc/sysconfig/network-scripts/ifcfg-eth0 and ifcfg-eth1

if u wanna share internet via linux. u need an iptables script. visit to create a script for your network configuration.
Old 05-24-2004, 04:32 PM   #3
LQ Newbie
Registered: Apr 2004
Location: Zürich, Switzerland
Posts: 17

Original Poster
Rep: Reputation: 0
Thumbs up ics problem

thanks for your help, maxut.

adding the card into /etc/modules.conf did the trick. now i was able to see it in my system and configure it. strangely the /sbin/route -n is returning the same info as before but i guess other parts are set up better and cleaner now.

thanks again.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ICS on an XP network using Mandrake 10.1 clemsont Linux - Networking 1 10-28-2004 07:18 AM
Amigo/Slackware 9.1 Client on ICS Network gken69 Linux - Networking 2 09-08-2004 02:09 PM
Amigo/Slackware 9.1 Client on ICS Network gken69 Slackware 8 09-07-2004 02:39 PM
Network cards not distinguished for ICS takatam Mandriva 0 05-16-2004 03:59 PM
ICS works, but the rest of my Network doesn't - Help! sstchur Linux - Networking 1 03-18-2004 09:40 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:03 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration