Setup a loopback address in Ubuntu 18.04 Desktop12.04 wired network doesn't work RTL8111/8168BSetting proxy variables automatically for different Network ProfilesNo NetworkManager applet and serviceNetwork indicator missing in ubuntu 14.04 64 bitNo ethernet on Ubuntu 14.04 LTSEthernet Network() device not managed ubuntu 16.04How to setup netplan with additional loopback addresses but mainly use NetworkManager?Ubuntu 18.04 netplan static routesUnable to ping 18.04 desktop unless this machine first pings the client, when using networkd instead of network-managerUbuntu 18.04 problems with DNS not working for local network devices
If I stood next to a piece of metal heated to a million degrees, but in a perfect vacuum, would I feel hot?
Is there an English equivalent for "Les carottes sont cuites", while keeping the vegetable reference?
Why do so many algebra PhD students drop out or leave academia, compared to applied mathematics PhDs?
@track not working in connectedCallback
Why does ffmpeg choose 10+20+20ms instead of an even 16ms for 60fps gifs?
Why do legislative committees exist?
What to look for in climbing shoes?
Did the First Order follow Poe to Jakku, or did they independently discover that the map fragment was there?
Why doesn't philosophy have higher standards for its arguments?
Re-negotiate salary once I earn my diploma
Decoding Every Top 100 Voting Ever
Too many spies!
How to unload a Mathematica package?
What are some symbols representing peasants/oppressed persons fighting back?
Video editor for YouTube
Why is "dark" an adverb in this sentence?
What systems of robust steganography are out there?
Is this more than a packing puzzle?
Do aircraft cabins have suspension?
Why aren't globular clusters disk shaped
Populate Custom Table instead of Contacts table in CRM using Dynamics CRM Connector
What's the meaning of こそ in this sentence?
How can I design a witch (or other enemy) that summons/controls lightning birds at sea to attack the party while hidden on a ship?
Use of "sit" instead of "est" in Virgil
Setup a loopback address in Ubuntu 18.04 Desktop
12.04 wired network doesn't work RTL8111/8168BSetting proxy variables automatically for different Network ProfilesNo NetworkManager applet and serviceNetwork indicator missing in ubuntu 14.04 64 bitNo ethernet on Ubuntu 14.04 LTSEthernet Network() device not managed ubuntu 16.04How to setup netplan with additional loopback addresses but mainly use NetworkManager?Ubuntu 18.04 netplan static routesUnable to ping 18.04 desktop unless this machine first pings the client, when using networkd instead of network-managerUbuntu 18.04 problems with DNS not working for local network devices
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have a development setup with docker where I need to have a loopback address set up on my laptop. Currently, I am able to do that by running the following:
sudo ip addr add 10.254.254.254/24 brd + dev wlp2s0 label wlp2s0:1
The issue is that when I come back to my system after leaving it for a while, I need to rerun this command in order to get my dev environment working again. I'd like to make this persistent in order to not have to run this command all the time. I am running Ubuntu 18.04 Minimal Install.
I have tried adding the following line to /etc/network/interfaces
without any success:
up sudo ip addr add 10.254.254.254/24 brd + dev wlp2s0 label wlp2s0:1
My /etc/netplan/01-network-manager-all.yaml
contains the following:
# Let NetworkManager manage all devices on this system
network:
version: 2
renderer: NetworkManager
Therefore I assume that it is network manager (i.e. /etc/network/interfaces
) that I need to configure but can't seem to figure out what I need to put in there.
network-manager
add a comment |
I have a development setup with docker where I need to have a loopback address set up on my laptop. Currently, I am able to do that by running the following:
sudo ip addr add 10.254.254.254/24 brd + dev wlp2s0 label wlp2s0:1
The issue is that when I come back to my system after leaving it for a while, I need to rerun this command in order to get my dev environment working again. I'd like to make this persistent in order to not have to run this command all the time. I am running Ubuntu 18.04 Minimal Install.
I have tried adding the following line to /etc/network/interfaces
without any success:
up sudo ip addr add 10.254.254.254/24 brd + dev wlp2s0 label wlp2s0:1
My /etc/netplan/01-network-manager-all.yaml
contains the following:
# Let NetworkManager manage all devices on this system
network:
version: 2
renderer: NetworkManager
Therefore I assume that it is network manager (i.e. /etc/network/interfaces
) that I need to configure but can't seem to figure out what I need to put in there.
network-manager
add a comment |
I have a development setup with docker where I need to have a loopback address set up on my laptop. Currently, I am able to do that by running the following:
sudo ip addr add 10.254.254.254/24 brd + dev wlp2s0 label wlp2s0:1
The issue is that when I come back to my system after leaving it for a while, I need to rerun this command in order to get my dev environment working again. I'd like to make this persistent in order to not have to run this command all the time. I am running Ubuntu 18.04 Minimal Install.
I have tried adding the following line to /etc/network/interfaces
without any success:
up sudo ip addr add 10.254.254.254/24 brd + dev wlp2s0 label wlp2s0:1
My /etc/netplan/01-network-manager-all.yaml
contains the following:
# Let NetworkManager manage all devices on this system
network:
version: 2
renderer: NetworkManager
Therefore I assume that it is network manager (i.e. /etc/network/interfaces
) that I need to configure but can't seem to figure out what I need to put in there.
network-manager
I have a development setup with docker where I need to have a loopback address set up on my laptop. Currently, I am able to do that by running the following:
sudo ip addr add 10.254.254.254/24 brd + dev wlp2s0 label wlp2s0:1
The issue is that when I come back to my system after leaving it for a while, I need to rerun this command in order to get my dev environment working again. I'd like to make this persistent in order to not have to run this command all the time. I am running Ubuntu 18.04 Minimal Install.
I have tried adding the following line to /etc/network/interfaces
without any success:
up sudo ip addr add 10.254.254.254/24 brd + dev wlp2s0 label wlp2s0:1
My /etc/netplan/01-network-manager-all.yaml
contains the following:
# Let NetworkManager manage all devices on this system
network:
version: 2
renderer: NetworkManager
Therefore I assume that it is network manager (i.e. /etc/network/interfaces
) that I need to configure but can't seem to figure out what I need to put in there.
network-manager
network-manager
asked Apr 15 at 3:19
helios456helios456
1062 bronze badges
1062 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
I have settled on the following solution, should it help someone out there in the future.
I have edited my /etc/netplan/01-network-manager-all.yaml
to the following in order to get a loopback address.
network:
version: 2
renderer: NetworkManager
ethernets:
lo:
renderer: networkd
match:
name: lo
addresses:
- 10.254.254.254/24
It essentially keeps the NetworkManager as the renderer for all other interfaces but loopback, and sets the address that I wanted as a loopback address. The address is no longer on my wireless interface, but I think this is actually preferable.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1133948%2fsetup-a-loopback-address-in-ubuntu-18-04-desktop%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I have settled on the following solution, should it help someone out there in the future.
I have edited my /etc/netplan/01-network-manager-all.yaml
to the following in order to get a loopback address.
network:
version: 2
renderer: NetworkManager
ethernets:
lo:
renderer: networkd
match:
name: lo
addresses:
- 10.254.254.254/24
It essentially keeps the NetworkManager as the renderer for all other interfaces but loopback, and sets the address that I wanted as a loopback address. The address is no longer on my wireless interface, but I think this is actually preferable.
add a comment |
I have settled on the following solution, should it help someone out there in the future.
I have edited my /etc/netplan/01-network-manager-all.yaml
to the following in order to get a loopback address.
network:
version: 2
renderer: NetworkManager
ethernets:
lo:
renderer: networkd
match:
name: lo
addresses:
- 10.254.254.254/24
It essentially keeps the NetworkManager as the renderer for all other interfaces but loopback, and sets the address that I wanted as a loopback address. The address is no longer on my wireless interface, but I think this is actually preferable.
add a comment |
I have settled on the following solution, should it help someone out there in the future.
I have edited my /etc/netplan/01-network-manager-all.yaml
to the following in order to get a loopback address.
network:
version: 2
renderer: NetworkManager
ethernets:
lo:
renderer: networkd
match:
name: lo
addresses:
- 10.254.254.254/24
It essentially keeps the NetworkManager as the renderer for all other interfaces but loopback, and sets the address that I wanted as a loopback address. The address is no longer on my wireless interface, but I think this is actually preferable.
I have settled on the following solution, should it help someone out there in the future.
I have edited my /etc/netplan/01-network-manager-all.yaml
to the following in order to get a loopback address.
network:
version: 2
renderer: NetworkManager
ethernets:
lo:
renderer: networkd
match:
name: lo
addresses:
- 10.254.254.254/24
It essentially keeps the NetworkManager as the renderer for all other interfaces but loopback, and sets the address that I wanted as a loopback address. The address is no longer on my wireless interface, but I think this is actually preferable.
answered Apr 16 at 2:59
helios456helios456
1062 bronze badges
1062 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1133948%2fsetup-a-loopback-address-in-ubuntu-18-04-desktop%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown