Interface and DHCP

Overview

Network Interface Configuration lets the User configure the interfaces of the Gateway. These interfaces include Ethernet, VLAN, Bond, and Bridge.

All the RansNet Appliances comes with Gigabit Ethernet interfaces and each interface by default is in routing/Layer-3 mode. The logical interfaces are configured for specific purposes and they require specific settings, which are illustrated in below sections.

Below is a list of common settings available for all interfaces:

  • enable or disable
  • ip address setting (mbox support multiple IP addresses per physical or logical interface, for both IPv4 and IPv6 addresses).
  • MAC address setting. It is possible to change the default MAC address of each interface. Only do this for a specific reason that you’re fully aware of.
  • MTU size
  • Duplex and speed (physical interface only)

Virtual Lan (VLAN)-(802.1Q)

User can use a RansNet device to support multiple VLANs on a physical interface using standard 802.1Q, which is the networking standard that supports virtual LANs (VLANs) on an Ethernet network. In other words, the User can configure a physical interface into multiple logical interface and assign/tag each logical interface into a virtual network (VLAN). Each logical VLAN interface is also called a sub-interface.

Bonding interface (LACP)

It’s possible to combine multiple mbox physical interfaces into one logical interface to achieve higher throughput and interface/link redundancy. Typically we call this link aggregation or link bonding.

RansNet Appliances supports various bonding modes depending on objectives. The most commonly used is 802.3ad/LACP, which is compatible with other upstream/downstream switches running the same protocol.

Types of Bond Modes

  • Round-robin (balance-rr) Transmit network packets in sequential order from the first available network interface (NIC) slave through the last. This mode provides load balancing and fault tolerance.
  • Active-backup (active-backup) Only one NIC slave in the bond is active. A different slave becomes active if, and only if, the active slave fails. The single logical bonded interface’s MAC address is externally visible on only one NIC (port) to avoid distortion in the network switch. This mode provides fault tolerance.
  • IEEE 802.3ad Dynamic link aggregation (802.3ad/LACP) Creates aggregation groups that share the same speed and duplex settings. Utilizes all slave network interfaces in the active aggregator group according to the 802.3ad specification.
  • Transmit based on (Source MAC xor Destination MAC)
  • Adaptive transmit load balancing
  • Adaptive load balancing

When configuring bonding interfaces, following conditions applies:

  • all interfaces belonging to the same switching domain must be assigned to the same bonding instance (bond-group)
  • All bonded interfaces will have the same MAC address (don’t do this on eth0!)
  • No IP on bonded interfaces, only assign IP address on the logical bond interface.
  • Connected peer (eg. switch ports) must support and be enabled with bonding (802.3ad)
  • All links assigned to the same bonding group must have exactly the same performance and quality, eg. same speed and same latency. Any variation/difference from one of the links can drastically affect the overall bonding results.

.

Bridge Interface

By default all CMG/HSG/UA/HSA interfaces are layer 3 interfaces (routed mode), Hosts coming in from different interfaces have to be routed across mbox to communicate. Sometimes it’s desirable to allow them to communicate directly, eg. bridge wireless users and LAN users.

mbox support 802.D ethernet bridging, which allows Hosts connected to different mbox interfaces to communicate directly, by assigning them into the same bridge. Hosts connected to the same bridge belong to the same layer-2 segment and will have the same network subnet/mask.

Notice Title

All interface can be set as DHCP mode

Ethernet Interface

User can access the Ethernet Interface from the dropdown menu by clicking on the tab when editing the Gateway. User can click the interface name in the ‘Ethernet‘ column to edit it.

Image 1: List of Ethernet Interface

Fields of Interface List UI

FieldsDescription
NameInterface name ex: eth0,eth1,br1
TypeType of interface configured. ex: Ethernet Physical, Bridge (Software Switch)
EnableDisplays the Enable/Disable status of the interface
Operating StatusShow the upload and download data
IP/NetworkShows the Ip address configured to each interface
DescriptionUser’s input for reference
DHCP ServerDHCP enabled/disabled status of the interface.
Membersmembers of Interface for Bridge/Bond type
ActionTo check the status , delete, Arp table and DHCP Lease info.
Table 1 : The Fields of Ethernet Interface Settings List

New Ethernet Interface

  1. To create new ethernet interface, click on the button then from the Interface type select ‘Ethernet (Physical)‘ as shown below.
  2. Click on button to add the interface to configure.

NOTE

The Interface UI has Settings and DHCP Server tab. User can configure the values of the interface settings and also the DHCP Server settings as per the below fields.
Settings : Interface name, Admin status, IP4/IP6 and other settings.
DHCP Server: DHCP Server status, DNS server, Default Gateway, DHCP Pool, DHCP Option and Additional DHCP Pools.
.

Interface Settings Parameters UI

Fields of Ethernet Interface – Settings

SectionFieldsDescription
New/Edit Ethernet
Ethernet NameConfigure interface with ip address and other information like Link speed, Proxy ARP, MTU Size, etc
Admin StatusEnable/Disable the physical port
IPv4 Address/NetmaskThis field supports three connection type:
01. PPPoEAllows mbox to dial to ISP DSL service
02. Static IP AddressManually set an IP address and subnet.
03. DHCP: Set IP address to an interface from upstream device
IPv6 AddressStatic IP AddressManually set an IP address
Other SettingsThis field supports eight optional configuration types:
01. DynDNS – Dynamic DNS keeps DNS updated with a site’s correct IP address, even if it changes frequently
02. Link Speed/Duplex – Communication system is a P2P system composed of 2 or more connected parties.
03. MTU Size – It is most used in reference to packet size on an Ethernet network using the Internet Protocol (IP)
04. Proxy ARP –
05. VRRP (High Availability) –
06. Route Metric –
DescriptionUser’s input for reference
Table 2 : Fields to configure Ethernet Interface – Settings

.

Ethernet Interface – DHCP Server

Interface DHCP Server Parameters UI

Fields of Ethernet Interface – DHCP Server

SectionFieldsDescription
DHCP Server
DNS Servers
Router (default gateway)
DHCP Pool RangeIssues IP Address to device from defined pool
DHCP Options01. Static MAC-IP – ?
02. MTU Size – It is most used in reference to packet size on an Ethernet network using the Internet Protocol (IP)
03. Domain –
04. Lease Time –
05. Option 42 – Enables Time Synchronization of the client.
06. Option 43 –
07. Option 66 –
08. Option 150 –
09. Option 242 –
DHCP DescriptionUser’s input for reference
Additional DHCP PoolsFor non-attached networks
Table 3 : Field to configure Ethernet Interface – DHCP Server settings

CONFIGURATION STEPS

  • Access to mbox through console or CLI. See Device console access link
  • Identify the interface to configure.
  • Enter into interface configuration mode and change specific settings.

NOTE

SUMMARY PROCEDURE (ETHERNET)

enable
configure
interface eth[number]
enable / no enable
ip address [ip_address/prefix] (no ip address [ip_address/prefix])

.

VLAN Interface

User can access the VLAN Interface from the dropdown menu by clicking on the tab when editing the Gateway. User can click the interface name in the ‘VLAN ID‘ column to edit it.

Image 2: List of Ethernet Interface

New VLAN Interface

  1. To create new ethernet interface, click on the button then from the Interface type select ‘VLAN (Sub-Interface)‘ as shown below.
  2. Click on button to add the interface to configure.

Fields of VLAN Interface – Details

FieldsDescription
VLAN IDThe VLAN interface-id number, ex:
Main InterfacePhysical Interface to map sub-interface
Admin StatusTo enable/disable the logical interface
IP AddressThis field supports 2 connection type to connect to another network
01. PPPoEAllows mbox to dial to ISP DSL service
02. Static IP AddressManually set an IP address and subnet.
03. DHCP: Set IP address to an interface from upstream device
IPv6 AddressStatic IP AddressManually set an IP address
Other SettingsThis field supports eight optional configuration types:
01. DynDNS – Dynamic DNS keeps DNS updated with a site’s correct IP address, even if it changes frequently
02. Link Speed/Duplex – Communication system is a P2P system composed of 2 or more connected parties.
03. MTU Size – It is most used in reference to packet size on an Ethernet network using the Internet Protocol (IP)
04. Proxy ARP –
05. VRRP (High Availability) –
06. Route Metric –
DescriptionUser’s input for reference
Table 4 : Parameters to configure VLAN Interface

.

VLAN Interface – DHCP Server

Interface DHCP Server Parameters UI

Fields of Ethernet Interface – DHCP Server

SectionFieldsDescription
DHCP Server
DNS Servers
Router (default gateway)
DHCP Pool RangeIssues IP Address to device from defined pool
DHCP Options01. Static MAC-IP – ?
02. MTU Size – It is most used in reference to packet size on an Ethernet network using the Internet Protocol (IP)
03. Domain –
04. Lease Time –
05. Option 42 – Enables Time Synchronization of the client.
06. Option 43 –
07. Option 66 –
08. Option 150 –
09. Option 242 –
DHCP DescriptionUser’s input for reference
Additional DHCP PoolsFor non-attached networks
Table 3 : Field to configure Ethernet Interface – DHCP Server settings

CONFIGURATION STEPS

  • Access to mbox through console or CLI. See Device console access link
  • Identify the interface to configure.
  • Enter into interface configuration mode and change specific settings.

NOTE

SUMMARY PROCEDURE (ETHERNET)

enable
configure
interface vlan[Physical interface No.| VLAN ID]
enable / no enable

Bond Interface

User can access the Bond Interface from the dropdown menu by clicking on the tab and click on the menu when adding/editing the Gateway/Branch. User can also click the interface name below the ‘Type‘ column to amend the interface settings.

Image 2: List of Ethernet Interface

Fields of Interface List UI

FieldsDescription
NameInterface name ex: eth0,eth1,br1
TypeType of interface configured. ex: Ethernet Physical, Bridge (Software Switch)
EnableDisplays the Enable/Disable status of the interface
Operating StatusShow the upload and download data
IP/NetworkShows the Ip address configured to each interface
DescriptionUser’s input for reference
DHCP ServerDHCP enabled/disabled status of the interface.
Membersmembers of Interface for Bridge/Bond type
ActionTo check the status , delete, Arp table and DHCP Lease info.
Table 1 : The Fields of Ethernet Interface Settings List

.

New Bond Interface

  1. To create Bond interface, click on the button then from the Interface type select ‘Bond (LACP/802.ad)‘ as shown below.
  2. Click on button to add interface and configure.

Bond Interface – DHCP Server

Fields of Bond Interface – DHCP Server

SectionFieldsDescription
DHCP Server
DNS Servers
Router (default gateway)
DHCP Pool RangeIssues IP Address to device from defined pool
DHCP Options01. Static MAC-IP – ?
02. MTU Size – It is most used in reference to packet size on an Ethernet network using the Internet Protocol (IP)
03. Domain –
04. Lease Time –
05. Option 42 – Enables Time Synchronization of the client.
06. Option 43 –
07. Option 66 –
08. Option 150 –
09. Option 242 –
DHCP DescriptionUser’s input for reference
Table 3 : Field to configure Ethernet Interface – DHCP Server settings

CONFIGURATION STEPS

  • Configure a logical bonding interface
  • Assign individual physical interfaces into a bonding group

SUMMARY PROCEDURE (ETHERNET)

enable
configure
interface bond [bond_groupnumber]
ip address ip_address/prefix (no ip address ip_address/prefix)
mode bond_mode
interface eth[number]
bond-group [bond_group_number]

.

Bridge Interface

When configuring bridging interfaces, following conditions apply:

  • Assign physical interfaces into a bridge group
  • Each interface should have no IP address assigned.
  • (optional) assign IP address to the logical bridge interface

Image 2: List of Ethernet Interface

Fields of Interface List UI

FieldsDescription
NameInterface name ex: eth0,eth1,br1
TypeType of interface configured. ex: Ethernet Physical, Bridge (Software Switch)
EnableDisplays the Enable/Disable status of the interface
Operating StatusShow the upload and download data
IP/NetworkShows the Ip address configured to each interface
DescriptionUser’s input for reference
DHCP ServerDHCP enabled/disabled status of the interface.
Membersmembers of Interface for Bridge/Bond type
ActionTo check the status , delete, Arp table and DHCP Lease info.
Table 1 : The Fields of Ethernet Interface Settings List

.

New Bridge Interface

  1. User can access the Bond Interface from the dropdown menu by clicking on the tab,
  2. click on the menu when adding/editing the Gateway/Branch. User can also click the interface name below the ‘Type‘ column to amend the interface settings.

The fields of the Bridge Interface List are explained below:

FieldsDescription
EthernetThe existing bridge interface if it’s configured.
Admin StatusWhether the interface is enabled/disabled
IP/NetworkShows the IP address configured to each Bridge interface
DescriptionPurpose of the configured interface (Optional)
ActionOption to delete the Interface.
The Fields of Bridge Interface List

To create new Bond interface click on the button as in Image 7.

Image 8 : New/Edit Bridge Interface Page

Settings of Bridge Interface

The New/Edit Bridge Interface consists of 3 sections as listed below. The DHCP Server can be configured by enabling the section header button.

SectionsFieldsDescription
New/Edit Bridge
Bridge NameName of the bridge interface.
Admin StatusTo enable/disable the bond interface
IP Address/NetmaskThis field supports 2 connection type to connect to another network
1. PPPoE – Allows mbox to dial to ISP DSL service through an ethernet connection
2. IP Address – Manually set an IP address and subnet.
3. DHCP – Option to configures as DHCP client for upstream DHCP serve
Optional SettingsThis field supports four optional configuration types:
01. Description –
02. IPv6 Address
03. Proxy ARP –
04. Link Speed/Duplex
Show / Edit Bridge Members
 
Link Interface [Button]Show the member of the bridge interface
DHCP ServerTo enable the VLAN to issue an IP address to clients.
Client Default GatewayTo enable the VLAN to issue an IP address to clients.
Client DHCP Pool RangeIssues IP Address to device from defined pool
Optional SettingsThis field supports four optional configuration types:
01. Static –
02. DNS Server
03. DHCP Description
04. Lease Time
Table 8 : Parameters to configure Bridge Interface

SUMMARY PROCEDURE (ETHERNET)

enable
configure
interface eth[number]
bridge-group bridge_group_number
interface bridge br<bridge_group_number>
ip address ip_address/prefix (no ip address ip_address/prefix)

mbox(config)#
mbox(config)# interface eth2
mbox(config-if-eth2)# enable
mbox(config-if-eth2)# bridge-group 0
mbox(config-if-eth2)# exit
mbox(config)#
mbox(config)# interface eth3
mbox(config-if-eth3)# enable
mbox(config-if-eth3)# bridge-group 0
mbox(config-if-eth3)# exit

wpChatIcon