Score:0

Convert ifconfig alias to netplan

ph flag

When booting/after dhcp of enp0s25, I want to do:

ifconfig enp0s25:1 my-static-ip-addr

How can I do that on Ubuntu 22.04? Possibly using netplan?

$ cat /etc/netplan/01-network-manager-all.yaml 
# Let NetworkManager manage all devices on this system
network:
  version: 2
  renderer: NetworkManager
Score:1
us flag

Interface aliases have long been deprecated by the kernel. Instead, you assign multiple addresses to the same interface, such as:

network:
  version: 2
  ethernets:
    enp0s25:
      dhcp4: true
      addresses: [10.0.0.5/24]
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.