Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2002 17:04:02 +0500
From:      "Dmitry A. Bondareff" <freebsd@mmk.ru>
To:        "Johan Larsson" <johan.larsson@operax.com>
Cc:        <freebsd-net@FreeBSD.ORG>
Subject:   Re: SUMMARY: Win XP with mpd
Message-ID:  <006701c284c3$723832d0$02010101@wall>
References:  <20021105124636.R53668-100000@treo.operax.com>

next in thread | previous in thread | raw e-mail | index | archive | help
FreeBSD 4.7-RELEASE
MPD-3.10

mpd.conf:
default:
        load client1

client1:
        new -i ng0 pptp0 pptp0
        load client_standard

client_standard:
        set iface disable on-demand
        set iface enable proxy-arp
        set iface idle 600
        set bundle enable multilink
        set link yes acfcomp protocomp
        set link no pap chap
        set link enable chap
        set iface mtu 1400
#       set link mtu 1460
        set link keep-alive 10 60
        set ipcp yes vjcomp
        set ipcp dns 161.8.22.2
#       set ipcp nbns 192.168.1.4
        set bundle enable compression
        set ccp yes mppc
        set ccp yes mpp-e40
        set ccp yes mpp-e128
        set ccp yes mpp-stateless

mpd.links:
pptp0:
        set link type pptp
        set pptp self X.X.X.X
        set pptp enable incoming
        set pptp disable originate

mpd.log:
Nov  5 14:30:46 wall mpd: [pptp0] IFACE: Up event
Nov  5 14:30:46 wall mpd: [pptp0] exec: /sbin/ifconfig ng0 1.1.1.1 10.0.2.2
netmask 0xffffffff -link0
Nov  5 14:30:46 wall mpd: [pptp0] no interface to proxy arp on for 10.0.2.2
Nov  5 14:30:46 wall mpd: [pptp0] exec: 1400 ng0 inet 1.1.1.1 10.0.2.2 user
Nov  5 14:30:46 wall mpd: [pptp0] exec: command returned 32512
Nov  5 14:30:46 wall mpd: [pptp0] IFACE: Up event

Best regards,
Dmitry.

----- Original Message -----
From: "Johan Larsson" <johan.larsson@operax.com>
To: "Dmitry A. Bondareff" <freebsd@mmk.ru>
Sent: Tuesday, November 05, 2002 4:49 PM
Subject: Re: SUMMARY: Win XP with mpd


> On Tue, 5 Nov 2002, Dmitry A. Bondareff wrote:
>
> > After installing mpd-3.10
> > and using in mpd.conf:
> > set iface mtu 1400
> > XP works fine and fast.
>
> Humm, you don't have any problem with it setting the mtu on the interface?
> I get this in my logs (in the terminal windows where i run mpd).
>
> [pptp1] exec: 1400 ng0 inet 192.168.1.2 192.168.1.65 johan
> 1400: not found
>
>
> >
> > There is no some tuning on the WinXP client I was make.
> >
> > Many thanks for all.
> >
> > Dmitry.
> >
> > ----- Original Message -----
> > From: "Julian Elischer" <julian@elischer.org>
> > To: "Dmitry A. Bondareff" <freebsd@mmk.ru>
> > Cc: "Archie Cobbs" <archie@dellroad.org>; "Johan Larsson"
> > <johan.larsson@operax.com>; "freebsd-net@FreeBSD.org"
> > <freebsd-net@FreeBSD.ORG>
> > Sent: Tuesday, November 05, 2002 12:21 PM
> > Subject: Re: Win XP with mpd
> >
> >
> > >
> > >
> > > On Tue, 5 Nov 2002, Dmitry A. Bondareff wrote:
> > >
> > > > I'll trying to setup mtu to 1400, why I don't see it by ifconfig
command
> > ?
> > > >
> > > > From mpd.conf:
> > > > ....
> > > >         set link mru 1400
> > > >         set link mtu 1400
> > >
> > >
> > > the link commands affect the links..
> > > this sets teh fragment size that Mulitlink ppp will use..
> > > externally you only see teh interface mtu, which is
> > > a different thing..
> > > try:
> > >
> > > set iface mtu 1400
> > >
> > >
> > > > ....
> > > >
> > > > #mpd -b
> > > >
> > > > #ifconfig -a:
> > > > ng0: flags=8890<POINTOPOINT,NOARP,SIMPLEX,MULTICAST> mtu 1500
> > > > ng1: flags=8890<POINTOPOINT,NOARP,SIMPLEX,MULTICAST> mtu 1500
> > > > ng2: flags=8890<POINTOPOINT,NOARP,SIMPLEX,MULTICAST> mtu 1500
> > > > ng3: flags=8890<POINTOPOINT,NOARP,SIMPLEX,MULTICAST> mtu 1500
> > > > ng4: flags=8890<POINTOPOINT,NOARP,SIMPLEX,MULTICAST> mtu 1500
> > > >
> > > > After connecting:
> > > > #ifconfig -a:
> > > > ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> mtu
1500
> > > >         inet 1.1.1.1 --> 10.0.2.1 netmask 0xffffffff
> > > > ng1: flags=8890<POINTOPOINT,NOARP,SIMPLEX,MULTICAST> mtu 1500
> > > > ng2: flags=8890<POINTOPOINT,NOARP,SIMPLEX,MULTICAST> mtu 1500
> > > > ng3: flags=8890<POINTOPOINT,NOARP,SIMPLEX,MULTICAST> mtu 1500
> > > > ng4: flags=8890<POINTOPOINT,NOARP,SIMPLEX,MULTICAST> mtu 1500
> > > >
> > > > After disconnected:
> > > > #ifconfig -a:
> > > > ng0: flags=8890<POINTOPOINT,NOARP,SIMPLEX,MULTICAST> mtu 1496
> > > > ng1: flags=8890<POINTOPOINT,NOARP,SIMPLEX,MULTICAST> mtu 1500
> > > > ng2: flags=8890<POINTOPOINT,NOARP,SIMPLEX,MULTICAST> mtu 1500
> > > > ng3: flags=8890<POINTOPOINT,NOARP,SIMPLEX,MULTICAST> mtu 1500
> > > > ng4: flags=8890<POINTOPOINT,NOARP,SIMPLEX,MULTICAST> mtu 1500
> > > >
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Archie Cobbs" <archie@dellroad.org>
> > > > To: "Johan Larsson" <johan.larsson@operax.com>
> > > > Cc: "Archie Cobbs" <archie@dellroad.org>; "Dmitry A. Bondareff"
> > > > <freebsd@mmk.ru>; "freebsd-net@FreeBSD.org"
<freebsd-net@FreeBSD.ORG>
> > > > Sent: Tuesday, November 05, 2002 12:04 AM
> > > > Subject: Re: Win XP with mpd
> > > >
> > > >
> > > > > Johan Larsson writes:
> > > > > > > > For a long time many peoples discussed why Win XP don't work
> > with
> > > > mpd.
> > > > > > > > May be you can help us ??
> > > > > > > > Where I can find working configs ??
> > > > > > >
> > > > > > > I've heard of some MTU problems, some of which mpd-3.10 should
> > > > address.
> > > > > >
> > > > > > It might be MTU problems. But the problem occurs for example
when i
> > ping
> > > > > > the server from the windows xp machine, some pings get lost,
some
> > times
> > > > > > you must issue the ping command a few times, or run it with -t
for a
> > > > while
> > > > > > to see them get lost. mpd-3.10 does not solve this problem
> > > > unfortunately.
> > > > >
> > > > > Try playing with the "set link mtu" and/or "set iface mtu"
commands
> > > > > to manually set the MTU values.
> > > > >
> > > > > > I might be able to fix some dumps (from ethereal) under windows
xp
> > if
> > > > you
> > > > > > want it. And of course, these pings getting lost is just an easy
way
> > of
> > > > > > seeing the problem, you also get poor performance obviously.
> > > > >
> > > > > If you can tell where the packets are being dropped, that would be
> > useful
> > > > > to know.
> > > > >
> > > > > -Archie
> > > > >
> > > > >
> >
__________________________________________________________________________
> > > > > Archie Cobbs     *     Packet Design     *
> > http://www.packetdesign.com
> > > > >
> > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > > > with "unsubscribe freebsd-net" in the body of the message
> > > > >
> > > >
> > > >
> > > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > > with "unsubscribe freebsd-net" in the body of the message
> > > >
> > >
> > >
> > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > with "unsubscribe freebsd-net" in the body of the message
> > >
> >
> >
> >
>
> --
> Johan
>
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006701c284c3$723832d0$02010101>