pppoe指定服务器ip,PPPoE服务器相关配置

该实验涉及配置一台路由器作为PPPoE服务器,通过AAA本地认证方式验证用户,为局域网内主机提供动态IP地址和DNS服务器。实验中设置了PPPoE接口,定义了认证模式、IP地址池和DNS,以及将接口与虚拟模板绑定。通过用户‘test’和密码‘123’进行认证,确保主机连接到因特网。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

实验内容:

用一台路由器作为PPPoE服务器,而局域网中的一台主机使用PPPoE拨号通过路由器连接到因特网。

PPPoE服务器为主机动态分配IP地址和 DNS服务器。

PPPoE服务器通过AAA本地认证 来 认证主机用户

实验拓扑:

2b05e0332154933710ac192f7ee25606.png

实验配置:

[PPPoe]interface Virtual-Template 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

[PPPoe-Virtual-Template10]ppp ipcp dns 8.8.8.8

[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

78306b810c6e1589904079ff49857ad9.png

实验验证:

4534418e3a4f32084c242cd4e4289fe4.png

492a66c49238a41f3e1db6fd91387ed8.png

b283007e7cd590fe48c76ace7370b932.png

c171b8c86bd4e131c317c7481d14147c.png

9696938dcc50e84b4e30f387125757e8.png

蔡瑞

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值