PPOE
PPOE
PPOE
!
interface async0/0
!
interface dialer0
ip address negotiated
ip nat outside
ppp pap sent-username 163 password 163
dialer pool 1
dialer-group 1
dialer permit-dial-null-string
!
interface virtual-template0
ip address 192.168.0.1/24
ip nat inside
peer default ip address pool ip-pool
ppp authentication chap default
compress stac;此命令需要与客户端配合(如果客户端选择了压缩,则在路由器
上要配上压缩,否则就不需要配了),否则网络注册比较慢(大概 20 秒种)!
ppp ipcp DNS 91.21.80.1
!
!Rip config
router rip
!
ip route 0.0.0.0/0 eth1/0
ip nat on
ip nat inside source list 1 interface eth1/0
line console 0
line aux 0
line vty 0
password harbour
login authentication default
line vty 1 9
我写个吧,跟楼主的一样
r1#sh run
Building configuration...
autostart = false
[localhost]
port = 7200
udp = 10000
workingdir = ..\tmp\
[[router r1]]
image = ..\ios\unzip-c7200-js-mz.123-20.bin
model = 7200
console = 3001
npe = npe-400
ram = 128
confreg = 0x2102
idlepc = 0x60671cd4
exec_area = 64
slot0 = PA-C7200-IO-FE
slot1 = PA-FE-TX
f0/0 =
NIO_gen_eth:\Device\NPF_{33C26F3F-3F38-4C0F-AB1B-B31AB3531C2C}
f1/0 =
NIO_gen_eth:\Device\NPF_{33C26F3F-3F38-4C0F-AB1B-B31AB3531C2C}