Two IP addresses in autoinstall file - how

Brian sdtc at sonicboom.org
Fri Oct 22 23:34:36 UTC 2021


https://netplan.io/examples/

On 10/22/2021 3:58 PM, Jerry Geis wrote:
> how do you put two static IP address in the YAML file ?
> I'm looking for an example and have not found it.
>
> This is what I do for ONE:
>       ens3:
>          dhcp4: no
>           dhcp6: no
>           addresses: [STATIC_IP/STATIC_SN]
>           gateway4: STATIC_GW
>           nameservers:
>             addresses: [8.8.8.8]
>
> So you do you have two different Gw and two different IP - how do the 
> associate with eth0 and eth1 ?
>
> Thanks
>
> Jerry
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20211022/f1e6a251/attachment.html>


More information about the ubuntu-users mailing list