How to fool my ISP into accepting a static ip address, when it delivers via DHCP?
Linux - NetworkingThis 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.
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.
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Rep:
How to fool my ISP into accepting a static ip address, when it delivers via DHCP?
Hello all you networking gurus'
My Internet access is via adsl to my ISP, who assign my ip address automatically when I login. The only problem with this is that it takes about 2 minutes or so. As the address that I get via DHCP has never varied during countless boots/logins/ifup eth0 commands, is it possible for me to simply assign my DHCP address as being static. I have tried to do this, but when I do, the only net address I can then get is either my router on 10.0.0.2, or my ISP. All other addresses seem to be blocked. Is this a clever trick by my ISP, and if so, is there a way around it?
Hardware router at 10.0.0.2 which acts also as nameserver
nameserver resolution passed via router to:-
213.162.97.253 & 213.162.97.66
IP Address given by ISP 192.168.254.2
Subnet 255.255.255.0
Gateway 192.168.254.254
My ISP tells me that if I set my NIC to my IP Address then it won't work. I haven't tried this yet as I am inclined to believe that they must be right.
If your service agreement is for DHCP, you get DHCP. If you happen to get the same IP address, that's merely coincidence due to the vagaries of the way their address leasing/address pools are set up.
You can't assign a Static IP when your ISP is issuing you a DHCP.
And how are you getting an IP of 192.168.254.2 from your ISP, that is a private LAN IP which is not reachable on the net. Are you going thru a router or some kind, etc?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.