LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 01-01-2005, 02:23 PM   #1
IndustrialGeek
LQ Newbie
 
Registered: May 2004
Posts: 12

Rep: Reputation: 0
Question 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?!?
 
Old 01-01-2005, 02:28 PM   #2
IndustrialGeek
LQ Newbie
 
Registered: May 2004
Posts: 12

Original Poster
Rep: Reputation: 0
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
 
Old 01-03-2005, 01:39 AM   #3
IndustrialGeek
LQ Newbie
 
Registered: May 2004
Posts: 12

Original Poster
Rep: Reputation: 0
Thumbs up

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

Joe
 
  


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
How do I disable DHCP now I am using static address? rosco136 Linux - Networking 4 08-01-2005 03:53 AM
How to set a static IP address? dx0r515t Slackware 12 04-17-2005 02:33 PM
obtaining a specific ip address from DHCP true_atlantis Slackware 5 09-28-2004 01:12 AM
FC2 Overriding static if in favor of dhcp system set for static pkraus109 Linux - Networking 8 09-21-2004 12:13 PM
Static address works but DHCP doesn't... devahl Linux - Networking 1 05-03-2004 05:55 PM


All times are GMT -5. The time now is 10:20 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