Routing
Menu path: Setup > Network > Routing
Here, you can enter additional routes if necessary.
Enable: (default: disabled)
☑ Routing is enabled.
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)
As of IGEL OS 11.06, 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.
- As "
eth0
", "eth1
", and "wlan0
" have been replaced by PNINs, configurations or custom scripts that include the old names of Ethernet and WLAN interfaces, e.g.eth0
,eth2
,wlan0
, have to be adjusted.
The following already existing configurations do NOT require manual adjustment since old nameseth0
,eth1
, etc. will internally be replaced by the correct PNINs automatically: - 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
WLAN:cat /config/net/wl-interfaces
(Note: Only the first wireless interface (formerwlan0
) 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.
To explicitly assign a configuration instance to a certain interface, enter the corresponding PNIN for the registry key network.interfaces.ethernet.device%.ifname.
Routing [1-5]
Enable: (default: disabled)
☑ This route is enabled.
Network route / host route: Type of route
- Network route: The routing relates to a (sub) network
- Host route: The routing relates to the address of a computer
Network / host IP or name: The address of the network (for a network route) or the IP address or the name of the host (for a host route)
Network mask: Mask for the desired IP range, e.g. 255.255.255.0
Gateway: Gateway that routes the packets to the target network
Interface: The network interface via which the route is to run