Questions tagged [ip]
Questions about the IP protocol and IP addresses. For Linux ip utility related questions, use iproute tag instead.
1,202 questions
9 votes
3 answers
1k views
Can I find the IP address used by a remote interface, if its IP range is not known, maybe using arp?
Is it possible to discover the IP address used by a remote host, if its IP range is not known? Maybe using ARP? I have two PCs connected via direct cable (no switch); I forgot the IP range used by the ...
0 votes
1 answer
65 views
cannot assign static ip to ubuntu machine using nmcli
I am assigning a static IP 4 address to ens33 interface on Ubuntu 24.04 using nmcli. But I'm getting the error. Error. unknown connection 'ens33' The commmand I am exceuting on terminal: sudo nmcli ...
2 votes
1 answer
173 views
Ping not outputting all Transmitted Packets
I am trying to log ping results and graph/analyze the results over an extended duration. I have been using: ping <address> -D -O -i 0.1 > output.txt When analyzing the output log I noticed ...
1 vote
1 answer
91 views
Automatically connect to ethernet when available
I want my Linux laptop to connect to ethernet automatically when the ethernet cable is plugged in. Right now, if the laptop is connected to wifi, it will stay connected to wifi even after the ethernet ...
0 votes
0 answers
67 views
Fedora 36 NetworkManager delete old IP, DHCP addresses from adapter enp0s3
I am trying to remove an old IP and route from Fedora 36 NetworkManager. I recall my steps as I followed them. I am using Win-11 x86_64(host), VirtualBox 6.1.5, Fedora 36 (guest.) When I installed the ...
2 votes
1 answer
258 views
How to achieve (without alias) that the output of the ip command is colored by default
When using Rocky Linux 9, I was surprised that the output of the ip command (e. g. ip a) was colored, even though I did not call it with the --color=auto option. Furthermore, no alias (such as alias ...
2 votes
1 answer
104 views
How to enable internet access for a bridge inside a Linux network namespace?
I've created two Linux network namespaces (ns1 and ns2), and inside each, I have: A bridge (ns1-br0, ns2-br0) A TAP device (tap0, tap1) connected to the respective bridge Each TAP device gets an IP ...
0 votes
0 answers
76 views
Route certain hosts through a particular uplink
I have two internet connections: hp which is always there and wlanE which is not always there. I would like some hosts on my network to always use hp. I tried this $ sudo ip route add default dev hp ...
1 vote
1 answer
86 views
Traffic not passed to the local TCP/IP stack for ipsec tun made with ip xfrm over netns
I have a simple netns setup ip netns del ns1 ip netns del ns2 ip netns add ns1 ip netns add ns2 ip link add veth1 type veth peer name veth2 ip link set veth1 netns ns1 ip link set veth2 netns ns2 ...
2 votes
1 answer
114 views
How do I make a virtual "alias" for a remote IP without a proxy process?
I have interfaces enp101s0f0u2u{1..3}, on each of which there is device responding to 192.168.8.1. I want a local processes to be able to reach all of them simultaneously. This is one process, so ...
1 vote
0 answers
81 views
Inconsistent SSH access across devices after switching to new network setup
I recently changed some stuff with my home network, and the changes sparked a few general networking questions (below is a diagram of what I'm working with): Context: For both Setup A and Setup B, ...
3 votes
1 answer
240 views
Why can't I connect a network namespace to the Internet?
I've seen other answers on this site and read an article and watched a video on the topic, but I still can't connect my network namespace to the outside world. Setup I created a namespace named "...
0 votes
1 answer
117 views
What does /etc/resolve.conf actually contain - does it contain the server's own IP or does it contain the upstream delegator?
I have looked at various resolve.conf questions on here and other documentation but they're talking about DNS as an external thing, which doesn't help me distinguish in this case. I have a server. ...
2 votes
2 answers
322 views
High ip route metric causes internet ping loss
Sometimes, randomly, my MacBook Pro running Mint Linux will connect to my home network using the Thunderbolt port and docking station with ethernet but will NOT allow a ping reply from the internet. I ...
0 votes
0 answers
72 views
how to make terraform pass static IP information to kvm virtual machine with variables, in a kickstart pxeboot enabled env?
I have a kvm host, with bridge network, so the vms get IP info directly from router itself. I have created a pxeboot env with dnsmasq acting as dhcp proxy, and kickstart as method of installation ...