Interfaces

Network → Interfaces shows the physical network cards of the appliance and configures their static IPv4 addresses. The changes are written to the system’s…

What it is for

Network → Interfaces shows the physical network cards of the appliance and configures their static IPv4 addresses. The changes are written to the system’s network configuration (/etc/network/interfaces) and applied with a network restart. The page does not manage the DHCP client, VLANs or IPv6 addresses: it is for static addresses.

How the page is laid out

On the left the list of cards (with search). Each row shows the name (the system’s one: eth0, ens18…), the primary address and up to three chips:

Chip Meaning
«Domain controller» The card that carries the address the domain controller offers to its clients
«Gateway» The card that carries the default gateway (the appliance has only one: the one that already declares it, otherwise the first)
«NAT» A card other than the gateway one with NAT forwarding on

A card with invalid values after a save attempt says «Contains invalid values — open Edit to fix.»

The detail («Edit interface · name») has these fields.

Field Meaning Typical value
«Primary address (CIDR)» The card’s address and prefix 10.20.0.2/24
«Gateway» The default gateway (only on the gateway card) 10.20.0.1
«Additional addresses» Other addresses in CIDR; only one per subnet. Added with «Add address» and removed with «Remove address» 10.20.5.2/24
«NAT forwarding» (sections below) Makes the devices on the network behind this card go out with your address see below

For the domain controller card the primary address is locked («The domain controller address cannot be changed.»): the domain controller has written it in the domain’s DNS and in its configurations. Changing it requires changing the address offered to the clients in System → Settings → Active Directory domain → Domain controller address, or the technician’s intervention.

NAT forwarding

Only on the cards that do not carry the gateway (that is, a downstream network). It makes the devices of that network use Atlas as their gateway and go out with its address: nothing needs to change on the other side.

Switch What it does
«To the internet» Goes out through the card with the gateway
«To the Argos VPN sites» Goes out through the tunnels, with Atlas’s address in the tunnel (appears only if at least one tunnel exists, or if the choice had already been made)

Warnings: «Warning: without an address on this interface, devices cannot use it as their gateway.»; «Warning: the local firewall is off; forwarding starts when you turn it on.»

Applying the changes

Changes to several cards are collected and applied together: the «Apply» button at the bottom of the detail applies to the whole page and is active only if something differs from the host. «Restore» brings that card back to how it is now.

  1. Press «Apply». The confirmation window says: «Apply the network configuration? Connectivity may drop briefly while networking restarts.» If you changed only the NAT it says instead «Apply NAT forwarding? The local firewall is updated; networking is not restarted.»
  2. On confirmation Atlas rewrites only the changed cards in the network file and restarts the network. If the restart fails it puts the previous file back and restarts again, so that a configuration that never worked does not come back at the next boot.
  3. For every new subnet it creates the matching network in IPAM (if it is not there already), and marks it as trusted: the networks of the appliance’s cards always count as internal.
  4. Once the configuration is applied the page goes back to the list of cards. If Atlas refuses a value the card stays open with what you wrote.

Warning If you change the address of the card you are connected through, the console stops answering and you have to reconnect to the new address. Prepare your access (the virtual machine’s console, or the technician on site) before changing the address of the only card.

Checks on the values

  • The address must be in canonical CIDR notation, without leading zeros (10.20.0.2/24, not 10.020.000.002/24): iproute2 would read 010 as octal. An address already in the file and left untouched passes as before.
  • The gateway must be an IPv4 address. If it is outside all the card’s networks it is saved anyway (this is the case of the «remote» gateway of some providers) but the page warns: «Warning: the gateway is outside this interface’s networks.» A typing mistake would give the same warning.
  • On one card two addresses cannot be in the same subnet («Multiple addresses share the same subnet on this interface»), and the same subnet cannot be on two cards («This subnet is already on another interface»).

Examples

Example: connecting a small test network with internet access. A second card eth1 serves the production department’s test network (10.20.1.0/24); the test PCs must go out to the internet with Atlas as gateway.

  1. Plug the cable of eth1 into the test switch. Open Network → Interfaces and select eth1.
  2. «Primary address (CIDR)»: 10.20.1.1/24. There is no «Gateway» field: eth0 carries it.
  3. In the «NAT forwarding» section turn on «To the internet».
  4. Press «Apply» and confirm. «Network configuration applied.» appears.
  5. Check: in Network → IPAM the network 10.20.1.0/24 has appeared with the «NIC» chip; the card has the «NAT» chip. Set the gateway 10.20.1.1 on a test PC: it reaches the internet.

Example: changing the gateway of the server LAN. John Smith Ltd’s router goes from 10.20.0.1 to 10.20.0.254.

  1. Select eth0 (chips «Domain controller» and «Gateway»).
  2. «Gateway»: 10.20.0.254. The primary address stays as it is (it is locked).
  3. «Apply» and confirm: the console reconnects on its own after the network restart.
  4. If you mistyped (10.20.0.2540), the page refuses the value («Invalid IPv4 address»); if you write a valid gateway but on another network (10.30.0.1) the orange warning appears and the value is saved anyway.

Example: undoing a change before applying it.

  1. On eth1 you change the address to 10.20.1.5/24 and turn on «To the Argos VPN sites» to try it out.
  2. You change your mind: press «Restore» for that card. The address goes back to 10.20.1.1/24 and the switch to the previous situation.
  3. «Apply» becomes disabled again, because nothing differs from the host any more.

Limits and pitfalls

  • Only the physical cards are shown; VLANs, tunnels and the bridges of the isolated services do not appear.
  • After changing a card’s address remember to update whatever uses it: the domain’s DNS, the clients’ forwarders, the router’s rules.
  • The domain controller’s address is not changed from here; use the «Domain controller address» block (see System → Settings).
LET’S TALK INFRASTRUCTURE

Control starts with a conversation.

Tell us about your infrastructure. Let’s start with what you actually need.

Talk to an engineer