hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : How to change dhcp to static IP with 1and1.com?
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

How to change dhcp to static IP with 1and1.com?

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 03-17-2012, 06:10 AM
illimunati illimunati is offline
Newbie
 
Join Date: Mar 2012
Posts: 9

How to change dhcp to static IP with 1and1.com?


I have Ubuntu root server with 1and1.com and I need to set the static IP info for it. Unfortunately whatever I try fails.

I am hitting exactly the same issue with this guy: howtoforge.com/forums/showthread.php?t=54042, however instructions on the second post there did not help me.

I also tried this solution anotherwayuk.wordpress.com/2007/05/05/howto-11-root-server-networkdhcp-issues-fixing-network-connectivity with no joy.

And if what 1and1 says on faq.1and1.com/dedicated_servers/root_server/other_questions/2.html true, then how on earch I could set static IP for my server?

Reply With Quote


Sponsored Links
  #2  
Old 03-17-2012, 07:12 AM
relichost relichost is offline
Web Hosting Master
 
Join Date: Feb 2004
Location: UK
Posts: 1,429
Hi

Are you saying that you get a different IP if you reboot your dedicated server ? The norm is to get a dedicated IP with a dedicated Server.

Also as you bought the server via 1and1 why not contact there support and ask them, after all that what you pay for.

Thanks

Andrew

__________________
Relichost Budget Hosting Cpanel-14 Days R1soft-Weekly Monthly Cpanel Backups (off site)
VPS Servers / Dedi's on request.



Reply With Quote
  #3  
Old 03-17-2012, 07:15 AM
twikamltd twikamltd is offline
Web Hosting Evangelist
 
Join Date: Nov 2006
Posts: 450
Never tried anything to do with 1&1, but generally speaking, get a DHCP lease, make a note of all the details, IP, gateway, subnet etc - make the static details EXACTLY the same, and you should be ok, unless they've got something weird going on.

__________________
Twikam LTD
UK cPanel hosting • Super fast UK shared hosting with IP's and SSL
UK VPS Hosting High Bandwidth VPS Servers

Reply With Quote
Sponsored Links
  #4  
Old 03-17-2012, 07:23 AM
illimunati illimunati is offline
Newbie
 
Join Date: Mar 2012
Posts: 9
Tried that. Unfortunately doesn't work. I am not the only one of 1and1 customers in the same situation. This guy also had this problem lists.debian.org/debian-user/2006/01/msg03299.html unfortunately follow up recommendation to him also didn't work for me.

Reply With Quote
  #5  
Old 03-17-2012, 07:44 AM
illimunati illimunati is offline
Newbie
 
Join Date: Mar 2012
Posts: 9
Quote:
Originally Posted by abtme View Post
Hi

Are you saying that you get a different IP if you reboot your dedicated server ? The norm is to get a dedicated IP with a dedicated Server.

Also as you bought the server via 1and1 why not contact there support and ask them, after all that what you pay for.

Thanks

Andrew
No, the server always get the same IP. However I need to set static IP in /etc/network/interfaces. Currently I have:

Code:
auto lo 
iface lo inet loopback

iface eth0 inet dhcp
but I need something like:

Code:
auto lo 
iface lo inet loopback

iface eth0 inet static
address 84.208.170.56
netmask 255.255.255.255
network 84.208.170.56
gateway 10.255.255.1
broadcast 84.208.170.56
Unfortunately, whatever I put for netmask, network, gateway, broadcast, nothing works.

And, of course, I first tried to contact 1and1.com customer support, however they sent me an e-mail:

Quote:
Dear ..., (Customer ID: ........)

Thank you for contacting us.

Unfortunately, we can not offer troubleshooting support for configuration/administration specific issues such as this. Our dedicated servers are leased to customers with the responsibility of administrating the machine falling solely on the customer themselves. 1&1 does not manage nor have access to your dedicated server, unless explicit permission has been given and the administrative password has been provided, usually only for verification of a hardware related issue. While 1&1 provides various software initially included in your package for use with your hardware, our company does not specialize in software development and is not in a position to offer support for any software.Additionally, you have chosen to completely manage your own minimal install, which eliminates the parallels software, and making you 100% responsible for any configurations on the server. During our talk on the phone, I found the following link which should be of use to you:
http://www.yolinux.com/TUTORIALS/Lin...etworking.html

If you have any further questions please do not hesitate to contact us.

--
Sincerely,
....
Dedicated Server Support
1&1 Internet Inc.

Reply With Quote
  #6  
Old 03-17-2012, 08:17 AM
srider srider is offline
Web Hosting Guru
 
Join Date: May 2004
Location: Corona, CA USA
Posts: 343
Quote:
netmask 255.255.255.255
Double check that netmask,

__________________
Skeptic Hosting
Promoting a reality-based lifestyle choice
Hosting by invitation only, nothing for sale


Reply With Quote
  #7  
Old 03-17-2012, 09:41 AM
Deroba Deroba is offline
Web Hosting Master
 
Join Date: Nov 2009
Location: Colombia
Posts: 2,115
The IP is static... The way it's assigned by their router is DHCP, just get the details from ifconfig and done

__________________
Diego Rodríguez - diego@deroba.org
Professional Services since 2009


Reply With Quote
  #8  
Old 03-17-2012, 10:33 AM
Bernardoo Bernardoo is offline
Web Hosting Master
 
Join Date: Feb 2010
Location: Lisbon, Portugal
Posts: 1,101
Doesn't their panel have something that does that automatically i find 1and1 panel to be very complete i could be wrong though.

__________________
Looking for a system administrator? One time install/ hiring a system administrator?

PM me or email me at bernardooan@gmail.com for more details.

Reply With Quote
  #9  
Old 03-17-2012, 10:35 AM
Donder Donder is offline
Newbie
 
Join Date: Mar 2012
Posts: 18
Quote:
Originally Posted by illimunati View Post
Finally, fifth post. I really do believe the forum leads should remove this limitation for new users. Because it is not possible to post links.
just put a space somewhere in the url, like this
http:/ /www.example.com/page.htm

The link isn't clickable but it won't be blocked, and people can cut, paste, and fix to make it work.

__________________
My trade show guide is about trade shows and trade show stuff.

Reply With Quote
  #10  
Old 03-17-2012, 10:45 AM
UK Servers UK Servers is offline
Junior Guru
 
Join Date: Jul 2007
Posts: 215
Why do you need to set it to be static? What does ifconfig eth0 actually show when set to DHCP?

__________________
UK Dedicated Servers since 2003
www.ukservers.com - 0800 610 1 620


Reply With Quote
  #11  
Old 03-17-2012, 03:44 PM
illimunati illimunati is offline
Newbie
 
Join Date: Mar 2012
Posts: 9
I had to re-image my box from Ubuntu to CentOS hoping that will ease setting up static IP for the server, but the matter in essense is the same and unfortunately still persists. Following this guide http://www.networkinghowtos.com/howt...ress-in-centos gave me no joy.

Quote:
Originally Posted by Bernardoo View Post
Doesn't their panel have something that does that automatically i find 1and1 panel to be very complete i could be wrong though.
Unfortunately, it is not possible to set static IP for the server through 1and1 control panel.

Quote:
Originally Posted by Donder View Post
just put a space somewhere in the url, like this
http:/ /www.example.com/page.htm

The link isn't clickable but it won't be blocked, and people can cut, paste, and fix to make it work.
Thanks for the suggestion, but that limitation was only until a new user has 5 posts and I already have. New users could not be that intuitive and inventive.

Quote:
Originally Posted by UK Servers View Post
Why do you need to set it to be static? What does ifconfig eth0 actually show when set to DHCP?
Good question, thanks. Well I would happily live with DHCP, but I really don't like Pleask, which is provided by 1and1 and wanted to install Virtualmin, for which static IP is recommended as reads on http://www.virtualmin.com/documentation/dns/faq:

Quote:
While obtaining an IP address, the DNS servers provided by your DHCP server are used in place of what's currently setup on your server.

For a server, we'd suggest using static IP's where possible. That would prevent your DNS servers from being overwritten, as well as removing any chance of your server obtaining the wrong IP address.
There are workarounds for Virtualmin to be able to work with DHCP, however lot's of users find it quite problematic as we can see on http://www.virtualmin.com/node/8690, http://www.virtualmin.com/node/19960, http://www.virtualmin.com/node/18473 and I use Virtualmin on couple of other servers with static IPs and it works very smoothly, so I believe that I could put little bit more effort and with the help of WHT community to get 1and1 server to go static.

ifconfig eth0 currently gives (IP changed):

Code:
eth0      Link encap:Ethernet  HWaddr 00:25:90:57:3E:6C  
          inet addr:84.208.170.56  Bcast:84.208.170.56  Mask:255.255.255.255
          inet6 addr: fe80::225:90ff:fe57:3e6c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:330821 errors:0 dropped:0 overruns:0 frame:0
          TX packets:305055 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:26556563 (25.3 MiB)  TX bytes:23872300 (22.7 MiB)
          Interrupt:16 Memory:fb900000-fb920000

Reply With Quote
  #12  
Old 03-17-2012, 04:00 PM
Coolraul Coolraul is online now
Community Liaison
 
Join Date: May 2004
Location: Toronto, Canada
Posts: 4,650
The post restrictions are there for a reason. Don't try to bypass the rules with fluff posts.

In terms of your problem, why did you take a server with Plesk if you don't like it?

Does 1and1 provision IP's this way (via dhcp) to their servers? Ask their support if you are allowed to use a static IP at all?

I have personally never seen providers provision servers with dhcp but anything is possible.

__________________
:: André Allen Communications, Community and Channel
:: iWeb.com - Dedicated, Cloud, Colocation
:: Managed, Guaranteed IOPS Cloud Servers, - Money back Guarantee http://www.iweb.com

Reply With Quote
  #13  
Old 03-17-2012, 04:15 PM
illimunati illimunati is offline
Newbie
 
Join Date: Mar 2012
Posts: 9
Quote:
Originally Posted by Coolraul View Post
In terms of your problem, why did you take a server with Plesk if you don't like it?
I don't see I said anywhere I took a server with Plesk.

Quote:
Originally Posted by Coolraul View Post
Does 1and1 provision IP's this way (via dhcp) to their servers? Ask their support if you are allowed to use a static IP at all?

I have personally never seen providers provision servers with dhcp but anything is possible.
Your post is not very much helpful, so you could spare your time. But if others wonder yes 1and1 provides DHCP to all their dedicated servers. I have quoted reply from their support above, which shows they don't mind, but they don't provide support and it is completely up to users to configure static IP.

Reply With Quote
  #14  
Old 03-17-2012, 04:22 PM
Coolraul Coolraul is online now
Community Liaison
 
Join Date: May 2004
Location: Toronto, Canada
Posts: 4,650
Sorry I must have misunderstood this:

"Good question, thanks. Well I would happily live with DHCP, but I really don't like Pleask, which is provided by 1and1 and wanted to install Virtualmin, for which static IP is recommended as reads on http://www.virtualmin.com/documentation/dns/faq:"

I thought Pleask was misspelled Plesk. What did you mean there?

1and1's response was so generic including that link that I didn't take it as them saying "you can do static ip's". I was suggesting that if their method of assigning and tracking ip's are via dhcp with long leases then it is possible they don't really allow it. If you are sure they do.. no worries carry on but just don't post fluff posts as that is against the rules.

I let your post with the url's stay that I should have removed as I understand you just want to get some help.

__________________
:: André Allen Communications, Community and Channel
:: iWeb.com - Dedicated, Cloud, Colocation
:: Managed, Guaranteed IOPS Cloud Servers, - Money back Guarantee http://www.iweb.com

Reply With Quote
  #15  
Old 03-17-2012, 10:01 PM
illimunati illimunati is offline
Newbie
 
Join Date: Mar 2012
Posts: 9
I had telephone conversation with 1and1 support and they confirmed they are ok with changing servers' IPs to static ones, they just can't consult how to do that.

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
1and1 nameserver change! krazymax Domain Names 2 09-25-2011 03:08 AM
Centos automatically changing from static to DHCP Badmanh Dedicated Server 11 02-24-2011 03:37 PM
Change IP DHCP to Static using Xen VPS r0kawa VPS Hosting 8 11-20-2008 04:55 AM
Need Dedicated Servers (Download Static Content) 1and1, GoDaddy, ... silver! Dedicated Server 8 05-15-2008 08:56 PM
1and1.co.uk - how to change MX records dongan Hosting Security and Technology 4 05-11-2006 05:26 AM

Related posts from TheWhir.com
Title Type Date Posted
50ee1041-02cc-4300-a073-5a3e45a799a0 Listing 2013-03-05 18:25:31
Navigating Your Business Through Change with Elliot Noss - HostingCon 2012 Web Hosting News 2012-07-17 09:51:18
Certified Hosting Deploys Varnish HTTP Caching for Faster Hosting Services Web Hosting News 2012-02-28 14:10:30
A First Look at cPanel’s new User Interface Web Hosting News 2011-09-15 19:35:40
Hosts Gear Up for Internet Society-Led World IPv6 Day, June 8 Web Hosting News 2011-06-03 15:27:26


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?