Bonjour,
J'ai un vieux pc je lui ai installé un ubuntu 18.04 avec un serveur dhcp pour partager l'internet aux clients voici la config des cartes réseaux le problème c'est que le client n'a pas d'internet :
ens5: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::225:b3ff:fe42:4986 prefixlen 64 scopeid 0x20<link>
ether 00:25:b3:42:49:86 txqueuelen 1000 (Ethernet)
RX packets 4037 bytes 381241 (381.2 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1192 bytes 162812 (162.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 17
enx00e04c534458: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.100.73 netmask 255.255.255.0 broadcast 192.168.100.255
inet6 fe80::2e0:4cff:fe53:4458 prefixlen 64 scopeid 0x20<link>
ether 00:e0:4c:53:44:58 txqueuelen 1000 (Ethernet)
RX packets 24469 bytes 1438886 (1.4 MB)
RX errors 411 dropped 123 overruns 102 frame 570
TX packets 2659 bytes 216144 (216.1 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Boucle locale)
RX packets 300 bytes 25149 (25.1 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 300 bytes 25149 (25.1 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
le contenu du fichier dhcp.conf :
option domain-name "mchux";
option domain-name-servers 8.8.8.8, 8.8.4.4;
default-lease-time 600;
max-lease-time 7200;
ddns-update-style none;
authoritative;
log-facility local7;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.101 192.168.1.200;
option subnet-mask 255.255.255.0;
option routers 192.168.1.1;
option broadcast-address 192.168.1.255;
}
ens5 c'est elle qui distribue l'internet aux client.
Pouvez vous m'aider svp ?
Cdt.