H3C路由器/防火墙通过CLI命令行配置PPPOE拨号上网
H3C 路由设备在 G1/0/3 接口上面配置 PPPOE 拨号,并在此接口上面开启 NAT 功能:
dialer‐group 1 rule ip permit
interface dialer 1
dialer bundle enable
dialer‐group 1
ip address ppp‐negotiate
ppp ipcp dns admit‐any
ppp ipcp dns request
dialer timer idle 0
ppp chap password simple 123456 ppp chap user hz123456
ppp pap Local‐user hz123456 password simple 123456
tcp mss 1024
nat outbound
quit
interface GigabitEthernet 1/0/3
pppoe‐client dial‐bundle‐number 1
quit
ip route‐static 0.0.0.0 0 dialer 1