systemd-network-generator.service

systemd
systemd-network-generator.service 8
systemd-network-generator.service systemd-network-generator Generate network configuration from the kernel command line

`systemd-network-generator.service`

`/usr/lib/systemd/systemd-network-generator`

## Description

`systemd-network-generator.service` is a system service that translates `ip=` and the related settings on the kernel command line (see below) into systemd.network 5, systemd.netdev 5, and systemd.link 5 configuration files understood by systemd-networkd.service 8 and systemd-udevd.service 8.

Files are generated in `/run/systemd/network/`.

## Kernel command line options

This tool understands the following options:

`ip=`
`rd.route=`
`rd.peerdns=`

  — translated into systemd.network 5 files.

`ifname=`
`net.ifname-policy=`

  — translated into systemd.link 5 files.

`vlan=`
`bond=`
`bridge=`
`bootdev=`

  — translated into systemd.netdev 5 files.

See dracut.kernel 7 and systemd-udevd.service 8 for option syntax and details.

## See Also

systemd 1, systemd-networkd.service 8, dracut 8