Hp procurve 7203 and adsl to internet
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
hostname "ADSL-Router"
ip routing
ip firewall
ip dhcp-server excluded-address 172.16.10.1
ip dhcp-server pool "pool-for-lan"
network 172.16.10.0 255.255.255.0
domain-name "hnjsj.com"
dns-server 202.102.224.68
netbios-node-type h-node
default-router 172.16.10.1
lease 1
interface eth 0/1
ip address 172.16.10.1 255.255.255.0
access-policy FROM-LAN
no shutdown
interface eth 0/2
no ip address
shutdown
interface adsl 1/1
training-mode multi-mode
no shutdown
interface atm 1 point-to-point
no shutdown
bind 1 adsl 1/1 atm 1
interface atm 1.1 point-to-point
no shutdown
pvc 8/35
no ip address
interface ppp 1
ip address negotiated
no fair-queue
ppp chap hostname id-given-by-isp
ppp chap password pw-given-by-isp
no shutdown
bind 2 atm 1.1 ppp 1 pppoe-client
ip access-list extended lan-acl
remark used for Nat
permit ip any any
ip policy-class FROM-LAN
nat source list lan-acl interface ppp 1 overload
end
转载于:https://blog.51cto.com/jianfei/44147