Add static ip interfaces with netplan

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

I am currently trying to add 2 network interfaces to my ubuntu machine via netplan (ubuntu -> proxmox -> vmware). Both with static ip addresses.
My .yaml file:
network:
version: 2
renderer: networkd
ethernets:
ens18:
addresses:
– 192.168.0.5/24
gateway4: 192.168.0.1
nameservers:
addresses:
– 192.168.0.1
enp3s0:
addresses:
– 192.168.1.5/24
dhcp4: no

The second interface enp3s0 is not added. Any advice why? Output of ifconfig
ens18: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.5 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::8c7f:12ff:fe2e:ded1 prefixlen 64 scopeid 0x20<link>
ether 8e:7f:12:2e:de:d1 txqueuelen 1000 (Ethernet)
RX packets 1871 bytes 164220 (164.2 KB)
RX errors 0 dropped 1 overruns 0 frame 0
TX packets 159 bytes 16733 (16.7 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 1612 bytes 114844 (114.8 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1612 bytes 114844 (114.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

X ITM Cloud News

Marisa

Leave a Reply

Next Post

Issue booting Ubuntu on my external hard drive from my Macbook Pro 2017 using Thunderbolt connection

Sat Sep 12 , 2020
Spread the love          I have Ubuntu installed on my LaCie external hard drive. The hard drive supports both USB 3.0 and Thunderbolt connection. I use MacOS on Macbook Pro 2017 and when I want to use Ubuntu, I shutdown my Mac, power up, hold the option key to load the boot […]
X- ITM

Cloud Computing – Consultancy – Development – Hosting – APIs – Legacy Systems

X-ITM Technology helps our customers across the entire enterprise technology stack with differentiated industry solutions. We modernize IT, optimize data architectures, and make everything secure, scalable and orchestrated across public, private and hybrid clouds.

This image has an empty alt attribute; its file name is x-itmdc.jpg

The enterprise technology stack includes ITO; Cloud and Security Services; Applications and Industry IP; Data, Analytics and Engineering Services; and Advisory.

Watch an animation of  X-ITM‘s Enterprise Technology Stack

We combine years of experience running mission-critical systems with the latest digital innovations to deliver better business outcomes and new levels of performance, competitiveness and experiences for our customers and their stakeholders.

X-ITM invests in three key drivers of growth: People, Customers and Operational Execution.

The company’s global scale, talent and innovation platforms serve 6,000 private and public-sector clients in 70 countries.

X-ITM’s extensive partner network helps drive collaboration and leverage technology independence. The company has established more than 200 industry-leading global Partner Network relationships, including 15 strategic partners: Amazon Web Services, AT&T, Dell Technologies, Google Cloud, HCL, HP, HPE, IBM, Micro Focus, Microsoft, Oracle, PwC, SAP, ServiceNow and VMware

.

X ITM