Two IP addresses in autoinstall file - how
Jerry Geis
jerry.geis at gmail.com
Sat Oct 23 12:42:37 UTC 2021
On Fri, Oct 22, 2021 at 7:36 PM Brian <sdtc at sonicboom.org> wrote:
> 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
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
I see an example with multiple addresses on the same NIC - but I'm looking
for example of two nics and two different addreses.
Also in my VM - I added the second NIC - and using nmcli the original nic
is reported as enp1s0 and the second nic is reported as enp6s0 ???? I was
expecting enp2s0 ?? Whats with the different name?
Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20211023/70675e02/attachment.html>
More information about the ubuntu-users
mailing list