PPPoE拨号配置注意事项¶
[飞塔]Fortigate PPPOE拨号配置注意事项
Fortigate配置PPPOE拨号一般有以下两种方式,总结了踩的坑,发现这两种方式的一些差异,需要注意:¶
- 虚拟接口的方式
- 配置方法:
SQL
config system pppoe-interface
edit "pppoe"
set device "wan"
set username "user1"
set password xxxxxxxx
next
end
config system interface
edit "wan"
set vdom root
set mode static
set ip x.x.x.x/x
next
end
此方式wan接口不能set mode pppoe,如果set mode pppoe:不配账密,公网IP时有时无;配账密,会获取2个公网IP.都会造成隧道UP/DOWN翻滚,所以不能配置为pppoe。
wan口也最好不要set mode dhcp,因为现在的光猫默认都有DHCP server,set mode dhcp会产生2条默认路由(除非disable DHCP的defaultgw),影响隧道建立。
- 特性:可以在一个wan接口配置多个PPPOE虚拟接口,策略路由可自动获取网关,路由、NAT、策略、QOS等基于PPPOE虚拟接口来配置,例如:上网策略的出接口要选PPPOE虚拟接口
- 物理接口的方式
- 配置方法