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 one RansNet Appliance to support multiple VLANs on one 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 “split” 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.

NOTE

All interfaces can be set in 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

The fields of the Ethernet Interface List are explained below:

S/NFieldsDescription
01.EthernetLists the number of interfaces available
02.Admin StatusDisplays the Enable/Disable status of the interface
03.IP/NetworkShows the Ip address configured to each interface
04.DescriptionUser’s input for reference
05.DHCP ServerDHCP enabled/disabled status of the interface.
06.ActionOption to delete the Interface.
Table 1 : The Fields of Ethernet Interface List

New Ethernet Interface

To create new ethernet interface, click on the button as in Image 1.

Image 2 : New/Edit Ethernet Interface Page

Settings of Ethernet Interface

The New/Edit Ethernet Interface consists of 3 sections as listed below. The collapsed sections can be expanded to edit by enabling the button.

S/NSectionFieldsDescription
01.New/Edit Ethernet
New/Edit Ethernet NameConfigure interface with ip address and other information like Link speed, Proxy ARP, MTU Size, etc
Admin StatusEnable/Disable the physical port
IP Address/NetmaskThis field supports three connection type:
01. PPPoEAllows mbox to dial to ISP DSL service
02. IP AddressManually set an IP address and subnet.
03. DHCP: Set IP address to an interface from upstream device
Optional SettingsThis field supports eight optional configuration types:
01. Description – User’s input for reference
02. Enable/Disable Bridge
03. Bridge Group –
04. IPv6 Address –
05. MTU Size –
06. Proxy ARP –
07. Link Speed/Duplex –
02.Multi-WAN Group.
Multi-WAN GroupTo enable the interface to support MWAN load-balancing.
Track Remote HostTo check the remote device whether its Online.
Tracking Interval / AttemptsInterval : Number of seconds between each test (default 5). Note each test takes 2 seconds.
Attempts: No of failed/passed tests to declare link DOWN/UP (default 5).
Link Metric / WeightMetric : Set interface route metric to activate as Primary and Backup- interface (default 1, Lower Value as Primary and Higher Value as Backup interface )
Weight : ??
DescriptionUser’s input for reference
03.DHCP Server
Client Default GatewayTo enable the ETH port to issue 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 2 : Parameters to configure Ethernet Interface

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

Add “ip default-gateway x.x.x.x” if you’re not using DHCP to get WAN IP

SUMMARY PROCEDURE (ETHERNET)

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

mbox> enable
mbox#
mbox# configure
mbox(config)# interface eth0
mbox(config-if-eth0)# enable
mbox(config-if-eth0)# ip address 203.128.19.100/28 remark "public IP for server 1"
mbox(config-if-eth0)# ip address 203.128.19.101/28 remark "public IP for server 2"
mbox(config-if-eth0)# exit
mbox(config)# ip default-gateway 203.128.19.103
mbox(config)# exit
mbox#
mbox# show running-config
!
hostname mbox
!
interface eth0
enable
ip address 203.128.19.100/28 remark "public IP for server 1"
ip address 203.128.19.101/28 remark "public IP for server 2"
!
ip default-gateway 203.128.19.103
!
mbox# show ip interface eth0
4: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    inet 192.168.1.12/24 brd 192.168.1.255 scope global eth0
       valid_lft forever preferred_lft forever

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 3 : List of VLAN Interface

The fields of the VLAN Interface List are explained below:

S/NFieldsDescription
01.VLAN IDThe existing VLAN ID number if it’s configured.
02.Admin StatusWhether the interface is enabled/disabled
03.Physical InterfaceThe ethernet interface that is mapped to the VLAN interface
04.IP/NetworkShows the IP address configured to each VLAN interface
05.DescriptionPurpose of the configured interface (Optional)
06.DHCP ServerDHCP enabled/disabled status of the interface.
07.ActionOption to delete the Interface.
Table 3 : The Fields of VLAN Interface List

New VLAN Interface

To create new VLAN interface click on the button as in Image 3.

Image 4 : New/Edit VLAN Interface Page

Settings of VLAN Interface

The New/Edit VLAN Interface consists of 3 sections as listed below. The collapsed section can be expanded to edit by enabling the button.

S/NSectionsFieldsDescription
New/Edit VLAN
01.Physical 802.1q Trunking InterfaceSelect the physical interface to create a VLAN interface as sub-interface
02.VLAN IDThe VLAN interface-id number
03.Admin StatusTo enable/disable the logical interface
04.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.
05.Optional SettingsThis field supports eight optional configuration types:
01. Description –
02. Bridge Group
03. IPv6 Address
04. Proxy ARP
Multi-WAN Group
06. Multi-WAN GroupTo enable the interface to support MultiWAN load-balancing.
Track Remote HostTo check the remote device whether its Online.
Tracking Interval / AttemptsInterval : Number of seconds between each test (default 5). Note each test takes 2 seconds.
Attempts: No of failed/passed tests to declare link DOWN/UP (default 5).
Link Metric / Weight
DescriptionUser’s input for reference
07.DHCP Server
Client Default GatewayEnable the VLAN to issue IP address to devices.
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 4 : Parameters to configure VLAN Interface

CONFIGURATION STEPS

  • Enable physical interface (to create VLAN)
  • Configure each VLAN interface
  • Configuration interface settings for each interface

SUMMARY PROCEDURE (ETHERNET)

enable
configure
interface eth[number]
interface vlan_[portnumber]_[vlan_id]
ip address ip_address/prefix (no ip address ip_address/prefix)

mbox# configure
mbox(config)# interface vlan 0 10
[info] adding new vlan10 on eth0...
mbox(config-if-vlan10)# enable
mbox(config-if-vlan10)# ip address 10.10.10.1/24
mbox(config-if-vlan10)# exit
!
mbox(config)# interface vlan 0 20
[info] adding new vlan20 on eth0...
mbox(config-if-vlan20)# enable
mbox(config-if-vlan20)# ip address 20.20.20.1/24
mbox(config-if-vlan20)# exit
!
mbox(config)# interface vlan 0 30
[info] adding new vlan30 on eth0...
mbox(config-if-vlan30)# enable
mbox(config-if-vlan30)# ip address 30.30.30.1/24
mbox(config-if-vlan30)# exit
!
mbox(config)# interface vlan 0 40
[info] adding new vlan40 on eth0...
mbox(config-if-vlan40)# enable
mbox(config-if-vlan40)# ip address 40.40.40.1/24
mbox(config-if-vlan40)# exit

Bond Interface

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

Image 5 : List of Bond Interface

The fields of the Bond Interface List are explained below:

S/NFieldsDescription
01.Bond InterfaceThe existing bond interface if it’s configured.
02.Admin StatusWhether the interface is enabled/disabled
03.IP/NetworkThe IP address configured to each VLAN interface
04.DescriptionPurpose of the configured interface (Optional)
05.ActionOption to delete the Interface.
Table 5 : The Fields of Bond Interface List

New Bond Interface

To create a new Bond interface, click on the to create bond interface for SD-WAN Gateway. button as in Image 5.

Image 6 : New/Edit Bond Interface Page

Settings of Bond Interface

The New/Edit Bond Interface consists of 4 sections as listed below. The collapsed sections can be expanded to edit by enabling the button.

S/NSectionFieldsDescription
01.New/Edit Bond
Bond NameName of the bonding 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. Bonding Mode –
04. MTU Size
05. Bridge Group
06. Proxy ARP –
07. Link Speed/Duplex
Show / Edit Bond Members
 
Show the member of the bonding interface
Bond Interface [Button]
02.Multi-WAN Group
Multi-WAN GroupTo enable the interface to support MultiWAN load-balancing.
Track Remote HostTo check the remote device whether its Online.
Tracking Interval / AttemptsInterval : Number of seconds between each test (default 5). Note each test takes 2 seconds.
Attempts: No of failed/passed tests to declare link DOWN/UP (default 5).
Link Metric / WeightMetric : Set interface route metric to activate as Primary and Backup- interface (default 1, Lower Value as Primary and Higher Value as Backup interface )
Weight : ??
DescriptionUser’s input for reference
03.DHCP Server
Client Default GatewayEnable the Bond Interface to issue IP address to devices.
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 6 : Parameters to configure Bond Interface

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]

mbox(config)# interface bond 0
mbox(config-if-bond0-0)# enable

mbox(config-if-bond0-0)# ip address 172.16.10.1/24
mbox(config-if-bond0-0)# mode 8023ad
mbox(config-if-bond0-0)# exit

mbox(config)#
mbox(config)# interface eth2
mbox(config-if-eth2)# enable

mbox(config-if-eth2)# bond-group 0

mbox(config-if-eth2)# exit

mbox(config)#
mbox(config)# interface eth3
mbox(config-if-eth3)# enable

mbox(config-if-eth3)# bond-group 0
mbox(config-if-eth3)# end


mbox# show interface bond 0
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)

Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer3+4 (1)
MII Status: up
MII Polling Interval (ms): 1000
Up Delay (ms): 0
Down Delay (ms): 0

802.3ad info
LACP rate: fast
Min links: 0
Aggregator selection policy (ad_select): stable
bond bond0 has no active aggregator

Slave Interface: eth2
MII Status: down
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:60:e0:69:42:1c
Aggregator ID: 1
Slave queue ID: 0

Slave Interface: eth3
MII Status: down
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:60:e0:69:42:1d
Aggregator ID: 2
Slave queue ID: 0

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

User can access the Bridge 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.

Image 7 : List of Bridge Interface

The fields of the Bridge Interface List are explained below:

S/NFieldsDescription
01.EthernetThe existing bridge interface if it’s configured.
02.Admin StatusWhether the interface is enabled/disabled
03.IP/NetworkShows the IP address configured to each Bridge interface
04.DescriptionPurpose of the configured interface (Optional)
05.ActionOption to delete the Interface.
Table 7 : The Fields of Bridge Interface List

New Bridge Interface

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.

S/NSectionsFieldsDescription
New/Edit Bridge
01.Bridge NameName of the bridge interface.
02.Admin StatusTo enable/disable the bond interface
03.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
04.Optional SettingsThis field supports four optional configuration types:
01. Description –
02. IPv6 Address
03. Proxy ARP –
04. Link Speed/Duplex
05.Show / Edit Bridge Members
 
Link Interface [Button]Show the member of the bridge interface
06.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