Questions tagged [ip]
Questions about the IP protocol and IP addresses. For Linux ip utility related questions, use iproute tag instead.
1,202 questions
-2
votes
0
answers
62
views
Can't connect to Static IP
What I did:
sudo ip addr add 192.168.0.100/24 dev wlan0
sudo ip route add default via 192.168.0.1 dev wlan0
I even reserved 192.168.0.100 as a static IP in the router settings, but I am still unable ...
1
vote
1
answer
40
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
44
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
135
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
78
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
65
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
60
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
89
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
63
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
207
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
91
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
247
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
60
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 ...
0
votes
0
answers
76
views
Cloudlinux 8.10 changed my Network Interface name to ens3
I installed just fine i attached the cloudlinux minimal iso file to my VPS and booted it from said file during the install it picked up the network just fine and once i rebooted the server it worked ...
1
vote
0
answers
68
views
If I ssh from machine A to a machine B in another network, and from there ssh back to A, does it mean I'm using A's public IP? [closed]
Sorry if the question in the title is a bit convoluted.
Let's see the steps:
I execute ip address to get the IP of my personal machine. In total ignorance, I pick 173.61.233.17, which is somewhere in ...