
03-17-2012, 06:10 AM
|
|
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?
|

03-17-2012, 07:12 AM
|
|
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.
|

03-17-2012, 07:15 AM
|
|
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.
|

03-17-2012, 07:23 AM
|
|
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.
|

03-17-2012, 07:44 AM
|
|
Newbie
|
|
Join Date: Mar 2012
Posts: 9
|
|
Quote:
Originally Posted by abtme
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.
|
|

03-17-2012, 08:17 AM
|
|
Web Hosting Guru
|
|
Join Date: May 2004
Location: Corona, CA USA
Posts: 343
|
|
Double check that netmask,
__________________
██ Skeptic Hosting
██ Promoting a reality-based lifestyle choice
██ Hosting by invitation only, nothing for sale
|

03-17-2012, 09:41 AM
|
|
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
|

03-17-2012, 10:33 AM
|
|
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.
|

03-17-2012, 10:35 AM
|
|
Newbie
|
|
Join Date: Mar 2012
Posts: 18
|
|
Quote:
Originally Posted by illimunati
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.
|

03-17-2012, 10:45 AM
|
|
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
|

03-17-2012, 03:44 PM
|
|
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
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
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
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
|

03-17-2012, 04:00 PM
|
|
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
|

03-17-2012, 04:15 PM
|
|
Newbie
|
|
Join Date: Mar 2012
Posts: 9
|
|
Quote:
Originally Posted by Coolraul
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
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.
|

03-17-2012, 04:22 PM
|
|
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
|

03-17-2012, 10:01 PM
|
|
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.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| 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
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|