www.bob.tw
×

Config UniFi Security Gateway by CLI

Config UniFi Security Gateway by CLI

1. Config Default-Route (Default Gateway)

use SSH by putty

default username / password  : ubnt  / ubnt

# configure

# set service dhcp-server shared-network-name net_LAN_eth1_192.168.1.0-24 subnet 192.168.1.0/24 default-router 192.168.1.1

# commit

# exit

2.Config PPPOE

# show configuration commands | grep pppoe
# set interfaces ethernet eth0 pppoe 0 user-id xxxx@hinet.net
# set interfaces ethernet eth0 pppoe 0 password xxxx
# commit
# exit

 

3.or edit config.bot

資料來源:USG not advertising default gateway