D-Link DFL-260E User Manual page 99

Network security firewall netdefendos version 2.27.03
Hide thumbs Also See for DFL-260E:
Table of Contents

Advertisement

3.3.2. Ethernet Interfaces
The difference between logical and physical interfaces can sometimes be confusing. The logical
Ethernet interfaces are those which are referred to in a NetDefendOS configuration. When using the
Web Interface, only the logical interfaces are visible and can be managed.
When using the CLI, both the logical and physical interfaces can be managed. For example, to
change the name of the logical interface if1 to be lan, the CLI command is:
gw-world:/> set Interface Ethernet if1 Name=lan
This changes the logical name of the interface (and all references to it) but does not change the
underlying physical name. For example, the CLI command ifstat shows the names of only the
physical interfaces and this list is unaffected by the above name change.
In the CLI, a physical interface is represented by the object EthernetInterface. To display all the
characteristics of an interface, for example for interface if1, the CLI command is:
gw-world:/> show EthernetInterface if1
The output from this command shows details about the physical Ethernet card including the bus, slot
and port number of the card as well as the Ethernet driver being used. These details are not relevant
to the logical interface object associated with the physical interface.
3.3.2.1. Useful CLI Commands for Ethernet Interfaces
This section summarizes the CLI commands most commonly used for examining and manipulating
NetDefendOS Ethernet interfaces.
Ethernet interfaces can also be examined through the Web Interface but for some operations the CLI
must be used.
Showing Assigned Interfaces
To show the current interface assigned to the IP address wan_ip:
gw-world:/> show Address IP4Address InterfaceAddresses/wan_ip
---------------------
UserAuthGroups:
NoDefinedCredentials:
To show the current interface assigned to the network wan_net:
gw-world:/> show Address IP4Address InterfaceAddresses/wan_net
---------------------
UserAuthGroups:
NoDefinedCredentials:
To show the current interface assigned to the gateway wan_gw:
gw-world:/> show Address IP4Address InterfaceAddresses/wan_gw
---------------------
Property
Value
---------------------------
Name:
wan_ip
Address:
0.0.0.0
<empty>
No
Comments:
IP address of interface wan
Property
Value
------------------------
Name:
wan_net
Address:
0.0.0.0/0
<empty>
No
Comments:
Network on interface wan
Property
Value
---------------------------------
Name:
wan_gw
99
Chapter 3. Fundamentals

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents