LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 11-01-2003, 05:21 PM   #1
KingofBLASH
Member
 
Registered: Sep 2003
Distribution: Just upgraded to Slackware 10.0
Posts: 91

Rep: Reputation: 15
Unhappy Can't share a cable modem over more then 2 network cards


I am running Mandrake Linux 9.2 and set up a basic router to share a cable modem with a single ethernet card. I used the mandrake wizards and webmin to set up DHCP server to listen on eth0 and assign IP addresses to any computer which connects, and share the network connection.

This worked so great that I decided to expand. I bought 2 more network cards, Intel eepro100, plugged them in, and although /sbin/ifconfig detects them, I can't manipulate them in any of the wizards. It's like eth2 and eth3 don't exist.

How do I rig them to work? I know the cards themselves work, btw, because I independently verified them on another Mandrake box and set up a router between them.

What am I doing wrong?

Thanks in advance,

Dan

Output of /sbin/ifconfig:

eth0 Link encap:Ethernet HWaddr 00:10:B5:72:15:57
inet addr:192.0.0.1 Bcast:192.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:38260 errors:0 dropped:0 overruns:0 frame:0
TX packets:48365 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:5362528 (5.1 Mb) TX bytes:39643136 (37.8 Mb)
Interrupt:5 Base address:0x8000

eth1 Link encap:Ethernet HWaddr 00:A0:CC0:B8:45
inet addr:24.59.76.83 Bcast:255.255.255.255 Mask:255.255.248.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1350591 errors:5 dropped:0 overruns:0 frame:0
TX packets:31548 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:139895806 (133.4 Mb) TX bytes:2770007 (2.6 Mb)
Interrupt:11 Base address:0x1800

eth2 Link encap:Ethernet HWaddr 00:08:C7:CA:093
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:3 Base address:0x6000

eth3 Link encap:Ethernet HWaddr 00:08:C7:2A:F6:85
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:157 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:24959 (24.3 Kb) TX bytes:2304 (2.2 Kb)
Interrupt:11 Base address:0x2000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:43043 errors:0 dropped:0 overruns:0 frame:0
TX packets:43043 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9381060 (8.9 Mb) TX bytes:9381060 (8.9 Mb)
 
Old 11-01-2003, 11:07 PM   #2
burntoutjoy
LQ Newbie
 
Registered: Aug 2003
Location: Hatfield, England
Distribution: Debian 3.0
Posts: 6

Rep: Reputation: 0
Dude, this is not the way to go. You only ever need two network cards for a router. On the external one (eth1 in your case) you attach the cable modem, and on the internal one (eth0) you attach a hub or switch. As long as you masquerade your cable connection, which it looks like you're doing, every box connected to the hub will be able to DHCP and get on the internet.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to share internet with a cable modem? zovres Linux - Networking 1 03-23-2004 07:44 AM
need Network install HELP for Mandrake 9.2! using network.img w/ cable modem physans Mandriva 6 02-25-2004 03:15 PM
Mandrake Multi Network Firewall w/ cable modem yojo1001 Linux - Networking 2 12-13-2003 10:13 AM
3 PCI Network Cards....... 2 For Home computers and 1 for an Cable Modem gr8razorx Linux - Networking 11 12-01-2003 09:23 AM
cable modem / network cards + auto neg. dunkyb Linux - Hardware 3 04-09-2003 05:27 AM


All times are GMT -5. The time now is 07:34 AM.

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