# Want to configure network on Focal

**URL:** <https://community.solid-run.com/t/want-to-configure-network-on-focal/322>\
**Category:** NXP LX2160\
**Created:** [May 13, 2022, 5:29am UTC](https://community.solid-run.com/t/want-to-configure-network-on-focal/322 "2022-05-13T05:29:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PacMan](https://avatars.discourse-cdn.com/v4/letter/p/439d5e/32.png) [@PacMan](https://community.solid-run.com/u/PacMan)\
**Post date:** [May 13, 2022, 5:29am UTC](https://community.solid-run.com/t/want-to-configure-network-on-focal/322/1 "2022-05-13T05:29:29Z")

</div>

I’m using Ubuntu Focal (bc46e34) and would like to make a persistent network configuration (static IP, etc.).

I do have network access (via DHCP).

I’ve attempted to use interfaces.d/ but it seems I didn’t experience any changes there.  
Then I installed netplan (I like netplan), but still doesn’t seem to change anything.  
(it’s like both interfaces.d and netplan are being ignored).

What’s the preferred way to configure network / preferred way to install netplan on the Focal image ?

---

<div class="post-metadata">

**Author:** ![PacMan](https://avatars.discourse-cdn.com/v4/letter/p/439d5e/32.png) [@PacMan](https://community.solid-run.com/u/PacMan)\
**Post date:** [May 21, 2022, 3:17am UTC](https://community.solid-run.com/t/want-to-configure-network-on-focal/322/2 "2022-05-21T03:17:01Z")

</div>

Alright, found the solution.  
1: Set up network ports using ls-addni dpmac.X, where the X is the port number (3…10).  
2: use `nmcli` to configure the network’s static IP addresses, gateway and DNS addresses.
