1.本人也是一位小菜,最近在研究PPPOE拨号,用GNS3做了一个小实验,很简单,当然太高深的我也不会。
2.实验环境:1台3640做PPPOE SERVER 1台PC连接到本地LB口。
3.配置:R1#sh run
Building configuration...
Current configuration : 1259 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
ip domain name lab.local
!
!
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
vpdn enable
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
username cisco password 0 cisco
!
!
!
!
!
!
bba-group pppoe global
virtual-template 1
!
!
interface Loopback0
ip address 1.1.1.1 255.255.255.0
!
interface Ethernet0/0
no ip address
half-duplex
pppoe enable group global
!
interface Ethernet0/1
no ip address
shutdown
half-duplex
!
interface Ethernet0/2
no ip address
shutdown
half-duplex
!
interface Ethernet0/3
no ip address
shutdown
half-duplex
!
interface Virtual-Template1
mtu 1492
ip unnumbered Loopback0
peer default ip address pool pppoe_ip_pool
ppp authentication pap
!
ip local pool pppoe_ip_pool 10.10.1.1 10.10.3.254
no ip http server
no ip http secure-server
!
ip forward-protocol nd
!
!
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
line vty 0 4
login
!
!
end