0

We just moved our dedicated server to a new DC (Colocation). I modified the ifcfg-eth0 with the new IP and gateway but the server is not responding yet. As far as I know adding the new IP in eth0 would be enough to make the server online. Is there anything else to be modified?

KarenV
  • 7
  • 1
  • 5
  • `I modified the ifcfg-eth0 with the new IP and gateway but the server is not responding yet` - What does that mean exactly? Responding how? In what way? – joeqwerty Jun 17 '17 at 03:51
  • @joeqwerty It's a CentOS server. That's how we change the main IP of a CentOS server. But the server is still unreachable. – KarenV Jun 17 '17 at 03:55
  • Unreachable in what way? SSH, HTTP, SMTP, etc.? You really need to give us more detail on how you're trying to access the server and what kind of connectivity to the server you're trying to establish. – joeqwerty Jun 17 '17 at 03:57
  • @joeqwerty the server is unreachable at all. No SSH, no http , no ping ... – KarenV Jun 17 '17 at 03:59
  • 1
    Being nitpicky: Changing the IP address wont help unless you also change the default gateway. – TomTom Jun 17 '17 at 12:04

1 Answers1

0

Hopefully you restarted networking services after modifying the network IP and gateway information. A service network restart will do this for you.

You'll also want to edit your /etc/hosts file.

ewwhite
  • 197,159
  • 92
  • 443
  • 809