Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-27-2001, 02:16 AM
|
#1
|
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:
|
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?
|
|
|
10-27-2001, 03:14 AM
|
#2
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
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?
|
|
|
10-27-2001, 02:50 PM
|
#3
|
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:
|
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.
|
|
|
10-30-2001, 11:57 PM
|
#4
|
Member
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986
Rep:
|
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.
|
|
|
10-31-2001, 03:55 PM
|
#5
|
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:
|
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
|
|
|
11-01-2001, 10:41 AM
|
#6
|
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:
|
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
|
|
|
11-01-2001, 06:11 PM
|
#7
|
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:
|
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.
|
|
|
All times are GMT -5. The time now is 11:07 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|