Section 19.2.6, Sections 19.2.6 – Westermo RedFox Series User Manual
Page 402

Westermo OS Management Guide
Version 4.17.0-0
In the example below, interface vlan2 is assigned a static primary IP address
(”192.168.11.1”) and an additional secondary IP address (”192.168.12.1”),
i.e., multinetting is used. Here the IP address netmask (255.255.255.0) for both
addresses has been written in prefix length format (’/24’).
Example
example:/config/#> interface vlan2
example:/config/iface-vlan2/#> inet static
example:/config/iface-vlan2/#> address 192.168.11.1/24
example:/config/iface-vlan2/#> address 192.168.12.1/24 secondary
example:/config/iface-vlan2/#> end
example:/config/#>
Interfaces with dynamic address assignment use DHCP to acquire their IP address
from a DHCP server, or IPCP for PPP interfaces. If no DHCP server is present,
the interface will generally end up without any IP address. The exception is the
interface with best admin distance, which will always acquire a link-local IP ad-
dress. The interface admin distance and link-local address concepts are further
described in
19.2.6
Dynamic Address Assignment and Admin Distance
An interface can be configured to retrieve its IP settings dynamically via DHCP
(VLAN interfaces) or IPCP (PPP interfaces). In addition to interface settings such
as IP address and netmask, the switch can also acquire general network settings
such as default gateway and DNS server(s) from the DHCP server, or via PPP.
More information on general network settings is given in
Multiple network interfaces can acquire their IP settings dynamically, but only
one default route, one set of DNS servers, one domain search path and one set
of NTP servers can be active at one time in the system. WeOS handles this using
a set of precedence rules. When setting up a device with automatic fail-over
between multiple upstream connections these rules are important to be aware
of.
Prior to WeOS 4.14.0 the precedence was handled by something called the pri-
mary interface. However, this has been replaced with the concept of administra-
tive distance for both static routes and interfaces. Administrative distance is also
available to dynamic routing protocols such as OSPF and RIP, see
and
, respectively.
The admin distance is a priority value ranging from 1–255, where 255 is treated
402
➞ 2015 Westermo Teleindustri AB