Linux - NetworkingThis 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.
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.
Hi all,
I hv two doubts. On my rhel4u3 x86_64 box, i hv two on board ethernet cards.
When i start my machine, only eth0 is get detected and not eth1. This is not working. so, i do
ifdown etho
ifup eth1
reboot
Now, when system gets up, eth1 is working.... But again when i do hard reboot.. i.e., i m not applying "reboot" command but I am pressing restart button, same problem again appears.
1. Is there any differnce between soft and hard reboot?
2. What if i want eth1 to get detected all the time system reboots very first time?
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
If both nics are the same it can be a buggy issue. Sometimes depends on the module the nic uses.
At any point what is in your /etc/modprobe.conf file?
Looking to see if it is defining the alias for both.
Now the sequence will depend which IRQ the nic is using as far as which one it will use as first.
How are you using the nics?
Is one always needed to be connected to the network for say internet access?
If so which one is you want it to be?
Then what do you want the other to do?
In /etc/sysconfig/network-scripts are ifcfg-eth0 and ifcfg-eth1 files post contents of them and also if that is what you want them to be.
Normally you can only have one nic as a main routing nic. The other can be routed from other features like masquerade and iptables. Only one can be set with a gateway unless specific routing commands are set at boot.
Yes...I want eth1 Nic to get detected all the time I reboot the machine...
I also modified conf files "ifcfg-eth0" and "ifcfg-eth1"... I changed the ONBOOT flag on both of them...
Yet I hv the same problem....though at the boot time eth1 is getting detected now, but m not able to ping from other machine.....unless i do a soft reboot once
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Ok you have both active on boot. Do both goto different networks?
And if so do each have a defined gateway?
If so there then routing needs to be setup. You really can only have one defined gateway.
Thanks for ur Help ...
I will checkout for the gateway...
However, i dont understand your one statement... "Do both goto different networks?" ... Is it necessary? Is it like that two NICs cant be in one network? When you say diff network, do I need tp put them in different class or just network?
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Since you have two nics I just assume two different networks. Not sure why you want both on the same network unless bonding purposes to double bandwdth to the machine. Maybe post the exact configuration and what you want may help me understand what you are doing.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.