Thanks Vivek,
So I guess something like it on the netplan:
network:
ethernets:
ens3:
dhcp4: true
version: 2
On 27/12/21, 1:41 PM, "Vivek Kumar" <[email protected]> wrote:
Hello Ricaro,
You have to configure your second ethernet in your OS so that it can fetch
the IP from DHCP, So typically you have eth0 which gets the IP from DHCP, If
you are adding your VM to multiple networks, then make sure that OS has muliple
ethernet present inside the OS, i.e eth0, eth1 in DHCP mode.
Vivek Kumar
Sr. Manager - Cloud & DevOps
IndiQus Technologies
24*7 O +91 11 4055 1411 | M +91 7503460090
www.indiqus.com
> On 28-Dec-2021, at 12:07 AM, Ricardo Andres Pertuz de las Salas
<[email protected]> wrote:
>
> Hi team,
>
> When I connect a second NIC on Ubuntu instances, on the creation or
afterwards, it doesn’t get an IP address on the operating systme so I have to
call the dhclient command or put it manually. Is it possible to get the IP
automatically and permanent?
>
> BR,
>
> Ricardo