Document toolboxDocument toolbox

(12.5-en) Default Gateway Configuration in IGEL OS 12

This article shows how to configure the default gateway in IGEL OS.


Menu path: Network > Default Gateway

 

Default gateway

☑ Routing is enabled.

☐ Routing is disabled. (Default)

 

Default gateway

Gateway that routes the packets to the target network

 

Interface

The network interface via which the route is to run

Predictable Network Interface Names (PNINs)

The names of Ethernet and WLAN interfaces are predictable network interface names (PNINs), see Predictable Network Interface Names. This ensures the stability of interface names on reboot and generally improves the reliability of associating configurations with interfaces.

  • To view the PNINs and the order of the configured interfaces, you can use the following commands. The default interface is always listed first, the second interface is listed second, etc.
    Ethernet (LAN)cat /config/net/en-interfaces
    WLANcat /config/net/wl-interfaces
    (Note: Only the first wireless interface (former wlan0) is supported. All other wireless interfaces will be ignored.)

  • If you need to configure more than two Ethernet interfaces, go to System > Registry > network.interfaces.ethernet.device% and add an instance by clicking Add Instance.
    To explicitly assign a configuration instance to a certain interface, enter the corresponding PNIN for the registry key network.interfaces.ethernet.device%.ifname.