여기 내 문제입니다. 나는 라우터와 클라이언트 컴퓨터 (C1이라고 부름)를 가지고 있지만 C1에서 인터넷을 핑 (ping) 할 수는 없다. 결과는 다음과 같습니다대상 네트워크에 연결할 수 없습니다.
가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
....
내 라우터는 다음과 같이 구성됩니다로
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
내 클라이언트 구성 : 내가 명령을했다
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
iptables -t nat -P POSTROUTING -o eth0 -j MASQUERADE
그리고 여기 나는 모두 나를 위해 괜찮아 보이는 때문에 잃어버린 ...
다른 것이 필요한 경우 저에게 물어보고 답장을 보내 주셔서 감사합니다!