If I have a static network configuration like this:



and say I have a dual port NIC which uses the driver mlx4_en then I have obviously two matches. What is systemd network doing with the [Network] definition then? Obviously it is a bad idea to give both interfaces the same IP.

  • I'm looking at the same issue with DHCP=yes where it would make sense to configure both interfaces (with some priority handling) but it seems to just pick one of them. Oct 10, 2017 at 11:55

1 Answer 1


try matching with MACAddress then you will have two IP https://www.freedesktop.org/software/systemd/man/systemd.network.html

  • 5
    Welcome to serverfault. When the link breaks, your answer becomes worthless later even if the linked material answered the question. Please include at least a summary so the answer can stand on its own. Thank you! Dec 2, 2018 at 19:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .