2011年12月25日日曜日

pppoe

topology
Cisco(PPPOEServer)-Yamaha(PPPOEClient)


PPPOEServer
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
ip cef
!
!
!
!
!
multilink bundle-name authenticated
!        
!        
!        
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
username cisco password 0 cisco
archive
 log config
  hidekeys
!        
!
!
!
!
!
!
bba-group pppoe test
 virtual-template 1
!
bba-group pppoe test[]
!
!
interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
 pppoe enable group test
!
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface Virtual-Template1
 mtu 1454
 ip address 200.200.200.1 255.255.255.0
 peer default ip address pool test1
 ppp authentication chap
!
ip local pool test1 200.200.200.2
ip forward-protocol nd
!
!
ip http server
no ip http secure-server
!
!
!
!
!
!
!
control-plane
!
!        
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end

















client
yamaha

# Memory 16Mbytes, 2LAN
ip lan1 address 10.10.10.10/24
pp select 1
pp always-on on
pppoe use lan2
pp auth accept chap
pp auth myname cisco cisco
ppp lcp mru on 1454
ppp ipcp ipaddress on
ppp ccp type none
ip pp address 200.200.200.2/24
ip pp mtu 1454
pp enable 1
ip route default gateway pp 1
#

0 件のコメント:

コメントを投稿