Cisco IOS 撥接 PPPoE

之前從學校拿了一台2651XM,最近發現舊的路由器跑NAT效能不太好,想說來試試看Cisco的效能

一開始折騰很久才發現原本的IOS版本沒有pppoe-client,由於沒有支援合約,所以就到網路上去下載成12.4T

這邊是主要的config,除了PPPoE,還有內網的NAT和DHCP

!
ip dhcp excluded-address 192.168.32.0 192.168.32.99
!
ip dhcp pool lan
   network 192.168.32.0 255.255.255.0
   dns-server 8.8.8.8 8.8.4.4
   default-router 192.168.32.1
!
interface FastEthernet0/0
 description WAN interface
 no ip address
 duplex auto
 speed auto
 pppoe enable
 pppoe-client dial-pool-number 1
 no cdp enable
 no mop enabled
!
interface FastEthernet0/1
 description LAN interface
 ip address 192.168.32.1 255.255.255.0
 ip nat inside
 duplex auto
 speed auto
 no mop enabled
!
interface Dialer1
 ip address negotiated
 ip mtu 1492
 ip tcp adjust-mss 1452
 ip nat outside
 encapsulation ppp
 no ip mroute-cache
 dialer pool 1
 dialer-group 1
 ppp authentication chap pap callin
 ppp chap hostname ********@hinet.net
 ppp chap password 0 your_password
 ppp pap sent-username ********@hinet.net password 0 your_password
!
ip nat inside source list 1 interface Dialer1 overload
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
no ip http server
!
access-list 1 permit 192.168.32.0 0.0.0.255
dialer-list 1 protocol ip permit
!
end

這機器我弄了很久,結果最後效能還不如同時期的家用路由器(Asus RX3041)

兩張FE介面對傳:6.38MB/s

透過PPPoE+NAT下載:2.4MB/s

留言

粗體斜體刪除線連結引用圖片程式碼

注意:您的電子信箱將不會被公開,且網站連結不會被搜尋引擎採計