===========================================
PF
===========================================
IPv4
Enabled
IPv6
Disabled
設定維護模式 – 手動
administrator@cli> net -a mod -f ipv4 -m -c 1 -s
"primaryip=192.168.20.101, primaryipmask=255.255.255.0,
gateway=192.168.20.1"
administrator@cli> net -a mod -f ipv4 -m -c 2 -s
"primaryip=192.168.20.102, primaryipmask=255.255.255.0,
gateway=192.168.20.1"
執行維護模式設定 – DHCP
IPv4
DHCP
DHCP
administrator@cli> net -a mod -f ipv4 -m -c 1 -s "dhcp=enable"
administrator@cli> net -a mod -f ipv4 -m -c 2 -s "dhcp=enable"
驗證設定
administrator@cli> net -m
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
CtrlId: 1
ProtocolFamily: IPv4 (Enabled)DHCP: Enabled
IP: 192.168.20.63
IPMask: 255.255.255.0
MAC: 00:01:55:60:18:60
DNS: 192.168.20.101
閘道 :192.168.20.1
CtrlId: 1
ProtocolFamily: IPv6 (Disabled)DHCP: Disabled
IP: 2001 : : 2
IPMask: f f f f : :
MAC: 00:01:55:60:18:60
DNS: : :
Gateway: : :
Status
IP
192.168.20.63Up
2001 : : 1 Up
net -m
Port: 1
Port: 1
Link
Enter
Enter
269
工作 7:設定管理連接埠
Enter