vpn using pptpclient in FreeBSD

Коньков Евгений kes-kes at yandex.ru
Sat Sep 3 18:14:22 UTC 2011


Здравствуйте, Marco.

Вы писали 2 сентября 2011 г., 13:42:23:

MB> On Fri, 2 Sep 2011, the wise Коньков Евгений wrote:

>>> set iface route 130.115.0.0/16
>> you say that behind tunnele thereis 130.115.0.0/16 subnet, but
>> MB> [B1]   130.115.85.11 -> 130.115.3.35
>> you have address from subnet 130.115.0.0/16 addres on local machine
>> so you get this message:
>> MB> Loop detected on ng0
>>
>> add routes only for subnets that on the other end of tunnel and not
>> local
>>>> set iface route 130.115.0.0/16
>>
>> also you may remove  'iface route' from config. and setup tunnel.
>> after that try to ping the other end: ping 130.115.3.35
>> add route by hand:
>> # route add XXXXXXXX/X 130.115.3.35
>> # route add YYYYYYYY/Y 130.115.3.35

MB> My local machine has ip 192.168.x.x. IP 130.115.x.x is the university 
MB> network I want to connect to. When setting the "iface route" to 
MB> 192.168.0.0/16, the connection doesn't work either:
MB> ...
MB> [B1] IPCP: state change Ack-Sent --> Opened
MB> [B1] IPCP: LayerUp
MB> [B1]   130.115.77.2 -> 130.115.3.34
MB> [B1] IFACE: Add route 192.168.1.0/24 130.115.3.34 failed: File exists
MB> [B1] IFACE: Up event
MB> ...

MB> With the "iface route" removed, the other end 130.115.3.34 is not 
MB> pingable, so there is no connection in this case.

MB> Marco

Please describe your networks fully

also I ask to send output of:
ifconfig
netstat -nr

-- 
С уважением,
 Коньков                          mailto:kes-kes at yandex.ru



More information about the freebsd-questions mailing list