FreeBSD + PPPOE - Linux

By Anonymous
at 2008-07-23T10:57
at 2008-07-23T10:57
Table of Contents
我的設定檔如下
#/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設定後還是不行
不知道問題出在哪
--
#/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:
Linux
All Comments

By Freda
at 2008-07-26T11:48
at 2008-07-26T11:48

By Joseph
at 2008-07-30T18:51
at 2008-07-30T18:51

By Todd Johnson
at 2008-08-01T02:21
at 2008-08-01T02:21
Related Posts
netperf 2.4.4安裝

By Linda
at 2008-07-23T10:25
at 2008-07-23T10:25
如何設定查詢quota時不要查某些地方呢?

By Connor
at 2008-07-23T07:53
at 2008-07-23T07:53
有沒有人遇到這樣的情況?

By Eartha
at 2008-07-22T22:39
at 2008-07-22T22:39
如何讓ATA硬碟正確顯示成hdx而非sdx

By Olga
at 2008-07-22T22:07
at 2008-07-22T22:07
關於DNS架設問題

By Lily
at 2008-07-22T18:21
at 2008-07-22T18:21