0
Dans mon serveur Ubuntu 16.04 J'ai ce fichier:/etc/network/interfacesComment avoir deux NIC dans le serveur ubuntu et ne pas affecter le DNS?
# The primary network interface
auto eth0
iface eth0 inet dhcp
#auto eth1
#iface eth1 inet static
# address 10.0.0.41
# netmask 255.255.255.0
# network 10.0.0.0
# broadcast 10.0.0.255
# gateway 10.0.0.1
Le eth0 est lié à dsl, si je décommenter la section eth1 pour activer la deuxième carte réseau, je ne peux pas ping à distance serveur comme yahoo.com:
ping yahoo.com
PING yahoo.com (98.138.253.109) 56(84) bytes of data.
From 10.0.0.41 icmp_seq=1 Destination Host Unreachable
From 10.0.0.41 icmp_seq=2 Destination Host Unreachable
From 10.0.0.41 icmp_seq=3 Destination Host Unreachable