华三企业网关
新增IP地址段
一,DHCP方式
1,vlan 100
2, dhcp server ip-pool vlan100 extend
network ip range 192.168.10.2 192.168.10.254
network mask 255.255.255.0
gateway-list 192.168.10.1
dns-list 202.102.192.68 202.102.199.68
quit
3, interface Vlan-interface100
ip address 192.168.10.1 255.255.255.0
dhcp server apply ip-pool vlan100
quit
4, int e0/2
port access vlan 100
quit
二,把企业网关作为PPPoE服务器
将路由器作为本地认证的PPPOE服务器
1,vlan 200
2,增加一个PPPoE客户端用于拨号的PPPOE用户winda,示例如下
<Navigator>sys
[Navigator]local-user winda
[Navigator]password simple 123456
[Navigator]service-type ppp
[Navigator]quit
3,创建并配置虚拟模板
[Navigator]interface Virtual-template 1
[Navigator]ppp authentication-mode chap domain system
[Navigator]ppp chap user winda
[Navigator]remote address pool 1
[Navigator]ip address 10.10.1.1 255.255.255.0
[Navigator]quit
4,配置PPPoE参数
[Navigator]interface Vlan-interface200
[Navigator]pppoe-server bind virtual-template 1
[Navigator]quit
5,配置域用户使用本地认证方案
[Navigator]domain system
[Navigator]authentication ppp local
6,配置用于为PPPoE客户端分配IP地址的本地IP地址池
[Navigator]domain system
[Navigator]ip pool 1 10.10.1.2 10.10.1.100
7,int e0/3
port access vlan 200
将路由器作为本地认证的PPPOE服务器
1,vlan 200
2,增加一个PPPoE客户端用于拨号的PPPOE用户winda,示例如下
<Navigator>sys
[Navigator]local-user winda
[Navigator]password simple 123456
[Navigator]service-type ppp
[Navigator]quit
3,创建并配置虚拟模板
[Navigator]interface Virtual-template 1
[Navigator]ppp authentication-mode chap domain system
[Navigator]ppp chap user winda
[Navigator]remote address pool 1
[Navigator]ip address 10.10.1.1 255.255.255.0
[Navigator]quit
4,配置PPPoE参数
[Navigator]interface Vlan-interface200
[Navigator]pppoe-server bind virtual-template 1
[Navigator]quit
5,配置域用户使用本地认证方案
[Navigator]domain system
[Navigator]authentication ppp local
6,配置用于为PPPoE客户端分配IP地址的本地IP地址池
[Navigator]domain system
[Navigator]ip pool 1 10.10.1.2 10.10.1.100
7,int e0/3
port access vlan 200
转载于:https://blog.51cto.com/sunwanglei/1149725