не могу настроить mpd5
Добавлено: 2014-09-28 3:08:44
Здравствуйте!
Помогите с настройкой mpd5!
интерфейс ng0 поднимается:
но в интет не входит!!!
вот mpd.conf:
если на PPP - всё работает !
вот ppp.conf:
возможно из-за NOARP при подключенни на mpd5
Помогите с настройкой mpd5!
интерфейс ng0 поднимается:
Код: Выделить всё
ifconfig | grep ng0
ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1492
inet xxx.xxx.xxx.xxx --> 10.128.0.0 netmask 0xffffffff
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
вот mpd.conf:
Код: Выделить всё
default:
load pppoe_client
pppoe_client:
create bundle static B1
set iface route default
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
create link static L1 pppoe
set link enable multilink
set link yes acfcomp protocomp
set link action bundle B1
set auth authname xxxx
set auth password xxxx
set link max-redial 0
set link mtu 1492
set link keep-alive 10 60
set pppoe iface re0
set pppoe service ""
open
Код: Выделить всё
ifcofig:
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1492
options=80000<LINKSTATE>
inet xxx.xxx.xxx.xxx --> 10.128.0.0 netmask 0xffffffff
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
Opened by PID 594
Код: Выделить всё
set log Phase Chat LCP IPCP CCP tun command
pppoe:
set device PPPoE:re0 # replace xl1 with your Ethernet device
allow mode direct
set cd 5
deny deflate pred1 acfcomp
set timeout 0
set lqrperiod 10
set echoperiod 10
set mtu 1492
accept lqr dns
set authname xxxx
set authkey xxx
set dial
set login
set ifaddr 0.0.0.0/0 0.0.0.0/0
add default HISADDR