D-Link DFL-1000 [24/168] Using the command line interface

D-Link DFL-1000 [24/168] Using the command line interface
DFL-1000 User Manual
24
Using the command line interface
As an alternative to using the setup wizard, you can configure the DFL-1000 NPG using the command
line interface (CLI). To connect to the CLI, see Connecting to the command line interface (CLI)
.
Configuring the DFL-1000 NPG to run in NAT/Route mode
Use the information that you gathered in NAT/Route mode settings to complete the following procedures.
Configuring NAT/Route mode IP addresses
Log into the CLI if you are not already logged in.
Set the IP address and netmask of the internal interface to the internal IP address and netmask that
you recorded in NAT/Route mode settings
. Enter:
set system interface internal static ip <IP address> <netmask>
Example
set system interface internal static ip 192.168.1.1 255.255.255.0
Set the IP address and netmask of the external interface to the external IP address and netmask that
you recorded in NAT/Route mode settings
.
To set the manual IP address and netmask, enter:
set system interface external static ip <IP address> <netmask>
Example
set system interface external static ip 204.23.1.5 255.255.255.0
To set the external interface to use DHCP, enter:
set system interface external dhcp connection enable
To set the external interface to use PPPoE, enter:
set system interface external pppoe username <user name> password
<password> connection enable
Example
set system interface external pppoe username user@domain.com password
mypass connection enable
Optionally set the IP address and netmask of the DMZ interface to the DMZ IP address and netmask
that you recorded in DMZ interface (Optional)
. Enter:
set system interface dmz static ip <IP address> <netmask>
Example
set system interface dmz static ip 10.10.10.2 255.255.255.0
Confirm that the addresses are correct. Enter:
get system interface
The CLI lists the IP address, netmask and other settings for each of the DFL-1000 NPG interfaces as
well as the mode of the external interface (manual, DHCP, or PPPoE).
Set the default route to the default gateway IP address that you recorded in NAT/Route mode settings
(not required for DHCP and PPPoE). Enter:
set system route number <number> gw1 <IP address>
Example
set system route number 1 gw1 204.23.1.2
You have now completed the initial configuration of your DFL-1000 NPG, and you can proceed to connect
the DFL-1000 NPG to your network using the information in Connecting to your networks
.

Содержание

Скачать