Skip to content

BeamOS – Routes

BEAM OS Logo

Summary #

The Routes page displays the router’s ARP table and active IPv4 and IPv6 routes. This chapter is an overview of the Routes page of BEAM routers.

ARP #

The Address Resolution Protocol (ARP) is a communication protocol used for mapping an Internet Protocol address (IP address) to a physical machine’s link layer address (MAC address) belonging to the local network.

The ARP section displays the router’s ARP cache (also known as ARP table) data. The ARP cache contains information on each known MAC address and its corresponding IP address. When the router receives a packet destined for a local host, the ARP program attempts to find a physical host or MAC address in the ARP cache that matches the IP address. If the ARP cache doesn’t contain the needed IP address, ARP broadcasts a request packet to all LAN machines in order to find the device with the IP address in question.

The figure below is an example of the ARP cache section:

BeamOS Networking manual routes arp screen

Field NameValueDescription
IP Address ip; Default: noneIP address of a local host
MAC Addressmac; Default: noneMAC address of a local host
Interfacestring; Default: noneInterface through which the router is associated with the host

You can also view the ARP cache via shell using the arp or ip neigh commands, depending on which output your prefer:

root@beam-onboard:~# arp
IP address HW type Flags HW address Mask Device
192.168.1.103 0x1 0x2 ac:e2:d3:00:00:00 * br-lan
192.168.1.151 0x1 0x2 18:d6:c7:00:00:00 * br-lan



root@beam-onboard:~# ip neigh

192.168.1.103 dev br-lan lladdr ac:e2:d3:00:00:00 REACHABLE
192.168.1.151 dev br-lan lladdr 18:d6:c7:00:00:00 REACHABLE

Active IP routes #

The Active IP routes section displays the router’s routing table. A routing table contains a list of routes to network destinations associated with and known by the router.

The figure below is an example of the Active IP routes section:

BeamOS Networking manual routes arp screen

Field NameValueDescription
Networkstring; Default: noneAssociated network interface name
Targetip | ip/netmask; Default: noneDestination network address
IP Gatewayip; Default: noneIndicates the IP address of the gateway through which the target network can be reached
Metricinteger [0..4,294,967,295]; Default: noneMetrics help the router choose the best route among multiple feasible routes to a destination. The route will go in the direction of the gateway with the lowest metric value

You can also view the routing table via shell using the route or ip route commands, depending on which output your prefer:

root@beam-onboard:~# route

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.1.179.213 0.0.0.0 UG 0 0 0 wwan0
10.1.179.208 * 255.255.255.248 U 10 0 0 wwan0
10.1.179.213 * 255.255.255.255 UH 10 0 0 wwan0
192.168.1.0 * 255.255.255.0 U 0 0 0 br-lan

 

root@beam-onboard:~# ip route

default via 10.1.179.213 dev wwan0
10.1.179.208/29 dev wwan0 proto static scope link metric 10
10.1.179.213 dev wwan0 proto static scope link src 10.1.179.212 metric 10
192.168.1.0/24 dev br-lan proto kernel scope link src 192.168.1.1

Active IPv6 routes #

The Active IPv6 routes section displays the router’s IPv6 routing table.

The figure below is an example of the Active IPv6 routes section:

Field NameValueDescription
Networkstring; Default: noneAssociated network interface name
Targetip | ip/netmask; Default: noneDestination network address
IP Gatewayip; Default: noneIndicates the IPv6 address of the gateway through which the target network can be reached
Metricinteger [0..4,294,967,295]; Default: noneMetrics help the router choose the best route among multiple feasible routes to a destination. The route will go in the direction of the gateway with the lowest metric value

You can also view the routing table via shell using the route -A inet6 or ip -6 route show commands, depending on which output your prefer:root@beam-onboard:~# ip -6 route
fe80::/64 dev wwan0 proto kernel metric 256

Powered by BetterDocs

SAVE

10%

It only takes a few seconds

DON'T MISS OUT

SUBSCRIBE AND SAVE 10%

GET EXCLUSIVE OFFERS AND THE LATEST PRODUCT NEWS.

WE WILL GIVE YOU A 10% OFF VOUCHER CODE FOR YOUR NEXT ORDER AS A THANK YOU!

Website-Subscription-Opt-in