Hier ist mein Problem. Ich habe einen Router und einen Client-Rechner (nenne ihn C1), aber ich kann das Internet nicht über C1 anpingen. Das Ergebnis ist:Zielnetz nicht erreichbar
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 192.168.4.3 icmp_seq=1 Destination Net Unreachable
From 192.168.4.3 icmp_seq=2 Destination Net Unreachable
From 192.168.4.3 icmp_seq=3 Destination Net Unreachable
....
Mein Router als konfiguriert ist:
auto eth0
iface eth0 inet static
address 192.168.203.134
netmask 255.255.255.0
auto eth1
iface eth1 inet static
address 192.168.4.3
netmask 255.255.255.0
Mein Kunde ist so konfiguriert, wie:
auto eth0
iface eth0 inet static
address 192.168.4.100
netmask 255.255.255.0
gateway 192.168.4.3
dns-nameservers 8.8.8.8
ich den Befehl tat
iptables -t nat -P POSTROUTING -o eth0 -j MASQUERADE
Und hier Ich bin verloren, weil alles in Ordnung für mich scheint ...
Wenn Sie noch etwas brauchen, fragen Sie mich und danke für Ihre Antwort!