ETHERNET INTERFACE
Download the complete Imola/Lipari User Guide at www.tiesse.com
INTERFACE CONFIGURATION
Ethernet interfaces are called eth0 and eth1. The first is on the left and it is normally used as a service port
or as WAN port to connect to the network to external devices, leaving internal network tasks to the eth1
interface. The LAN switch (if present) is connected to the eth1 port.
In LX models the 4-port LAN switch is connected to the eth0 port.
In order to set the IP address of an Ethernet interface the following CLI command is used:
set eth0|eth1 ipaddr <ip_address> [netmask <netmask> broadcast <broadcast>]
For example, in order to configure an eth0 interface with 10.10.9.1/16 IP address, specifying the broadcast
mode, the command is:
set eth0 ipaddr 10.10.9.1 netmask 255.255.0.0 broadcast 10.10.255.255
It is possible to enable the dynamic NAT over all outbound packets from the interface using:
set eth0 masquerade
The DHCP Client service can be set or removed for each Ethernet interface using the commands:
set eth0|eth1 dhcp-client
set eth0|eth1 no-dhcp-client
It is possible to activate (or deactivate) a description of the Ethernet interface given back by the SNMP agent
(if configured and active), by querying the Mib_II ifDescr variable, using the following commands:
set eth0|eth1 description|no-description <value>
It is possible to set the type of Ethernet connection avoiding the auto negotiation process:
set eth0|eth1 speed <my description>
where value can have one of the following values:
100BaseT4 100BaseTx-FD 10BaseT 10BaseT-HD
100BaseTx 100BaseTx-HD 10BaseT-FD 1000BaseT-FD 1000BaseT-HD
In case the switch is present, the connection parameters must be set by specific commands, which are
described in the relative switch section.
On Imola-LX models and some Lipari as well, there is only the eth0 port.
DISPLAYING INTERFACE STATUS
In order to display the configuration of an interface, the following CLI command is used:
ifconfig eth0|eth1|ppp0|wwan0|…other interface|
Which shows:
IP address
Netmask
Broadcast