# Network_Configuration image Network_Configuration

Basic configuration for network interfaces.


Configuration syntax:

TIP

Use %DHCP%, to use dhcp. (If used at any of the entries dhcp would be used on the whole nic.)

Directive Format Example

Network_Configuration

Network_Configuration:
  - nic: INTERFACE
    ip: IP_ADDRESS/PREFIX
    gateway: GATEWAY_ADDRESS
    dns: DNS1,DNS2,DNS3
Network_Configuration:
  - nic: tun0
    ip: 192.168.2.14/24
    gateway: 192.168.2.1
    dns: 8.8.8.8,8.4.8.4
  - nic: eth0
    ip: "%DHCP%"
    gateway: "%DHCP%"
    dns: "%DHCP%"