# Dedicated Server Move

**URL:** https://community.unix.com/t/dedicated-server-move/244113
**Category:** IP Networking
**Created:** [July 7, 2009, 3:42pm UTC](https://community.unix.com/t/dedicated-server-move/244113 "2009-07-07T15:42:44Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![esmerika](https://community.unix.com/letter_avatar/esmerika/32/5_5575768a8748004e209b776fc1b2916d.png) [@esmerika](https://community.unix.com/u/esmerika)
#### Post date: [July 7, 2009, 3:42pm UTC](https://community.unix.com/t/dedicated-server-move/244113/1 "2009-07-07T15:42:44Z")

</div>

I just moved a dedicated server, which included moving to a new subnet, and new IP address. Now my server is not reconnecting - I've tried ifconfig, altering the etc/hosts file with the new ip address, with no luck.

---

<div class="post-metadata">

### Author: ![Scott](https://community.unix.com/letter_avatar/scott/32/5_5575768a8748004e209b776fc1b2916d.png) [@Scott](https://community.unix.com/u/Scott)
#### Post date: [July 7, 2009, 3:46pm UTC](https://community.unix.com/t/dedicated-server-move/244113/2 "2009-07-07T15:46:26Z")

</div>

ifconfig is not persistent, so forget that!

Did you also change netmasks, defaultrouter, ipnodes, etc? (you didn't mention which OS you were using).

---

<div class="post-metadata">

### Author: ![esmerika](https://community.unix.com/letter_avatar/esmerika/32/5_5575768a8748004e209b776fc1b2916d.png) [@esmerika](https://community.unix.com/u/esmerika)
#### Post date: [July 7, 2009, 3:56pm UTC](https://community.unix.com/t/dedicated-server-move/244113/3 "2009-07-07T15:56:33Z")

</div>

I'm running Linux 2.6.21.5

I haven't been able to change the subnet mask, etc. However, I just noticed that my changes in the etc/hosts file didn't take either.

---

<div class="post-metadata">

### Author: ![pludi](https://community.unix.com/user_avatar/community.unix.com/pludi/32/1278_2.png) [@pludi](https://community.unix.com/u/pludi)
#### Post date: [July 7, 2009, 4:30pm UTC](https://community.unix.com/t/dedicated-server-move/244113/4 "2009-07-07T16:30:25Z")

</div>

ifconfig: set address & submask until it changes again or the machine power-cycles  
/etc/hosts: create a mapping between IP addresses and easy to remember names

Both have nothing to do with setting a permanent IP address, subnet mask or default route.

Which distribution are you using?

---

<div class="post-metadata">

### Author: ![esmerika](https://community.unix.com/letter_avatar/esmerika/32/5_5575768a8748004e209b776fc1b2916d.png) [@esmerika](https://community.unix.com/u/esmerika)
#### Post date: [July 8, 2009, 2:56pm UTC](https://community.unix.com/t/dedicated-server-move/244113/5 "2009-07-08T14:56:02Z")

</div>

We're running slackware 12.0.0

---

<div class="post-metadata">

### Author: ![pludi](https://community.unix.com/user_avatar/community.unix.com/pludi/32/1278_2.png) [@pludi](https://community.unix.com/u/pludi)
#### Post date: [July 8, 2009, 5:24pm UTC](https://community.unix.com/t/dedicated-server-move/244113/6 "2009-07-08T17:24:39Z")

</div>

I don't have a Slack install ready currently, but information on how to configure the network can be found at the [Slackware site](http://www.slackware.com/config/network.php#rc.inet1)
