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 EthernetDevice 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.4.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
Property
Value
---------------------
---------------------------
Name:
wan_ip
Address:
0.0.0.0
UserAuthGroups:
<empty>
NoDefinedCredentials:
No
Comments:
IP address of interface wan
To show the current interface assigned to the network
wan_net
:
gw-world:/> show Address IP4Address InterfaceAddresses/wan_net
Property
Value
---------------------
------------------------
Name:
wan_net
Address:
0.0.0.0/0
UserAuthGroups:
<empty>
NoDefinedCredentials:
No
Comments:
Network on interface wan
To show the current interface assigned to the gateway
wan_gw
:
gw-world:/> show Address IP4Address InterfaceAddresses/wan_gw
Property
Value
---------------------
---------------------------------
Name:
wan_gw
Address:
0.0.0.0
UserAuthGroups:
<empty>
NoDefinedCredentials:
No
Chapter 3: Fundamentals
186
Summary of Contents for NetDefendOS
Page 30: ...Figure 1 3 Packet Flow Schematic Part III Chapter 1 NetDefendOS Overview 30 ...
Page 32: ...Chapter 1 NetDefendOS Overview 32 ...
Page 144: ...Chapter 2 Management and Maintenance 144 ...
Page 284: ...Chapter 3 Fundamentals 284 ...
Page 392: ...Chapter 4 Routing 392 ...
Page 419: ... Host 2001 DB8 1 MAC 00 90 12 13 14 15 5 Click OK Chapter 5 DHCP Services 419 ...
Page 420: ...Chapter 5 DHCP Services 420 ...
Page 573: ...Chapter 6 Security Mechanisms 573 ...
Page 607: ...Chapter 7 Address Translation 607 ...
Page 666: ...Chapter 8 User Authentication 666 ...
Page 775: ...Chapter 9 VPN 775 ...
Page 819: ...Chapter 10 Traffic Management 819 ...
Page 842: ...Chapter 11 High Availability 842 ...
Page 866: ...Default Enabled Chapter 13 Advanced Settings 866 ...
Page 879: ...Chapter 13 Advanced Settings 879 ...