max@max-P35-Platinum-MS-7345:~$ cat /etc/network/interfaces ; ip a ; ip r ; ping -c2 8.8.8.8 ; nslookup ya.ru 8.8.8.8
# interfaces(5) file used by ifup(
and ifdown(
auto lo eth0 eth1
iface lo inet loopback
iface eth0 inet static
address 192.168.1.25
netmask 255.255.255.0
gateway 192.168.1.1
iface eth1 inet static
address 192.168.1.25
netmask 255.255.255.0
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 00:19:db:d0:9d:67 brd ff:ff:ff:ff:ff:ff
connect: Network is unreachable
;; connection timed out; no servers could be reached