Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Sep 2011 01:58:48 +0300
From:      =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= <kes-kes@yandex.ru>
To:        Marco Beishuizen <mbeis@xs4all.nl>
Cc:        freebsd-questions@freebsd.org, Mike Tancsa <mike@sentex.net>
Subject:   Re[5]: vpn using pptpclient in FreeBSD
Message-ID:  <279795679.20110905015848@yandex.ru>
In-Reply-To: <alpine.BSF.2.00.1109032041430.3032@yokozuna.lan>
References:  <alpine.BSF.2.00.1108302340540.3063@yokozuna.lan> <4E5E8A93.1010006@sentex.net> <alpine.BSF.2.00.1108312159370.9385@yokozuna.lan> <123778406.20110901225021@yandex.ru> <alpine.BSF.2.00.1109012218560.2952@yokozuna.lan> <638737527.20110902093153@yandex.ru> <alpine.BSF.2.00.1109021232490.3027@yokozuna.lan> <523859952.20110903211416@yandex.ru> <alpine.BSF.2.00.1109032041430.3032@yokozuna.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
Здравствуйте, Marco.

Вы писали 3 сентября 2011 г., 21:55:37:

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

>> Please describe your networks fully
>>
>> also I ask to send output of:
>> ifconfig
>> netstat -nr

MB> My computer has IP 192.168.1.11, and sits behind a ADSL router which has
MB> IP 192.168.1.1, the router is the gateway to the internet. IP adresses are
MB> assigned by DHCP. The vpn network of the university I would like to 
MB> connect to has the adress vpn-eur-pptp.eur.nl. The IP range of the 
MB> university is 130.115.x.x.

MB> My ifconfig and netstat when mpd5 is not running:

MB> em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500

MB> options=209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC>
MB>          ether 00:0e:0c:3d:e1:6d
MB>          inet6 fe80::20e:cff:fe3d:e16d%em0 prefixlen 64 scopeid 0x4
MB>          inet 192.168.1.11 netmask 0xffffff00 broadcast 192.168.1.255
MB>          nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
MB>          media: Ethernet autoselect (1000baseT <full-duplex>)
MB>          status: active
MB> fwe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
MB>          options=8<VLAN_MTU>
MB>          ether 02:02:3c:06:08:57
MB>          ch 1 dma -1
MB> fwip0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
MB>          lladdr 0.2.3c.1.1.6.8.57.a.2.ff.fe.0.0.0.0
MB> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
MB>          options=3<RXCSUM,TXCSUM>
MB>          inet 127.0.0.1 netmask 0xff000000
MB>          inet6 ::1 prefixlen 128
MB>          inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
MB>          nd6 options=3<PERFORMNUD,ACCEPT_RTADV>

MB> Internet:
MB> Destination        Gateway            Flags    Refs      Use  Netif Expire
MB> default            192.168.1.1        UGS         0    59590    em0
MB> 127.0.0.1          link#7             UH          0      354    lo0
MB> 192.168.1.0/24     link#4             U           0       92    em0
MB> 192.168.1.11       link#4             UHS         0        0    lo0

MB> My ifconfig and netstat when mpd5 is running:

MB> em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500

MB> options=209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC>
MB>          ether 00:0e:0c:3d:e1:6d
MB>          inet6 fe80::20e:cff:fe3d:e16d%em0 prefixlen 64 scopeid 0x4
MB>          inet 192.168.1.11 netmask 0xffffff00 broadcast 192.168.1.255
MB>          nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
MB>          media: Ethernet autoselect (1000baseT <full-duplex>)
MB>          status: active
MB> fwe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
MB>          options=8<VLAN_MTU>
MB>          ether 02:02:3c:06:08:57
MB>          ch 1 dma -1
MB> fwip0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
MB>          lladdr 0.2.3c.1.1.6.8.57.a.2.ff.fe.0.0.0.0
MB> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
MB>          options=3<RXCSUM,TXCSUM>
MB>          inet 127.0.0.1 netmask 0xff000000
MB>          inet6 ::1 prefixlen 128
MB>          inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
MB>          nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
MB> ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0
MB> mtu 1456
MB>          inet 130.115.77.12 --> 130.115.3.34 netmask 0xffffffff
MB>          inet6 fe80::20e:cff:fe3d:e16d%ng0 prefixlen 64 scopeid 0x8
MB>          nd6 options=3<PERFORMNUD,ACCEPT_RTADV>

MB> Internet:
MB> Destination        Gateway            Flags    Refs      Use  Netif Expire
MB> default            192.168.1.1        UGS         0    59807    em0
MB> 127.0.0.1          link#7             UH          0      354    lo0
MB> 130.115.0.0/16     130.115.3.34       UGS         0        0    ng0
MB> 130.115.3.34       link#8             UH          0        4    ng0
MB> 130.115.77.12      link#8             UHS         0        0    lo0
MB> 192.168.1.0/24     link#4             U           0       92    em0
MB> 192.168.1.11       link#4             UHS         0        0    lo0

MB> Hope this clears things up.

MB> Regards,
MB> Marco


As I have so, you
 1. Successfully connect to university
MB> ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0
MB> mtu 1456
MB>          inet 130.115.77.12 --> 130.115.3.34 netmask 0xffffffff
MB>          inet6 fe80::20e:cff:fe3d:e16d%ng0 prefixlen 64 scopeid 0x8
MB>          nd6 options=3<PERFORMNUD,ACCEPT_RTADV>

 2. You also have route to it
MB> 130.115.0.0/16     130.115.3.34       UGS         0        0    ng0

so you are done, are not?

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?279795679.20110905015848>