Re: 請問ADSL固定IP設定
請問一下各位先進,我也有設定固定 IP, 但是 FBSD 中的設定還不是很清楚,
所以總是只在 rc.conf 中設為 DHCP 的方式才能上網,
請問我的設定要改些什麼地方才會以該固定 IP 連線呢?
我的 /etc/rc.conf
ppp_enable="YES"
ppp_mode="ddial"
ppp_nat="NO"
ppp_profile="pppoe"
ifconfig_rl0="inet 220.134.xx.xx"
# ifconfig_rl0="DHCP"
/etc/ppp/ppp.conf
pppoe:
set device PPPoE:rl0
set mtu 1492
set speed sync
enable lqr
set lqrperiod 5
set cd 5
set dial
set login
set timeout 0
set authname xxxxxxxx@ip.hinet.net
set authkey *********
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
set dns 168.95.192.1
※ 引述《Ln.bbs@horse.me.cycu.edu.tw (最糟糕的狀況....)》之銘言:
> ※ 引述《darksnow.bbs@bbs.cs.nthu.edu.tw (darksnow)》之銘言:
> : hinet非固定制的都要用PPPoE吧....
> 我找到方法了
> 設定ppp.conf後
> rc.conf就可以指定到這個ip了...更一搬固定ip的差別只有在
> 需要設定ppp.conf
--
"There are no differences but differences of degree between
different degrees of difference and no difference at all."
- William James, under the influence of nitrous oxide.
--
【芭樂的故鄉 bala.twbbs.org】 From:218-163-156-129.dynamic.hinet.net
討論串 (同標題文章)
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章