Questions tagged [networkmanager]

NetworkManager is a daemon, accessible via dbus, that provides high-level interface management. There are a number of ways for end users to access it: the command line `nmcli` program, the text-based-UI `nmtui` program, and the Gnome `nm-applet` program, among others.

Filter by
Sorted by
Tagged with
0 votes
1 answer
23 views

Networkmanager nmcli con modify overwrites configuration in /etc/NetworkManager

I have used nmcli to import an ovpn configuration file and it does this correctly: nmcli connection import type openvpn file mycon.ovpn Connection 'mycon' (7ca383e3-ade9-4a8b-9402-16a93cd8f0e8) ...
Luis Muñiz's user avatar
0 votes
1 answer
43 views

Networkmanager nmtui static IP/ external IP / public IP address

For long time try to setup my external IP address on centos7,rocky on with "Networkmanager" but its working only with systemd-networkd. Found some solution and use systemd-networkd but now ...
user956584's user avatar
0 votes
2 answers
121 views

Alma 9 Unable to make the interface DOWN at boot

OS: Alma-9.2 I am trying to disable an interface (ens224) at boot using the nmcli tool. I tried using the option nmcli connection modify ens224 connection.autoconnect no,nmcli connection down id ...
Vishnu's user avatar
  • 711
1 vote
1 answer
94 views

Unable to create a Linux bridge with a VLAN interface on Fedora

I'm trying to set up a Linux bridge that includes a VLAN interface on my Fedora system. My goal is to use this bridge with virt-manager to create multiple VMs, each with an interface in the bridge ...
a-kodez's user avatar
  • 11
0 votes
0 answers
25 views

VPN with Network Connections GUI - unable to access Internet

I am trying to setup VPN connection using Network Connections GUI. To do so I pick an option to import vpn configuration and manually enter VPN credentials. So far so good, I can get connected. The ...
Tomasz Kapłoński's user avatar
0 votes
0 answers
46 views

After setting manual ip address with network manager cli, ssh connection closed and no longer accessible

Context I have been trying to set my docker containers to each use a separate ip address, rather than opening multiple ports on the same ip. My system (Debian Bullseye) uses Network Manager to manage ...
imclerran's user avatar
0 votes
1 answer
121 views

isc-dhcp-server "No subnet declaration for enP4p65s0"

TL;DR: I'm aiming at configuring my own Ubuntu 22.04LTS-based router for my home network, using isc-dhcp-server, nftables & NetworkManager. I'm experiencing weird DHCP behaviors. I'm using a Nano ...
Ben's user avatar
  • 1
0 votes
0 answers
45 views

Issue when switching from networkd to NetworkManager

On an Ubuntu 22.04 instance on Google Cloud, I can switch from networkd to NetworkManager like this: $ sudo apt install network-manager $ sudo nano /etc/netplan/50-cloud-init.yaml # add: network: ...
triatic's user avatar
0 votes
0 answers
39 views

Is possible set static IP between 2 devices with nmcli

I have a computer that has a wireless connection and has an ethernet. I need to communicate with a connected device through a local network created between my computer and this device (communication ...
Joey Fran's user avatar
  • 101
0 votes
1 answer
414 views

How to configure NetworkManager to not set default search domain in RHEL8 based distros?

Assume having a host with single, IPv4 only connection, named ens192, which has statically configured network settings (IP, DNS, gateway), named vm1.example.invalid. NetworkManager will add the ...
Andrew's user avatar
  • 228
0 votes
1 answer
231 views

VPN started with Network Manager doesn't configure routing table correctly

I have a Debian 11 system that has been configured to connect to a remote network via VPN. This has been functioning fine for a long time (since Debian 9). Recently, the remote network made some ...
BrianD's user avatar
  • 1
1 vote
0 answers
112 views

Load balancing and failover using nmcli

I would like to use nmcli (NetworkManager, on CentOS) to balance the load from the subnet 172.22.0.0/24 across the two gateways (.3 and .1) on the 192.168.1.0/24 subnet. These two gateways are ...
Shunyata Kharg's user avatar
0 votes
0 answers
140 views

Oracle Linux 8 - IPv6 Address disappear after kubespray installation (with NetworkManager)

I have a strange problem after installing a kubernetes cluster with kubespray (2.19.1) on oracle linux 8 (latest packages and vagrant image). I use this vagrant file (got a bit ugly from time to time ...
j0k4b0's user avatar
  • 115
1 vote
1 answer
638 views

Debian Server - clients can't ping between interfaces/subnets

I can't ping clients between interfaces/subnets e.g. pinging from Mac (10.42.0.82), which is connected to eth0 to the Android (10.42.1.150) which is connected to wlan0. Note: I can access internet ...
sbx's user avatar
  • 13
0 votes
1 answer
1k views

How to connect veth interfaces to bridge slave ports

This will probably be easier to explain with a diagram, so this is the basic setup: There are 2 containers 10.0.0.1 & 10.0.0.2 running inside a host machine, and I've also created a linux bridge ...
A. Trevelyan's user avatar
0 votes
1 answer
101 views

Always start NetworkManager after laptop boot with WiFi and WWAN disabled

How to make Network managers always start (after laptop boot) with WiFi and WWAN disabled? I prefer to always enable them manually after laptop boot for security and connection cost control reasons. ...
AnFi's user avatar
  • 6,153
0 votes
1 answer
412 views

How to resolve DNS using Network Manager?

I am using Network Manager(nmcli) to establish network connection to a Linux based embedded device. But the client application is having issues connecting to aws backend. In the /etc/NetworkManager/...
Preeti 's user avatar
  • 101
1 vote
1 answer
280 views

No DNS on PXE booted Linux Live System with NetworkManager

I've built a custom Debian Live CD (using live-boot and containing a kernel, initrd and a filesystem.squashfs) which includes specific tools we regularly use. The Live CD works flawlessly if booted ...
Apollo13's user avatar
0 votes
1 answer
372 views

Network-Manager automatically disconnects after 20 seconds

I have a Quectel EG25-G setup but whenever I connect (right after a reboot) it connects for 20 seconds and then disconnects. It happens at the Jun 24 06:01:44 linux NetworkManager[5070]: <info> ...
clogwog's user avatar
  • 101
0 votes
0 answers
250 views

What would cause my IPv6 connectivity to keep dying, with a reboot fixing it each time?

Centos 8 Stream When I first boot my server up, ipv6 works fine. I can ping another ipv6 address without issue. A few (10?) minutes later, it stops working. Rebooting the box fixes it, but I can't ...
Codemonkey's user avatar
  • 1,086
0 votes
0 answers
1k views

Debian server network connection keeps dropping

Background I'm working on an internal server running Debian Uname - r output : Linux osteocalcine 5.10.0-13-amd64 #1 SMP Debian 5.10.106-1 (2022-03-17) x86_64 GNU/Linux This server (which is planned ...
DaveM's user avatar
  • 111
1 vote
1 answer
35 views

Where can I set additional conf files for NetworkManager

I am using Linode and every single time I boot my server, Linode (cloud provider) ovewrites the file below: /etc/sysconfig/network-scripts/ifcfg-eth0 This is well documented and expected in order to ...
Jonathan's user avatar
1 vote
1 answer
1k views

Setting global DNS + MAC address settings on a Debian-based Linux distribution with systemd-resolved + NetworkManager

I'm running a Debian-based Linux distribution, specifically Pop!_OS 22.04 (Ubuntu jammy). I'd like to set custom DNS + MAC address settings globally - that is, to be applied to all network connections ...
unilock's user avatar
  • 13
0 votes
0 answers
1k views

Why is NetworkManager in disabled status?

ubuntu 20.04 server host Tell me why when getting nmcli status nmcli general I get STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN disconnected unknown enabled enabled enabled ...
Vadim's user avatar
  • 111
1 vote
1 answer
557 views

How to connect to a Cisco VPN in "native mode"?

I need to connect to a VPN, but I am not an expert on the subject at all, so if anyone can help me, I would appreciate it. I was given the following data, telling me that this info is for a "...
forvas's user avatar
  • 161
0 votes
0 answers
2k views

Server network interface not working properly

I recently bought a ZT Openrack server from eBay (the seller mentioned it was a OCP server) planning to use it as a simple file server, and it arrived a few weeks ago. However, it appeared to not ...
mmcjimsey26's user avatar
0 votes
0 answers
482 views

No longer have access to server externally - network manager

I have just swapped over an ethernet interface on my ubuntu 20 server to be managed by network manager (the others were already managed by it, this was the straggler) The issue now seems however that ...
mangusbrother's user avatar
0 votes
1 answer
822 views

Failed to start the IKEv2 VPN connection to surfshark via NetworkManager

I try to connect to surfshark VPN provider through IKEv2 manually. Here are the logs charon-nm[5070]: 05[CFG] received initiate for NetworkManager connection Surfshark IKE2 charon-nm[5070]: 05[CFG] ...
Morse's user avatar
  • 103
0 votes
1 answer
6k views

/etc/resolv.conf is missing after installation of RHEL 8

I have installed RedHat Enterprise Linux 8.4 (minimal install) on my local server, and got some docker related issues. Then I found that /etc/resolv.conf was missing. After executing "systemctl ...
Daigo's user avatar
  • 363
1 vote
0 answers
228 views

Debian NetworkManager fails to reconnect

Following the NetworkManager description https://wiki.debian.org/NetworkManager the goal of NetworkManager is: NetworkManager attempts to keep an active network connection available at all times. I ...
Manfred Steiner's user avatar
1 vote
2 answers
1k views

What does "ip4 default" mean in NetworkManager nmcli output?

My output of nmcli on my machine is as follows: enp129s0f0: connected to enp129s0f0 "Intel 82599ES SFI/SFP+" ethernet (ixgbe), 00:AB:50:C6:C4:D0, hw, mtu 1500 ip4 ...
DrKumar's user avatar
  • 171
1 vote
1 answer
1k views

Ubuntu 20.04 forward traffic between two interfaces (wlan0 and eth0) using NetworkManager

Running Ubuntu 20.04 on a Pi with netplan disabled and using NetworkManager only. Have wlan0 running in AP mode and an ethernet cable connected to the Pi. I want connections made to the wifi AP on ...
Chimera's user avatar
  • 51
1 vote
1 answer
138 views

Hyper-V Ubuntu-Server VM not connecting to Unifi USG

I have a network set up with 2 VLANs, one for personal interconnectivity and internet access for personal devices, and another one for non-trusted devices like IOT devices. Here's the network topology:...
Stephen Fasciani's user avatar
2 votes
1 answer
2k views

different DHCP behavior between machines using NetworkManager and not using NetworkManager

can anyone please shed some light on the differences I list below. And maybe explain why NetworkManager does it differently. And please advise if we can change NetworkManager to behave more like the ...
jodlgc's user avatar
  • 25
1 vote
0 answers
376 views

Cannot access to website after installing cockpit

I have no idea what happened in my system. I have installed cockpit then I realize I cannot access to my website, which is hosted in my server, anymore. Even when I remove cockpit, which contains ...
quyleanh's user avatar
1 vote
1 answer
1k views

How to encode Pre-Shared Key (PSK) of and L2TP IPSEC connection managed by Network-Manager

If I create a VPN L2TP IPSEC connection using Network-Manager GUI, I introduce the PSK, but this one looks different on /etc/NetworkManager/system-connection/myvpn.nmconnection I am thinking the PSK ...
Javi Hache's user avatar
0 votes
1 answer
1k views

nmcli connection import type wireguard writes additional default route - How to avoid it?

At start I have: [root@client ~]# ip ro | grep default default via 10.0.2.2 dev eth0 proto dhcp metric 100 When i say nmcli connection import type wireguard file /etc/wireguard/wg0.conf I get [root@...
Sebastian Pereira's user avatar
2 votes
0 answers
846 views

Ubuntu Server 20.04 network-manager not starting VPN automatically

I am getting desperate here. I need to connect a Ubuntu Server Machine on a VPS to a network to monitor several machines. I can only connect to the network with L2TP over IPsec. I have tried ...
Javi Hache's user avatar
0 votes
1 answer
1k views

OpenVPN configuration works under CLI but not on NetworkManager (TLS handshake failed)

sudo openvpn --config [VPN-NAME].ovpn: works NetworkManager configuration: doesn't work (while being the same, copypasted config) [VPN-NAME].ovpn: dev tun persist-tun persist-key ncp-disable cipher ...
bryanpedini's user avatar
7 votes
2 answers
7k views

Ubuntu 20.04 Networkmanager OpenVPN: accept pushed DNS but don't route all traffic to tun interface

I am trying to get some Ubuntu 20.04 clients at work to connect to a new OpenVPN server provided by our new server provider. The goal is to route only certain traffic into the tunnel (the ...
Valentin's user avatar
  • 141
1 vote
0 answers
237 views

How to find the route that has internet connection and set it as default (lowest metric) with NetworkManager (Ubuntu)

~$ route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default 192.168.30.102 0.0.0.0 UG 100 0 0 eth0 default ...
Aminos's user avatar
  • 111
0 votes
1 answer
437 views

2 servers show different behavior when DHCP sever goes down

i dont have any control of the DHCP servers on my network and every 2 weeks or so there is an outage of a few hours where my CentOS 7.8 servers do not get responses to DHCP renewal requests. As far as ...
jodlgc's user avatar
  • 25
0 votes
0 answers
88 views

Linux router over VPN

I have a Linux (Ubuntu 18.04) device with 4 Ethernet ports and a LTE wwan card that I want to turn into a bridge and router. However, I don't want to enable NAT via the LTE connection, but route all ...
Gavin Hill's user avatar
0 votes
1 answer
34 views

No access to .x.x IP range on network

I have following setup: Cellular network connection for Internet access 2 x Ethetnet LANs with no access The LANs are 10.5x.x.x networks. My device is on 10.51.85.x subrange. I can ping / reach ...
lukMak's user avatar
  • 3
3 votes
2 answers
4k views

NetworkManager bridge is not working

I face the same problem on 2 difference machines: A CentOS 8.1 and an openSUSE Leap 15.2 I want to create a bridge on each host that will be used from libvirtfor bridged networking. On both servers, I ...
ptselios's user avatar
0 votes
1 answer
448 views

CentOS 8 NetworkManager puts ethernet NIC to sleep

I'm running CentOS 8.2 with a pretty generic install. The system has a single Gb ethernet nic (ens32) which has a static IP address configured. Once a day (or there abouts) the ens32 interface is ...
Mike Cooper's user avatar
0 votes
2 answers
251 views

Unable to set outgoing IP on multi-IP CentOS 8

Our CentOS 8 server at Hetzner has a primary IP aquired through DHCP, and an additional /29 subnet. No matter what outgoing IP I choose, packets are always sent with the primary IP. I would like to ...
Saustrup's user avatar
  • 1,183
0 votes
2 answers
443 views

Adding multiple IPs on same physical interface - but with different logical interfaces (CentOS 8 + NetworkManager)

I'm adding a secondary IP to my CentOS 8 server running NetworkManager. I would previously have done this with ifcfg-style configuration files, but I'm trying to embrace the future and the direction ...
Saustrup's user avatar
  • 1,183
1 vote
1 answer
4k views

NetworkManager adding extra default gateway

Using NetworkManager, I am trying to setup multiple interfaces on different VLANs; the primary interface, em1, is used on a development VLAN; the secondary interface is on a dedicated iSCSI VLAN. I am ...
Matt Clark's user avatar
2 votes
1 answer
4k views

Removing all domains from Network Manager DNS Search List

I'm trying to remove all values from the domain search list that's generated by the network manager. However I cannot get it to provide a blank list. I have tried using "ignore-auto-dns but the ...
Tim's user avatar
  • 21