mpd problem
Oleg V. Nauman
oleg at reis.zp.ua
Fri Jun 18 10:10:00 GMT 2004
On Fri, Jun 18, 2004 at 01:01:59PM +0300, meon at 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
More information about the freebsd-stable
mailing list