Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2006 11:52:01 +0300
From:      Andrew Pantyukhin <infofarmer@gmail.com>
To:        gahn <ipfreak@yahoo.com>
Cc:        mpd <mpd-users@lists.sourceforge.net>, freebsd general questions <freebsd-questions@freebsd.org>
Subject:   Re: [Mpd-users] routing issue of mpd
Message-ID:  <cb5206420601310052h2ba50e2dqcd6f8fdd287e4f4a@mail.gmail.com>
In-Reply-To: <20060131080026.90075.qmail@web52113.mail.yahoo.com>
References:  <20060131080026.90075.qmail@web52113.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1/31/06, gahn <ipfreak@yahoo.com> wrote:
> Hi:
>
> I got mpd working and logined into pptp server through
> internet. From my pc, I can ping internal interface of
> the pptp server, 192.168.128.1 (my pc address is
> 192.168.128.10). the problem is that I can't ping
> anything beyond that, such as 192.168.128.2 (it
> actually is an interface of a router, on the same
> subnet).
>
> From cmd of windows, with command "ipconfig":
>
> Ethernet adapter Local Area Connection:
>
>         Connection-specific DNS Suffix  . :
>         IP Address. . . . . . . . . . . . :
> 254.254.254.100
>         Subnet Mask . . . . . . . . . . . :
> 255.255.255.0
>         Default Gateway . . . . . . . . . :
> 254.254.254.1
>
> PPP adapter test:
>
>         Connection-specific DNS Suffix  . :
>         IP Address. . . . . . . . . . . . :
> 192.168.128.10
>         Subnet Mask . . . . . . . . . . . :
> 255.255.255.255
>         Default Gateway . . . . . . . . . :
>
> So how could I change the length of the masking of the
> ppp adapter?
>
> once I can change the length of the masking bits, then
> I can route my traffic into the rfc1918 networks that
> behind of the vpn server.
>
> the manual page of:
>
> http://www.bretterklieber.com/mpd/doc3/mpd22.html
>
> don't seem to be matter though.
>
> here is the mpd.conf:
>
> default:
>         load pptp0
>
> pptp0:
>         new -i ng0 pptp0 pptp0
>         set ipcp ranges 192.168.128.1/21
> 192.168.128.10/21
>         load common
>
> common:
>         set iface disable on-demand
>         set iface enable proxy-arp
>         set iface idle 1800
>         set iface enable tcpmssfix
>         set bundle disable multilink
>         set bundle enable compression
>         set bundle yes crypt-reqd
>         set link no pap chap
>         set link enable chap-msv2
>         set link keep-alive 10 60
>         set link enable acfcomp protocomp
>         set ipcp yes vjcomp
>         set ipcp dns 192.168.64.96
>         set ccp yes mppc
>         set ccp yes mpp-e128
>
> BTW, mpd4 seems to be not very stable; I switched back
> to 3.18 and it works fine.
>
> TIA
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat=
=3D121642
> _______________________________________________
> Mpd-users mailing list
> Mpd-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mpd-users
>

It would be strange if a ppp connection had a different
subnet mask. You really should get into some reading
on basic TCP/IP.

What you need is to setup a route, something like this:
route add 192.168.128/21 192.168.128.1



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