LinuxQuestions.org
Register a domain and help support LQ
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
 
Search this Thread
Old 10-05-2005, 11:03 AM   #1
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
how to configure two lan cards on one machine


Hello,
i've two machines, desktop and laptop.
yesterday i got new internet connection with ethernet modem.
so in order to connect both, ethernet modem and my laptop ( on lan ), to the desktop today i brought one more lan card.
initial one was configured as "eth0"
but how shud i configure the new one, on which i'll be connecting the lap top on lan. ???

its the current status of "ifconfig"
Code:
root@bond:/etc# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:A1:B0:10:19:2E
          inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:539 errors:0 dropped:0 overruns:0 frame:0
          TX packets:548 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:257060 (251.0 Kb)  TX bytes:84284 (82.3 Kb)
          Interrupt:10 Base address:0xcc00

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:76 errors:0 dropped:0 overruns:0 frame:0
          TX packets:76 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5484 (5.3 Kb)  TX bytes:5484 (5.3 Kb)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:203.101.125.35  P-t-P:202.56.215.132  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:431 errors:0 dropped:0 overruns:0 frame:0
          TX packets:429 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:240412 (234.7 Kb)  TX bytes:68187 (66.5 Kb)

root@bond:/etc#


Code:
root@bond:/etc# ifconfig eth1
eth1: error fetching interface information: Device not found


Code:
root@bond:/etc# lspci
00:00.0 Host bridge: Intel Corp. 82810 GMCH [Graphics Memory Controller Hub] (rev 03)
00:01.0 VGA compatible controller: Intel Corp. 82810 CGC [Chipset Graphics Controller] (rev 03)
00:1e.0 PCI bridge: Intel Corp. 82801AA PCI Bridge (rev 02)
00:1f.0 ISA bridge: Intel Corp. 82801AA ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801AA IDE (rev 02)
00:1f.2 USB Controller: Intel Corp. 82801AA USB (rev 02)
00:1f.5 Multimedia audio controller: Intel Corp. 82801AA AC'97 Audio (rev 02)
01:0b.0 Ethernet controller: MYSON Technology Inc SURECOM EP-320X-S 100/10M Ethernet PCI Adapter
01:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8129 (rev 10)
root@bond:/etc#
the older lan card is "Realtek"

seeking for guidance.......

regards
 
Old 10-05-2005, 11:06 AM   #2
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Original Poster
Rep: Reputation: 45
Code:
root@bond:/etc# dmesg | grep eth1
root@bond:/etc#
the control is coming back to prompt.

regards
 
Old 10-05-2005, 12:27 PM   #3
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 31
From what I can google, SURECOM EP-320X-S uses the Tulip driver.
Code:
/sbin/modprobe tulip
then check with ifconfig again.
 
Old 10-05-2005, 09:38 PM   #4
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Original Poster
Rep: Reputation: 45
hello there,
the problem of detecting the NIC card has been solved ( god knows how, i haven't done anything ).
now the new problem is that how to assign two different IP's to them.

using
#netconfig

is assinging only for one of them ( i suppose )

running
#ifconfig eth0 <IP>

is temporary only.
so what should i do to assign them pemanent <IP> adderess ???

regards
 
Old 10-06-2005, 10:55 AM   #5
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Original Poster
Rep: Reputation: 45
Hello,
Problem has been solved and can be seen at this link

regards
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
machine has adsl ethernet modem, to make it gateway over lan do i need more lan cards b0nd Linux - Networking 2 10-04-2005 11:19 PM
Directing Traffic on 2 LAN Cards Xing Linux - Networking 2 08-17-2005 03:59 AM
Wireless and wired network cards on the same machine kailun Slackware 2 07-27-2005 10:25 AM
Multiple LAN Cards cerealdaemon Linux - Networking 6 05-26-2005 11:09 AM
Three Network Cards in Machine Linutzo Linux - Networking 3 11-09-2004 07:47 PM


All times are GMT -5. The time now is 04:00 PM.

Main Menu
Advertisement
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