Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
IP Address Randomly Changes???
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dvc5
Guru
Guru


Joined: 06 Dec 2003
Posts: 433
Location: Sunnyvale, California

PostPosted: Mon Mar 22, 2004 7:27 am    Post subject: IP Address Randomly Changes??? Reply with quote

I searched around a bit and couldn't really find anything like this. I've got a server that's sitting on a small subnet of a home router that's configured to give out IP Addresses through DHCP. Tonight I tried to login to the server to do the usual log-checking and backups and low-and-behold, I couldn't login to 192.168.0.13...I did a check on the router for "attached devices" and there was a machine connected on 192.168.0.15. Sure enough, this was the server.
So somehow the IP address changed for this box even though I hadn't logged into it and changed it manually. Everything seemed fine (ran chkrootkit, rc-status, etc) and there was no unusual log activity. Is this something that can happen with DHCP? Any information on this interesting phenomenon would be greatly appreciated. :roll:
_________________
#define NULL rand() /*heh heh heh */

Green Is Good
Back to top
View user's profile Send private message
Crimson Rider
Guru
Guru


Joined: 23 Jun 2003
Posts: 462
Location: Delft, the Netherlands

PostPosted: Mon Mar 22, 2004 8:43 am    Post subject: Reply with quote

Yes it's something that could happen with DHCP.

If it's getting the address from DHCP it's entirly possible that the DHCP server for some reason or another gives it another adress.

Some sys admins even force this behaviour as a sort of security. Random changing the IP over the network to deny hackers access.

This post was answered in accordance with "the adopt an unanswered post initiative today"
_________________
Code, justify, code - Pitr Dubovich
Back to top
View user's profile Send private message
dvc5
Guru
Guru


Joined: 06 Dec 2003
Posts: 433
Location: Sunnyvale, California

PostPosted: Mon Mar 22, 2004 8:49 am    Post subject: Reply with quote

Thanks for the quick reply. That's certainly the type of answer I was hoping to hear. I thought it might be possible, just kinda weird that it's never done that before. :?
_________________
#define NULL rand() /*heh heh heh */

Green Is Good
Back to top
View user's profile Send private message
Crimson Rider
Guru
Guru


Joined: 23 Jun 2003
Posts: 462
Location: Delft, the Netherlands

PostPosted: Mon Mar 22, 2004 9:23 am    Post subject: Reply with quote

Maybe you changed something about your computer, or perhaps it's a date/time thing. Anyway, seems like the lease expired and it just issued a new ip lease instead of prolonging the old one.

good luck.
_________________
Code, justify, code - Pitr Dubovich
Back to top
View user's profile Send private message
dvc5
Guru
Guru


Joined: 06 Dec 2003
Posts: 433
Location: Sunnyvale, California

PostPosted: Thu Mar 25, 2004 4:03 am    Post subject: Reply with quote

Just an update, I've set the server to statically assign an IP address to eth0. No more of this dhcp madness! :twisted:
_________________
#define NULL rand() /*heh heh heh */

Green Is Good
Back to top
View user's profile Send private message
Crimson Rider
Guru
Guru


Joined: 23 Jun 2003
Posts: 462
Location: Delft, the Netherlands

PostPosted: Thu Mar 25, 2004 9:32 am    Post subject: Reply with quote

Actually DHCP is quite usefull.

It is used for a lot of things. For instance, Demon NL, my ISP, used DHCP to provide me with my static IP. I also use DHCP to allow anyone with a reasonably modern computer to plug in at my home/office and be online instantly. This works both for Windows boxes and Linux computers.

It takes some getting used to, but DHCP is superb in corporate networks. I mean would you like to change the IP's of a few hundred machines by hand ? (Or run the risk that you have indentical IP and other such conflicts ? )
_________________
Code, justify, code - Pitr Dubovich
Back to top
View user's profile Send private message
dvc5
Guru
Guru


Joined: 06 Dec 2003
Posts: 433
Location: Sunnyvale, California

PostPosted: Thu Mar 25, 2004 9:36 am    Post subject: Reply with quote

Crimson Rider wrote:
Actually DHCP is quite usefull.

It is used for a lot of things. For instance, Demon NL, my ISP, used DHCP to provide me with my static IP. I also use DHCP to allow anyone with a reasonably modern computer to plug in at my home/office and be online instantly. This works both for Windows boxes and Linux computers.

It takes some getting used to, but DHCP is superb in corporate networks. I mean would you like to change the IP's of a few hundred machines by hand ? (Or run the risk that you have indentical IP and other such conflicts ? )

Oh I love me some DHCP, I was just venting earlier. :wink: I suppose it does make more sense to use a static IP for a server though so these mishaps are rare.
_________________
#define NULL rand() /*heh heh heh */

Green Is Good
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum