LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-27-2001, 02:16 AM   #1
Sathe
Member
 
Registered: Sep 2001
Location: Bryan, Ohio USA (Home of the Etch-A Sketch)
Distribution: RedHat 7.1, 7.2, and 7.3
Posts: 76

Rep: Reputation: 15
eth0


ok i got my cable modem working, but with a big snag, if i try to do an ifdown and then an if up on it, instaad of it going to the DHCP server to get an IP it assigns itself one of 192.168.0.212 or something of the like, does that as well when i do a "service network restart" only way to get a real ip is to reboot the machine, any one have any ideas on how to fix that?
 
Old 10-27-2001, 03:14 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
not sure on that one, but does it have problems attaining an IP on its own after the lease on the IP is up..... or are trying to release it after it doesn't attain one automatically?
 
Old 10-27-2001, 02:50 PM   #3
Sathe
Member
 
Registered: Sep 2001
Location: Bryan, Ohio USA (Home of the Etch-A Sketch)
Distribution: RedHat 7.1, 7.2, and 7.3
Posts: 76

Original Poster
Rep: Reputation: 15
it has problems getting an ip after the lease is up yes.
it also has problems releasing it after it either doesn't get one or after it gets that fake one.
 
Old 10-30-2001, 11:57 PM   #4
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
I don't have any direct input regarding your problem, but just a little info:

The 192.168.0.xxx IP isn't a "fake" IP, but it is a special IP. Each of the common classes of networks (class A, B, and C) has a range of non-routeable addresses which are reserved for use on an internal network (hence the non-routeable part; they can't be used on the Internet). 192.168.0.xxx addresses are the reserved range for a class C network.

The only reason I mention this is that some operating systems will assign one of these IP addresses to the network interface if they are configured for DHCP, but can't obtain a lease for some reason (the computer isn't connected to a network, the DHCP server is down, etc.). I know this to be true of MacIntosh operating systems prior to version 9.x. In the Mac's case, it defaults to an address in the 169.254.xxx.xxx range, which is the reserved range for a class B network.
 
Old 10-31-2001, 03:55 PM   #5
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
How does it react when issuing:

dhcpd -k (releases lease)

and

dhcpd -n (renews lease)


Lemme know what happens when you try that above commands.

Any chance your machine has a DHCP server running? or maybe one on the cable router? Or another machine on your network? If there is.. then they might be getting those 192.168.0.x addresses from one of these rogue servers instead of the one at your ISP. It makes sense that if you have DHCP server somewhere on your internal network, it will be getting a broadcast response from there first and not your ISP.

Kevin
 
Old 11-01-2001, 10:41 AM   #6
Sathe
Member
 
Registered: Sep 2001
Location: Bryan, Ohio USA (Home of the Etch-A Sketch)
Distribution: RedHat 7.1, 7.2, and 7.3
Posts: 76

Original Poster
Rep: Reputation: 15
nothing else is running a dhcp server, all i have is a windows machine and a mac, but een if i disconnect those and do an ifdown if up on it it brings back that 192.168.0.212 addy. i'll try the dhcp switches when i get home, is it possible my linux box ix acting as its own dhcp server, how do i find out? and if so how do i turn it off and what RPM do i remove
 
Old 11-01-2001, 06:11 PM   #7
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
I don't know if its possible for the Linux machine to be running its own DHCP server and have it give itself an address... but if you don't remember setting it up, then its probably not running one.

BUT... your cable modem could easily be running one.
 
  


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
Wireless network on eth1 diabled Ethernet eth0 and eth0 never comes back tadatoshi Linux - Wireless Networking 4 09-23-2004 06:57 PM
Firewall WAN eth0 LAN eth1 self-bridges, eth0 does all routeing. Nichole_knc Linux - Networking 5 07-29-2004 03:33 PM
howto delete existing static ip of ethernet(eth0)& reconf multiple ips on eth0 viveku Linux - Networking 2 02-02-2004 02:30 AM
howto delete static ip configured on eth0 & reconf multiple ip on one eth0(redhat8 viveku Linux - Networking 0 01-31-2004 11:40 AM
Bringing up interface eth0: determining ip information for eth0... failed ralphethomas Linux - Networking 0 01-24-2004 06:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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
Open Source Consulting | Domain Registration