Hot answers tagged

2

In addition to using the correct interface name, and correcting the netmask line, as suggested in comments, your file also lists the address field as 192.168.0.107 instead of 192.168.1.107. You also need to remove these two lines: auto lo enp2s0 iface lo inet loopback And replace them with: auto enp2s0 So your whole /etc/network/interfaces file ...


2

Change in /etc/network/interfaces auto lo enp2s0 iface lo inet loopback iface enp2s0 inet static address 192.168.1.107 netmask 255.255.255.0 gateway 192.168.1.1 dns-nameservers 200.45.191.35 200.45.48.233


2

Command for deny whole 91.0.0.0/8 network is sudo ufw deny from 91.0.0.0/8 when you list rules sudo ufw status you will see To Action From -- ------ ---- ... Anywhere DENY 91.0.0.0/8 This will deny any traffic from ip's witch start with 91.x.x.x But I recommend ...


1

Try to connect/evaluate the connection with the command-line utility nmcli This will give you more output about what is really happening.


1

The first thing to try in case of a failing network connection that does not lie outside the system is to restart the Network Manager service. On pre-systemd machines (like 14.04) the command is sudo service NetworkManager restart. On systemd machines you would do either systemctl restart NetworkManager or systemctl restart network-manager.


1

Pick one of the systems, set up dnsmasq (see man dnsmasq), Edit /etc/hosts on that system, restart dnsmasq, tell the others to resolve DNS through the picked system.



Only top voted, non community-wiki answers of a minimum length are eligible