LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Eth0 set up for Static, obtaining DHCP address?! (http://www.linuxquestions.org/questions/linux-networking-3/eth0-set-up-for-static-obtaining-dhcp-address-272630/)

IndustrialGeek 01-01-2005 01:23 PM

Eth0 set up for Static, obtaining DHCP address?!
 
Hi All,
I have a problem that absolutley has me stumped. I have Mandrake 10.1 Official running as a proxy server for the network segment in my room. I doubt this matters, but the internet interface [wlan0] is set up so that it is the only wireless NIC needed to get to the wireless router on the other end of the house. The LAN side of the proxy [eth0] is wired, and is running dhcpd, squid, and shorewall. eth0 is set up having a static 192.168.1.1 address, the ifcfg-eth0 is listed below:

DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.1.1
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
ONBOOT=yes
METRIC=10

The problem I am having is that eth0 keeps obtaining a 192.168.1.252 address. I know this is probably something simple I am overlooking, but what could be causing this?!?

IndustrialGeek 01-01-2005 01:28 PM

Actually, I think it may have something to do with dhclient running in the background for wlan0, since it uses DHCP to obtain its address. This is launched when I do a /etc/rc.d/init.d/network restart. Is a config maybe messed up somewhere? I could turn off DHCP on wlan0 but I would rather not. Thanks for any suggestions!

Joe

IndustrialGeek 01-03-2005 12:39 AM

Nevermind... figured it out! I had an extra dhclient running somehow.... weird. Thanks anyway!

Joe


All times are GMT -5. The time now is 11:35 AM.