网络通信 频道

PPPoA配置说明

PC上配置PPPoA

Set IP addressing to automatically obtain an IP address.

 

Set WINS to use DHCP for WINS resolution.

 

Ensure that no default gateway is set.

 

It may be necessary to set a domain name because DHCP cannot pass this information

 

 

Cisco CPE Configuration for PPPoA

cbos>enable

Password:

 

cbos# set nat enable

NAT is now enabled

You must use "write" then reboot for changes to take effect.

 

cbos# set ppp wan0-0 login

User name for wan0-0 has been set to testcpe.

 

cbos# set ppp wan0-0 password

Password for wan0-0 has been set to cisco.

 

cbos# set ppp wan0-0 ipcp 0.0.0.0

PPP wan0-0 IPCP Address set to 0.0.0.0

 

cbos# set int wan0-0 close

cbos# set int wan0-0 vpi 1

 

cbos# set int wan0-0 vci 32

 

cbos# set int wan0-0 open

 

cbos# set int eth0 address 172.22.10.254

eth0 ip address changed from 10.0.0.1 to 172.22.10.254

 

cbos# set int eth0 netmask 255.255.255.0

eth0 netmask changed from 255.255.255.0 to 255.255.255.0

 

cbos# set dhcp server enable

DHCP Server enabled

 

cbos# set dhcp server pool 0 ip 172.22.10.0

Pool 0 IP parameter is now 172.22.10.0

 

cbos# set dhcp server pool 0 netmask 255.255.255.0

Pool 0 netmask parameter is now 255.255.255.0

 

cbos# set dhcp server pool 0 gateway 172.22.10.254

Pool 0 gateway parameter is now 172.22.10.254

 

cbos# set password exec

Exec Password Change Successful!

 

cbos# set password enable

Enable Password Change Successful!

 

cbos# write

NVRAM written.

 

Cisco DSLAM Configuration for PPPoA

hostname 6260

! Subtending Port - Will set as shutdown

interface atm0/2

shutdown

slot 1 atuc-1-4dmt

!

dsl-profile fast

dmt codeword-size downstream 16 upstream 16

dmt bitrate maximum interleaved downstream 8032 upstream 832

!

interface atm1/1

dsl profile fast

atm pvc 1 32 interface atm0/1 1 35

 

 

 

 

Cisco LS1010 Configuration for PPPoA

interface ATM 0/1/2

no ip address

no ip directed-broadcast

no ATM ilmi-keepalive

ATM pvp 1 interface ATM 0/0/2 1

 

 

 

 

Cisco 7200 Configuration for PPPoA

aaa new-model

AAA authentication ppp default local

!

!

username password

!

!

interface ATM 2/0.1 multipoint

no ip directed-broadcast

PVC 1/35

encapsulation aal5mux ppp Virtual-Template 2

!

!

interface FastEthernet 4/0

ip address 172.22.32.1 255.255.255.0

no ip directed-broadcast

!

!

interface Virtual-Template 2

ip unnumbered FastEthernet 4/0

no ip directed-broadcast

peer default ip address pool

ppp authentication pap

!

!

ip local pool 172.22.40.10 172.22.40.25

 

转载地址:http://www.net130.com/CMS/Pub/Tech/tech_instance/23411.htm

0
相关文章