Date: Fri, 18 Jun 2004 13:08:32 +0300 From: "Oleg V. Nauman" <oleg@reis.zp.ua> To: meon@ukr.net Cc: freebsd-stable@freebsd.org Subject: Re: mpd problem Message-ID: <20040618100832.GO38990@core.zp.ua> In-Reply-To: <1928425186.20040618130159@ukr.net> References: <154333791.20040617153959@ukr.net> <Pine.BSF.4.50L0.0406170625050.59867-100000@fryit.atlasta.net> <1493723026.20040618092205@ukr.net> <1928425186.20040618130159@ukr.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > options=3<rxcsum,txcsum> > inet 192.168.0.254 netmask 0xffffff00 broadcast 192.168.0.255 > ether 00:10:4b:9f:38:ec > media: Ethernet autoselect (100baseTX <full-duplex>) > status: active > xl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > options=3<rxcsum,txcsum> > inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255 > ether 00:50:04:33:e6:a9 > media: Ethernet autoselect (100baseTX <full-duplex>) > status: active > lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500 > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500 > sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552 > faith0: flags=8002<BROADCAST,MULTICAST> mtu 1500 > 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 > ============================================================= > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040618100832.GO38990>