วันศุกร์ที่ 21 มกราคม พ.ศ. 2554

การใช้ROUTER CISCO 1800 ทำ Authen PPoE แบบมี IP Dynamic

service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
hostname (ชื่อผู้ใช้บริการ)
boot-start-markerboot-end-marker
no aaa new-model
resource policy
mmi polling-interval 60
no mmi auto-configureno mmi pvcmmi snmp-timeout 180
ip subnet-zeroip cef
no ip dhcp use vrf connected
ip dhcp pool (ชื่อผู้ใช้บริการ)
network 192.168.1.0 255.255.255.0 (IP client)
default-router 192.168.1.254 (gateway client)
dns-server 61.19.245.245 61.19.245.246 202.129.27.135 (DNS ISP)
lease infinite
no ip domain lookup
ip name-server 61.19.245.246 (DNS ISP)
ip name-server 202.129.27.135 (DNS ISP)
virtual-profile if-neededvpdn-group 1
interface FastEthernet0/0
no ip address
duplex auto
speed auto pppoe enable
pppoe-client dial-pool-number 1
interface FastEthernet0/1
ip address 192.168.1.254 255.255.255.0 secondary
ip address 110.77.139.177 255.255.255.248 (IP dynamaic)
ip nat inside
duplex auto speed auto
interface Serial0/0/0
no ip address
shutdown
no fair-queue
clockrate 2000000
interface Dialer1
ip address negotiated
ip mtu 1492
ip nat outside
encapsulation ppp
ip tcp adjust-mss 1452 dialer pool 1
dialer-group 1
ppp authentication pap chap callin
ppp chap hostname xxxxxxxxxxxxx(username จาก ISP)
ppp chap password 0 xxxxxxxx(password จาก ISP)
ppp pap sent-username (username จาก ISP) password 0 (password จาก ISP)
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
no ip http server
ip nat inside source list 20 interface Dialer1 overload
access-list 20 permit 192.168.1.0 0.0.0.255
dialer-list 1 protocol ip permit!control-plane
line con 0 logging synchronous
line aux 0
line vty 0 4
login local
scheduler allocate 20000 1000
end

สามารถใช้งานได้เลย

ไม่มีความคิดเห็น:

แสดงความคิดเห็น