Ok got it to work this way around. If i set the config as follows
Code:
# The loopback network interface
auto lo enp17s0
iface lo inet loopback
# The primary network interface
iface enp17s0 inet static
address 109.xxx.xxx.xxx/27
netmask 255.255.255.224
network 109.xxx.xxx.xxx
gateway 109.xxx.xxx.xxx
dns-nameservers 8.8.8.8 109.xxx.xxx.xxx 109.xxx.xxx.xxx
iface enp17s0 inet static
address 109.xxx.xxx.xxx/27
dns-nameservers 8.8.8.8 109.xxx.xxx.xxx 109.xxx.xxx.xxx
iface enp17s0 inet static
address 109.xxx.xxx.xxx/27
dns-nameservers 8.8.8.8 109.xxx.xxx.xxx 109.xxx.xxx.xxx
iface enp17s0 inet static
address 109.xxx.xxx.xxx/27
dns-nameservers 8.8.8.8 109.xxx.xxx.xxx 109.xxx.xxx.xxx
everything works fine even after a reboot. All IPs respond internal and external and I can resolve both host names and ip address's.
However if i run
Code:
ifdown enp17s0 && ifup enp17s0
I get the following result, even though everything works correctly
Code:
RTNETLINK answers: Cannot assign requested address
RTNETLINK answers: Cannot assign requested address
RTNETLINK answers: Cannot assign requested address
I suppose i can live with that until i found out why
Bookmarks