Local Area Networks (LANs)
TransPort LR User Guide
47
Configure a LAN
Configuring a Local Area Network (LAN) involves configuring the following items:
Required configuration items
n
Identifying which interfaces are in the LAN.
n
Enabling the LAN. LANs are disabled by default.
n
Setting an IPv4 address and subnet mask for the LAN. While it is not strictly necessary for a
LAN to have an IP address, if you want to send traffic from other networks to the LAN, you
must configure an IP address.
Additional configuration options
n
Setting a name for the LAN.
n
Setting the Maximum Transmission Unit, or packet size, for packets sent over the LAN.
From the command line
1. Set the interfaces in the LAN. For example, to include
eth2
,
eth3
, and
eth4
interfaces in
lan1
,
enter:
lan 1 interfaces eth2,eth3,eth4
2. Enable the LAN. For example, to enable
lan1
:
lan 1 state on
3. Optional: Set an IPv4 address for the LAN.
lan 1 ip-address 192.10.8.8
4. Optional: Set a subnet mask for the LAN.
lan 1 mask 255.255.255.0
5. Optional: Give a descriptive name to the LAN.
lan 1 description ethlan
6. Optional: Set the MTU for the LAN.
lan 1 mtu 1500
Related topics