FreeBSD + PPPOE - BBS
By Yuri
at 2008-07-23T13:36
at 2008-07-23T13:36
Table of Contents
※ [本文轉錄自 Linux 看板]
作者: herman602 (奸商) 看板: Linux
標題: [問題] FreeBSD + PPPOE
時間: Wed Jul 23 10:57:47 2008
我的設定檔如下
#/etc/ppp/ppp.conf
default:
set log Phase Chat LCP IPCP CCP tun command
nat enable yes
nat same_ports yes
nat use_sockets yes
set redial 10 28800
set reconnect 10 28800
pppoe:
set device PPPoE:pcn0:
set mru 1492
set mtu 1492
set speed sync
enable lqr
set lqrperiod 5
set cd 5
set dial
set login
set timeout 0
set authname [name]
set authkey [passwd]
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR
enable dns
#/etc/rc.conf
network_interfaces="auto"
ifconfig_pcn0="inet 10.0.0.1 netmask 255.0.0.0 -arp up"
ifconfig_pcn0_alias0="inet 192.168.1.254 netmask 255.255.255.0"
ppp_enable="YES"
ppp_mode="ddial"
ppp_profile="pppoe"
defaultrouter="10.0.0.1"
但是撥接之後是
http://www.badongo.com/pic/4049349
ps.我用virtual box跑
我winxp有設定橋接器
centos5已經可以成功撥接上網
但是freebsd設定後還是不行
不知道問題出在哪
--
作者: herman602 (奸商) 看板: Linux
標題: [問題] FreeBSD + PPPOE
時間: Wed Jul 23 10:57:47 2008
我的設定檔如下
#/etc/ppp/ppp.conf
default:
set log Phase Chat LCP IPCP CCP tun command
nat enable yes
nat same_ports yes
nat use_sockets yes
set redial 10 28800
set reconnect 10 28800
pppoe:
set device PPPoE:pcn0:
set mru 1492
set mtu 1492
set speed sync
enable lqr
set lqrperiod 5
set cd 5
set dial
set login
set timeout 0
set authname [name]
set authkey [passwd]
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR
enable dns
#/etc/rc.conf
network_interfaces="auto"
ifconfig_pcn0="inet 10.0.0.1 netmask 255.0.0.0 -arp up"
ifconfig_pcn0_alias0="inet 192.168.1.254 netmask 255.255.255.0"
ppp_enable="YES"
ppp_mode="ddial"
ppp_profile="pppoe"
defaultrouter="10.0.0.1"
但是撥接之後是
http://www.badongo.com/pic/4049349
ps.我用virtual box跑
我winxp有設定橋接器
centos5已經可以成功撥接上網
但是freebsd設定後還是不行
不知道問題出在哪
--
Tags:
BBS
All Comments
By James
at 2008-07-26T20:35
at 2008-07-26T20:35
By Isabella
at 2008-07-28T05:47
at 2008-07-28T05:47
By Caroline
at 2008-08-01T12:05
at 2008-08-01T12:05
Related Posts
pkg_version一直出現錯誤
By Sarah
at 2008-07-23T00:48
at 2008-07-23T00:48
QEMU in FreeBSD 7.0
By Irma
at 2008-07-21T22:38
at 2008-07-21T22:38
灌vim居然重開機(vmware)
By Agnes
at 2008-07-21T05:43
at 2008-07-21T05:43
灌vim居然重開機(vmware)
By Ivy
at 2008-07-21T01:12
at 2008-07-21T01:12
灌vim居然重開機(vmware)
By Freda
at 2008-07-20T16:47
at 2008-07-20T16:47