2 Nics problem: Eth1 disabled Eth0
I have very limited experience networking with multiple interfaces, so please bear with me. The issue is that Eth0 seems to have been disabled, I cannot connect/ssh to it directly, but I can connect to it's designated ip through eth1. This is what ifcfg-ethX looks like:
Eth0: Code:
# ADMtek NC100 Network Everywhere Fast Ethernet 10/100 Code:
# Broadcom Corporation BCM4401 100Base-T Code:
-[0000:00]-+-00.0 Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface |
During boot udev dynamically configures your hardware. You can permanently change what udev does in one of the files in the /etc/udev/rules.d directory. Which file contains the network configuration rules varies from distribution to distribution. Here is an explanation of how it is done in Slackware:
http://www.linuxquestions.org/questi...ight=eth0+eth1 I use Debian. My network configuration is set in /etc/udev/rules.d/z25_persistent-net.rules The contents of my file are: Code:
------------------- Steve Stites |
Thanks for your prompt response Jailbait. I'm using Centos 5.0. I found 2 files of interest under the rules.d directory:
60-net.rules: Code:
ACTION=="add", SUBSYSTEM=="net", IMPORT{program}="/lib/udev/rename_device" Code:
# PCMCIA devices: |
Quote:
-------------------- Steve Stites P.S. I have CentOS 5.0 installed also and i have never had any network problems with it. My 60-net.rules file is the same as yours. My network configuration is different in that I only have eth0 installed. So maybe if you explicitly configure eth0 and eth1 in 60-net.rules maybe CentOS won't get them confused. |
When I tried to configure the transparent proxy, I did some redirection by appending rules to my iptables nat table. I tried to flush these rules by #iptables -F, and then followed your instructions but still Eth0 doesn't respond. I guess I'm going to do a clean install of CentOS and go from there. Thanks for all your help.
UPDATE: Alright, I got it working. The issue was that both interfaces were working under the same netmask. The following post explains it in detail. Now If I could figure out how to get eth0 to use DHCP to connect to the cable modem instead of using eth1 and acquiring an ip from my access point's dhcp!!!!! Any takers? |
Quote:
# dhclient eth0 |
All times are GMT -5. The time now is 01:45 AM. |