ho una linux box con due interfaccie di rete:
codice:eth0 Link encap:Ethernet HWaddr 00:10:A7:19:64:89 inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:51 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:8259 (8.0 KiB) Interrupt:11 Base address:0x9400 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:26 errors:0 dropped:0 overruns:0 frame:0 TX packets:26 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2184 (2.1 KiB) TX bytes:2184 (2.1 KiB) wlan0 Link encap:Ethernet HWaddr 00:11:2F:50:A5:F1 inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2716 errors:0 dropped:0 overruns:0 frame:0 TX packets:1949 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:242112 (236.4 KiB) TX bytes:505113 (493.2 KiB) Interrupt:9 Memory:d4000000-d400ffff
e fowarding attivato
un cliente win con ip 192.168.1.2 (gw 192.168.1.1) che naviga regolarmente attraverso il moden della linux box (interfaccia ppp0)codice:echo "1" > /proc/sys/net/ipv4/ip_forward
Il mio problema e questo: perche' non riesco a pingare l'interfaccia 192.168.0.1 della linux box?
ho anche provato ad aggiungere
ma nulla...codice:route add -net 192.168.0.0 netmask 255.255.255.0 dev eth0
Inoltre e' normale che se lancio il comando route non mi viene visualizzato l'instradamento creato con
Grazie e buon anno a tutticodice:route add -net 192.168.0.0 netmask 255.255.255.0 dev eth0
![]()

Rispondi quotando