[Mpd-users] routing issue of mpd
Andrew Pantyukhin
infofarmer at gmail.com
Tue Jan 31 00:52:08 PST 2006
On 1/31/06, gahn <ipfreak at 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 files
> 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=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Mpd-users mailing list
> Mpd-users at 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
More information about the freebsd-questions
mailing list