Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-07-2004, 03:33 AM   #1
Registered: Apr 2003
Location: Kolkata
Posts: 215

Rep: Reputation: 30
Get rid of ip

I have installed linux red hat 9.0 and trying to run dhcpd on eth1. I have a liveip in eth0 and local ip ( mask on eth1. but when i do netstat -nr i am getting a new ip on eth1 ( mask and the dhcp client(windows) is also getting a ip How do i get rid of this ip ( and what do i do so that my clients get ip of ( network.

This is the netstat -nr file that i see
# netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface U 0 0 0 eth0 U 0 0 0 eth1 U 0 0 0 eth1 U 0 0 0 lo UG 0 0 0 eth0

Please help me so that i can configure my machine

Thanking you all
SAnjib Gupta
Old 06-07-2004, 04:28 AM   #2
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631

Rep: Reputation: 30
The netstat -nr shows you routes you have to local and remote networks, not IP addresses on your NIC. The line
Code: U 0 0 0 eth1
shows that you have a route to a nework 169.254/16 going via eth1. This may or may not be correct but shouldn't have anything to do with IP addresses.

Can you post the output of ifconfig -a, showing the actual IP addresses of your interfaces? If ent1 itself has an IP address; your Windows client is connected to the same network and your DHCP server is configured to give out IP addresses on that subnet then it should all work.
Old 06-07-2004, 04:37 AM   #3
Registered: Jul 2003
Location: south africa
Distribution: RH 9 hopefully fedora core 2 soon :P
Posts: 34

Rep: Reputation: 15 is an adress that is given to windows machines that have dhcp enabled but can't see a DHCP server.. so your problem is either that dhcp is not running check whether or not the service is running by typing chkconfig --list dhcpd .. first thing to check...
Old 06-07-2004, 04:57 AM   #4
Registered: Apr 2003
Location: Kolkata
Posts: 215

Original Poster
Rep: Reputation: 30
the ifconfig - a eth1 shows the following
eth1 Link encap:Ethernet HWaddr 000:09:86:2E:BD
inet addr: Bcast: Mask:
RX packets:567 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:51809 (50.5 Kb) TX bytes:240 (240.0 b)
Interrupt:5 Base address:0x6000
but still the windows clients get ip's
my ps -ef shows dhcpd running

Sanjib gupta


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
Should I get rid of XP? NCC-1701&NCC-1701-D Linux - Newbie 12 06-13-2005 09:41 AM
where did it come from, and how do i get rid of it? scarryharry Slackware - Installation 2 10-08-2004 02:10 PM
What can I get rid of? NKYG Linux - Software 6 06-17-2004 03:19 PM
Get rid of XP Pedroski Linux - Hardware 5 05-25-2004 11:44 AM
get rid of this dkc_ace Linux - Software 9 02-12-2003 02:10 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration