2013.10.01 14:09, hidden rašė: > route -p add 192.168.40.101 mask 255.255.255.255 192.168.50.140 > > Kur 192.168.40.101 tai ka noriu pasiekt is intraneto (konkreti mašina) > 192.168.50.140 vpn gateway (šitas būna default gateway kai > prisikonketinama su prisegtu "Use default gateway on remote network" > ir intranetas veikia). > Tikrasis vietinis kliento ip yra 192.168.60.100 > > Tačiau po komandos vietoje pridėto rules`o gaunu štai tokią vat > klaidą: > The route addition failed: Either the interface index is wrong or the > gateway does not lie on the same network as the interface. Check the > IP Address Table for the machine. aš bandyčiau pradžioje išleisti visą subnet'ą, t.y ... -p 192.168.0.0. mask 255.255.0.0 192.168.50.140. Dabar pas mane, su OpenVNP'u: IPv4 Route Table =========================================================================== Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 158.129.196.254 158.129.196.236 10 10.0.232.1 255.255.255.255 10.0.232.5 10.0.232.6 31 10.0.232.4 255.255.255.252 On-link 10.0.232.6 286 10.0.232.6 255.255.255.255 On-link 10.0.232.6 286 10.0.232.7 255.255.255.255 On-link 10.0.232.6 286 .... =========================================================================== 10.0.232.1 - VPN'o gateway'jus; 10.0.232.5 - peer'o VPN'o galas 10.0.232.6 - mano VPN'o galas -- ejs