路由器作为 PPPoE 服务器的配置(华为)

实验内容:

  1. 用一台路由器作为PPPoE服务器,局域网中的一台主机使用PPPoE拨号通过路由器连接到因特网。
  2. PPPoE服务器为主机动态分配IP地址和 DNS服务器,且PPPoE服务器通过AAA本地认证 来 验证局域网中的主机用户。

实验拓扑:
路由器作为 PPPoE 服务器的配置(华为)

实验分析:
1, 此实验演示把PPPoE服务器功能配置在虚拟模板接口上,然后再把VT口和连接局域网主机的接口绑定。从而实现PPPoE功能。
2, 接口的Ip地址在VT接口上配置,不在以太接口上配置。
3, 只需要在AAA视图下创建本地认证用户,不需要在ppp协议接口上配置对端认证用户。

PPOE服务器配置:

[PPPoe]interface Virtual-Template 10   创建虚拟模板接口10
[PPPoe-Virtual-Template10]ppp authentication-mode chap domain rui
[PPPoe-Virtual-Template10]ip add 1.1.1.1 24
[PPPoe-Virtual-Template10]remote address pool rui  使用此地址池分配IP
[PPPoe-Virtual-Template10]ppp ipcp dns 8.8.8.8  配置分配的DNS
[PPPoe-Virtual-Template10]q
[PPPoe]ip pool rui
[PPPoe-ip-pool-rui]network 1.1.1.0 mask 24
[PPPoe-ip-pool-rui]gateway-list 1.1.1.1
[PPPoe-ip-pool-rui]inter g0/0/0
[PPPoe-GigabitEthernet0/0/0]pppoe-server bind virtual-template 10 绑定物理接口
[PPPoe-GigabitEthernet0/0/0]aaa
[PPPoe-aaa]local-user test password cipher 123
[PPPoe-aaa]local-user test service-type ppp

局域网主机的配置:
路由器作为 PPPoE 服务器的配置(华为)

实验验证:
路由器作为 PPPoE 服务器的配置(华为)

路由器作为 PPPoE 服务器的配置(华为)

路由器作为 PPPoE 服务器的配置(华为)

路由器作为 PPPoE 服务器的配置(华为)

路由器作为 PPPoE 服务器的配置(华为)


路由器作为 PPPoE 服务器的配置(华为)

转载于:https://blog.51cto.com/ruisir/2050421

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值