LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Losing IP (http://www.linuxquestions.org/questions/linux-general-1/losing-ip-2574/)

methodz 05-16-2001 08:43 PM

I have a quick question. My distro is RH 7.1, This is the problem I am having, I lose my IP every half hour within Linux. This doesnt happen from within Windows. I am using a Cable modem with a static. When I run the Ifconfig command the IP is gone. When I reboot I can browse the net again. Whats going on?

KevinJ 05-16-2001 09:20 PM

You "lose" your IP?

When this happens and you do 'ifconfig'... does the adapter show up? how about 'ifconfig -a'?

What network adapter are you using? What does 'lsmod' show?


methodz 05-16-2001 09:49 PM

IP
 
When I lose the IP and run the Ifconfig command this whole line is GONE. The Inet Addr is totally gone.
inet addr:24.X.X.X Bcast:255.255.255.255 Mask:255.255.255.0
I have to reboot just to regain an IP. This is really wierd and only happens within Linux. I am using a Linksys adaptor.

KevinJ 05-16-2001 10:09 PM

Its possible that your driver is causing problems. Look for an updated driver for you NIC.

You IP is static right? Its not dynamically given to you by your ISP right? Even if its the same IP everytime.

methodz 05-16-2001 11:27 PM

IP
 
It could be.. I really dont know how to install a driver for a NIC in linux. Still a newbie.

trickykid 05-16-2001 11:36 PM

It doesn't sound like you have a static. Who is your cable modem provider? If your losing it, it sounds to me its a dynamic and its trying to renew itself every half hour and its not properly doing that. If your suppose to have a static, I would be calling the ISP and telling them the situation. I don't think it might not be your own machine. I use to support RoadRunner and they did some screwy things to customers and have it so that type of crap happened all the time.

I use the LNE100TX card myself, if your using that one, goto this page http://www.linksys.com/support/support.asp?spid=25
They have good instructions on how to install the tulip driver for that card under Linux.
If you not using that one, check out their site. They are very Linux friendly. http://www.linksys.com

[Edited by trickykid on 05-17-2001 at 12:40 AM]

methodz 05-17-2001 02:02 PM

I am going to update the driver for the NIC. The wierd thing is that within Windows my IP only changes once every 3 months. In fact It hasnt changed since I got the Cable service. Its not a static but it shouldnt be changing every half hour.

KevinJ 05-17-2001 04:46 PM

Yeah.. its not a question of it changing though...its a question of lease length. I have never heard of anyone setting that for a half and hour but you never know.

Your IP lease could be running out and its having trouble renewing the lease with your ISP.

doodah 05-17-2001 07:22 PM

i have that same problem too.. i dont have a static, but for the first 6 months my ip never changed.. then one day it started changing every day, sometimes up to 3x a day.. but i think my problem is at roadrunner.. just check all the cable connections and make sure theyre all connected securely.. call the cable company too cuz it could be somthing on their end...
but you should be able to load it back up without a restart with....

service network --full-restart

you may have to run it 2x in a row for it to work..

methodz 05-18-2001 12:51 AM

Thnx
 
Thnx for the tip. I am to much of a newbie to try to install the new Tulip driver just yet. I have only been using Linux for about one week. =)

trickykid 05-18-2001 06:17 AM

I did support for Roadrunner like I said above. When they issue dynamic IP's, most poeple thought they had static cause their IP would never change. But yet again, they also had it setup sometimes for the IP to renew every 30 minutes to an hour. If I was you, I would contact your ISP and let them know, its really suppose to be setup for at least a day at a time, unless they have changed it.


All times are GMT -5. The time now is 12:56 PM.