vpn using pptpclient in FreeBSD

Marco Beishuizen mbeis at xs4all.nl
Sat Sep 3 18:56:10 UTC 2011


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

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

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

My ifconfig and netstat when mpd5 is not running:

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

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

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

My ifconfig and netstat when mpd5 is running:

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

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

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

Hope this clears things up.

Regards,
Marco

-- 
If you keep your mind sufficiently open, people will throw a lot of
rubbish into it.
 		-- William Orton


More information about the freebsd-questions mailing list