Example – Westermo RedFox Series User Manual
Page 232

Westermo OS Management Guide
Version 4.17.0-0
will inform you what address to use for your subscription. The exam-
ple below uses address 192.168.5.4 and netmask 255.255.255.192 to
illustrate the method.
Example
iface vlan1006 inet static
distance 1
no management
address 192.168.5.4/26
end
With static IP assignment you would also need to set the IP address
of the default gateway and DNS server(s) (information provided by your
ISP). In the example below the default gateway has address 192.168.5.1,
and a DNS server at 192.168.5.2.
Example
ip
route default 192.168.5.1
name-server 192.168.5.2
...
end
3. Address via PPPoE: Some ISPs use PPPoE for authorisation of, and IP ad-
dress assignment to, their customers. To configure a WAN interface to
use PPPoE, a PPPoE instance is created and mapped to the associated
VLAN interface (here vlan1006). This will in turn create a PPPoE inter-
face (here pppoe0), which now acts as our WAN interface. The exam-
ple below shows the default setting for the PPPoE interface; the admin
distance and management settings are automatically copied from the
configuration of interface vlan1006.
Example
pppoe 0
iface vlan1006
ppp-advanced
identity username@provider password sEcReT
end
end
...
iface pppoe0 inet dynamic
mtu 1492
tcp-mss 1412
distance 1
no management
end
232
➞ 2015 Westermo Teleindustri AB