I have a server set up with a static IP on 192.168.1.5. Everything works fine if I access the server from outside LAN but I cannot use the server within LAN.
If I putty into the hostname (bbb.scotia.ie) outside the network, it resolves correctly, but I get a time-out from within the LAN. I can putty in using the IP address inside the network.
What am I doing wrong?
Here is the output of
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback post-up ip addr add 188.8.131.52/32 dev lo pre-down ip addr del 184.108.40.206/32 dev lo # The primary network interface auto eno1 iface eno1 inet static address 192.168.1.5 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 dns-nameservers 220.127.116.11
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver 18.104.22.168
Can anyone help? I guess its a DNS issue but don't know how to fix this.
Running Ubuntu 16.04