Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to choose your own IP from your ISP.
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
skill
n00b
n00b


Joined: 15 Apr 2004
Posts: 9

PostPosted: Thu Aug 18, 2005 1:59 pm    Post subject: How to choose your own IP from your ISP. Reply with quote

Is there anyway I can specify with dhclient and / or dhclient.conf that I want a specific IP-address when i start speaking to my ISP's DHCPD-server? Offcourse I do understand that only ip-addresses within my ISP's bought ip-range will work. If it is possible, however, what is the syntax? The reason to why I'm asking is because of that I've heard rumors that others have been doing it, but so far those words are yet not confirmed.

Regards,
------------
Back to top
View user's profile Send private message
anello
Guru
Guru


Joined: 17 Jul 2005
Posts: 557
Location: EU -> DE -> Stuttgart

PostPosted: Thu Aug 18, 2005 2:19 pm    Post subject: Reply with quote

Usually ISPs use dynamic IPs, so there is no way for you to choose one. But you can get yourself a dynamic dns from no-ip.com, dyndns.org and such. Also most ISPs offer static IPs, but you'll have to pay something for this service.

Edit: What I forgot to mention is that ISPs usually split their network into areas, which means that you always get an IP thats similar to each other. (Not all ISPs though)

example:

ISP-net 80.0.0.0 -> 89.255.255.255
your area 82.88.0.1 -> 82.88.255.254

this would mean that you would always get an IP which starts with 82.88.*.*
Back to top
View user's profile Send private message
bigfunkymo
Apprentice
Apprentice


Joined: 23 Jan 2004
Posts: 237

PostPosted: Thu Aug 18, 2005 2:40 pm    Post subject: Reply with quote

Overriding the DHCP server is the #1 fastest way to have your service suspended
_________________
[No package... Grabbing a set.]
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Thu Aug 18, 2005 4:16 pm    Post subject: Reply with quote

Back in the day around '97 we'd DHCP an address from the cable company. It'd be 24.x.x.45 or something similar. Knowing the block we'd changed our config to a static IP of 24.x.x.251. The idea being if we were high enough in the range we'd never conflict with anyone and could have out own static IP.

The other method was to request the same DHCP IP once a day so that you always kept your lease updated on the DHCP server side. However any time they did upgrades on their end everyone's IP changed.

Neither were fool proof, but you could usually camp nad IP for at least a month or more. With the change in technology over the years and I'm not sure if either of those still work.

kashani
_________________
Will personally fix your server in exchange for motorcycle related shop tools in good shape.
Back to top
View user's profile Send private message
skill
n00b
n00b


Joined: 15 Apr 2004
Posts: 9

PostPosted: Thu Aug 18, 2005 5:47 pm    Post subject: Reply with quote

anello wrote:
Edit: What I forgot to mention is that ISPs usually split their network into areas, which means that you always get an IP thats similar to each other. (Not all ISPs though)
Yes, I know that, and I also do know my range, so that shouldn't be any problem.

bigfunkymo wrote:
Overriding the DHCP server is the #1 fastest way to have your service suspended
I am very well aware of that, but this isn't about if they approve it or not, this is only about security research. :wink:

kashani wrote:
Back in the day around '97 we'd DHCP an address from the cable company. It'd be 24.x.x.45 or something similar. Knowing the block we'd changed our config to a static IP of 24.x.x.251.
Now, this is what I've been looking for, one with the experience of accually doing it. I know this was several years ago, but can you please explain your method further, perhaps also supply us with a sample configuration?

Regards,
-------------
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Fri Aug 19, 2005 5:13 am    Post subject: Reply with quote

There's not much to explain. Get you IP normally via DHCP a couple of times so that you know the range, name servers, and router IP. Once you know what IP range you can try staticly configuring a IP in the .240-.254 area of the IP block you've been getting. That's pretty much it.

kashani
_________________
Will personally fix your server in exchange for motorcycle related shop tools in good shape.
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