From owner-freebsd-stable@FreeBSD.ORG Fri Jun 18 10:10:00 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73C2A16A4CE for ; Fri, 18 Jun 2004 10:10:00 +0000 (GMT) Received: from core.zp.ua (core.zp.ua [193.108.112.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2943F43D2D for ; Fri, 18 Jun 2004 10:09:57 +0000 (GMT) (envelope-from oleg@core.zp.ua) Received: from core.zp.ua (oleg@localhost [127.0.0.1]) by core.zp.ua with ESMTPœ id i5IA8XmT053960; Fri, 18 Jun 2004 13:08:33 +0300 (EEST) (envelope-from oleg@core.zp.ua)œ Received: (from oleg@localhost) by core.zp.ua id i5IA8Xt5053959; Fri, 18 Jun 2004 13:08:33 +0300 (EEST) Date: Fri, 18 Jun 2004 13:08:32 +0300 From: "Oleg V. Nauman" To: meon@ukr.net Message-ID: <20040618100832.GO38990@core.zp.ua> Mail-Followup-To: meon@ukr.net, freebsd-stable@freebsd.org References: <154333791.20040617153959@ukr.net> <1493723026.20040618092205@ukr.net> <1928425186.20040618130159@ukr.net> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <1928425186.20040618130159@ukr.net> User-Agent: Mutt/1.5.6i cc: freebsd-stable@freebsd.org Subject: Re: mpd problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2004 10:10:00 -0000 On Fri, Jun 18, 2004 at 01:01:59PM +0300, meon@ukr.net wrote: > > mpd 3.18 > > FreeBSD 4.9-RELEASE > > Mpd kill default route , after interface up. > > uname -a > FreeBSD 4.9-RELEASE FreeBSD 4.9-RELEASE #2: Tue Jun 15 11:08:21 GMT 2004 > ========================================================================= > # ifconfig -a > xl0: flags=8843 mtu 1500 > options=3 > inet 192.168.0.254 netmask 0xffffff00 broadcast 192.168.0.255 > ether 00:10:4b:9f:38:ec > media: Ethernet autoselect (100baseTX ) > status: active > xl1: flags=8843 mtu 1500 > options=3 > inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255 > ether 00:50:04:33:e6:a9 > media: Ethernet autoselect (100baseTX ) > status: active > lp0: flags=8810 mtu 1500 > lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > ppp0: flags=8010 mtu 1500 > sl0: flags=c010 mtu 552 > faith0: flags=8002 mtu 1500 > ng0: flags=8890 mtu 1500 > ng1: flags=8890 mtu 1500 > ng2: flags=8890 mtu 1500 > ============================================================= > netstat -rn > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expire > default 192.168.0.25 UGSc 0 0 xl0 > 127.0.0.1 127.0.0.1 UH 0 0 lo0 > 192.168.0 link#1 UC 2 0 xl0 > 192.168.0.25 00:50:04:33:e6:b8 UHLW 1 6 xl0 922 > 192.168.0.31 00:50:04:34:77:99 UHLW 1 127 xl0 1197 > 192.168.2 link#2 UC 0 0 xl1 > ============================================ > mpd.conf > default: > load client0 > load client1 > load client2 > client0: > new -i ng0 pptp0 pptp0 > set iface enable on-demand > set iface disable proxy-arp set iface addrs 172.16.1.1 172.16.1.2 > set iface idle 0 > set bundle disable multilink > set link yes acfcomp protocomp > set link no pap chap > set link enable chap > set link keep-alive 10 60 > set link mtu 1460 > set ipcp yes vjcomp > set ipcp ranges 172.16.1.1 172.16.1.2/32 > set ipcp dns 192.168.0.25 > client1: > new -i ng1 pptp1 pptp1 > set iface enable on-demand > set iface disable proxy-arp > set iface idle 0 > set bundle disable multilink > set link yes acfcomp protocomp > set link no pap chap > set link enable chap > set link keep-alive 10 60 > set link mtu 1460 > set ipcp yes vjcomp > set ipcp ranges 172.16.1.1 172.16.1.3/32 > set ipcp dns 192.168.0.25 > client2: > new -i ng2 pptp2 pptp2 > set iface enable on-demand > set iface disable proxy-arp > set iface idle 0 > set bundle disable multilink > set link yes acfcomp protocomp > set link no pap chap > set link enable chap > set link keep-alive 10 60 > set link mtu 1460 > set ipcp yes vjcomp > set ipcp ranges 172.16.1.1 172.16.1.4/32 > set ipcp dns 192.168.0.25 > ======================================================== > mpd.secret > user **** 172.16.1.2 > user1 **** 172.16.1.3 > user2 **** 172.16.1.4 > ======================================================== > mpd.links > pptp0: > set link type pptp > set pptp enable incoming > set pptp disable originate > pptp1: > set link type pptp > set pptp enable incoming > set pptp disable originate > pptp2: > set link type pptp > set pptp enable incoming > set pptp disable originate > ======================================================== > ======================================================== > ======================================================== > [pptp2:pptp2] mpd: PPTP connection from 192.168.2.2:1107 > pptp0: attached to connection with 192.168.2.2:1107 > [pptp1] IFACE: Open event > [pptp1] setting interface ng1 MTU to 1500 bytes > [pptp1] exec: /sbin/ifconfig ng1 0.0.0.0 0.0.0.0 netmask 0xffffffff link0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > [pptp1] exec: command returned 256 > [pptp1] exec: /sbin/route add 0.0.0.0 -iface lo0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [dd] -- NO37-RIPE