Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-03-2001, 12:14 PM
|
#1
|
LQ Newbie
Registered: Aug 2001
Posts: 6
Rep:
|
eth0 binding
how does linux know which network device(eth0, eth1, etc) to bind to which device for pcmcia devices. I recently set up a laptop with a pcmcia card and within linuxconf I only specified and IP address and netmask. The system found the card and it worked. What if a network card was onboard. How would the system know which card to bind eth0 to. Or if there were two pcmcia devices.
|
|
|
08-03-2001, 03:40 PM
|
#2
|
Member
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214
Rep:
|
I have not tried multi-homed system configuration yet, but the best bet would be to simply configure the onbaord NIC as eth0, then install the second NIC and make that eth1.
As far as how Linux determines which card is which if both are in at the same time when you try to configure each one, I am not sure.
|
|
|
08-03-2001, 03:52 PM
|
#3
|
LQ Newbie
Registered: Aug 2001
Posts: 6
Original Poster
Rep:
|
I can make the system multihomed with no problem I was just curious as to how the system assigns etho with no io values or irqs or kernel modules to alias eth0 to. Maybe there is a file that list the cards by the time they were installed. Such as the first installed card is eth0 and the second is eth2.
|
|
|
08-04-2001, 12:29 PM
|
#4
|
Member
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214
Rep:
|
Try looking in the /proc directory.
I know it lists info on hard drives and such. You might find someting in there relating to the IP address mappings for your NIC's.
I know that when you boot you also get a listing of IP address mappings. It may list the card also. If you log as root, go to a terminal and run the 'dev' command. This should, if I remember right, give you the same output that you see during the boot process. You can pipe this to file so you can read it in Vi or Pico later.
|
|
|
All times are GMT -5. The time now is 05:09 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|