当前位置:首页 > 编程笔记 > 正文
已解决

pppoe拨号案例

来自网友在路上 156856提问 提问时间:2023-11-01 14:09:44阅读次数: 56

最佳答案 问答题库568位专家为你答疑解惑

在这里插入图片描述

R3服务端

interface LoopBack0
ip address 1.1.1.1 255.255.255.255

aaa
local-user test password cipher admin
local-user test service-type ppp

ip pool test
network 100.0.0.0 mask 255.255.255.0

interface Virtual-Template0
ppp authentication-mode chap
remote address pool test
ip address 100.0.0.1 255.255.255.0

interface GigabitEthernet0/0/0
pppoe-server bind Virtual-Template 0

interface GigabitEthernet0/0/1
pppoe-server bind Virtual-Template 0 //同一个虚拟接口可以绑定到不同的物理接口

dis pppoe-server session all
查看

R4配置

acl number 2000
rule 5 permit

interface Dialer0
link-protocol ppp
ppp chap user test
ppp chap password cipher admin
ip address ppp-negotiate
dialer user admin
dialer bundle 1
nat outbound 2000

interface GigabitEthernet0/0/0
pppoe-client dial-bundle-number 1

interface GigabitEthernet0/0/1
ip address 192.168.0.1 255.255.255.0

ip route-static 0.0.0.0 0.0.0.0 Dialer0

查看
display pppoe-client session summary

最后pc能通1.1.1.1

查看全文

99%的人还看了

猜你感兴趣

版权申明

本文"pppoe拨号案例":http://eshow365.cn/6-29382-0.html 内容来自互联网,请自行判断内容的正确性。如有侵权请联系我们,立即删除!