From owner-freebsd-net Tue Nov 5 4: 0:58 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1826B37B401 for ; Tue, 5 Nov 2002 04:00:53 -0800 (PST) Received: from ns.mmk.ru (ns1.mmk.ru [195.54.3.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id C13A443E42 for ; Tue, 5 Nov 2002 04:00:50 -0800 (PST) (envelope-from freebsd@mmk.ru) Received: from antivirus.mmk.ru (sinful [161.8.100.3]) by ns.mmk.ru (8.12.6/8.12.6) with ESMTP id gA5Bx0Af027012; Tue, 5 Nov 2002 16:59:00 +0500 (YEKT) (envelope-from freebsd@mmk.ru) Received: from wall.mmk.ru (localhost [127.0.0.1]) by antivirus.mmk.ru (8.11.6/8.11.6) with ESMTP id gA5BrqW18419; Tue, 5 Nov 2002 16:53:52 +0500 (ESK) Received: from wall (localhost [127.0.0.1]) by wall.mmk.ru (8.12.6/8.12.6) with SMTP id gA5BwU1F003425; Tue, 5 Nov 2002 16:58:35 +0500 (YEKT) (envelope-from freebsd@mmk.ru) Message-ID: <006701c284c3$723832d0$02010101@wall> From: "Dmitry A. Bondareff" To: "Johan Larsson" Cc: References: <20021105124636.R53668-100000@treo.operax.com> Subject: Re: SUMMARY: Win XP with mpd Date: Tue, 5 Nov 2002 17:04:02 +0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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" To: "Dmitry A. Bondareff" 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" > > To: "Dmitry A. Bondareff" > > Cc: "Archie Cobbs" ; "Johan Larsson" > > ; "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 mtu 1500 > > > > ng1: flags=8890 mtu 1500 > > > > ng2: flags=8890 mtu 1500 > > > > ng3: flags=8890 mtu 1500 > > > > ng4: flags=8890 mtu 1500 > > > > > > > > After connecting: > > > > #ifconfig -a: > > > > ng0: flags=88d1 mtu 1500 > > > > inet 1.1.1.1 --> 10.0.2.1 netmask 0xffffffff > > > > ng1: flags=8890 mtu 1500 > > > > ng2: flags=8890 mtu 1500 > > > > ng3: flags=8890 mtu 1500 > > > > ng4: flags=8890 mtu 1500 > > > > > > > > After disconnected: > > > > #ifconfig -a: > > > > ng0: flags=8890 mtu 1496 > > > > ng1: flags=8890 mtu 1500 > > > > ng2: flags=8890 mtu 1500 > > > > ng3: flags=8890 mtu 1500 > > > > ng4: flags=8890 mtu 1500 > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Archie Cobbs" > > > > To: "Johan Larsson" > > > > Cc: "Archie Cobbs" ; "Dmitry A. Bondareff" > > > > ; "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