network problem

I disabled NetworkManager and enabled network. Set static IP on one of the Ethernet ports, the other port is disconnected. When i do service network restart i get the following error:

Restarting network (via systemctl): Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
[FAILED]

Receheck configuration gives the following error:

Default IP address is set to **.***.***.***, but the detected external address is actually ***.**.***.***. This is typically the result of being behind a NAT firewall, and should be corrected on the module configuration page.

I am able to access internet from the box and searching for "ipaddress" shows the correct public IP assigned to the box on google.com

But, still the server is inaccessible through its hostname!

On cmdline, as root, hostname -f gives ns03.bislinks.com

SELinux status is disabled.

appreciate help.

Status: 
Active

Comments

Howdy -- you may want to review /var/log/messages for any errors that occur when restarting that interface.

However, that is different than the issue you're seeing in Virtualmin, or with the hostname.

I am able to access the hostname you mentioned remotely, so the DNS is indeed setup and working correctly. So it's possible that you're just dealing with a DNS cache issue.

Alternatively, if you're on the same LAN as your server, that could be the issue -- you may want to try accessing the internal IP address of your server, rather than the hostname, and see if that works.

bislinks's picture
Submitted by bislinks on Wed, 01/13/2016 - 14:45 Pro Licensee

Oh, if it's just DNS cache problem, then, will check again later and update the status. Thanks a lot Andreychek