All Questions
248
questions
1
vote
1
answer
72
views
What is the default tunnel 'mode' when creating with `ip`
I'm trying to convert this ip tunnel creation process:
sudo ip tuntap add tun0 mode tun
sudo ip addr add 192.168.7.2/25 dev tun0
sudo ip link set dev tun0 up
sudo ip addr show tun0
to a netplan ...
1
vote
0
answers
40
views
strange routing table entries
My Linux network device cannot be access outside my local network.
I checked the routing table, and found the following:
netstat -rn
Kernel IP routing table
Destination Gateway Genmask ...
0
votes
2
answers
81
views
Why a host with interfaces for networks A and B reply pings to interface A coming from a host at B?
I have a Linux host X with two network interfaces:
eth0 is at 10.0.1.0/24 with IP address 10.0.1.1
eth1 is at 10.0.2.0/24 with IP address 10.0.2.1
I have another Linux host Y at 10.0.1.0/24 network, ...
1
vote
0
answers
44
views
SSDP Discovery not working for IP address other than WSL's instance IP
I am trying to port a process from Windows to WSL/Linux. Earlier, two Windows process were communicating through TCP connection after successful SSDP discovery. Now, I want similar communication to ...
2
votes
1
answer
144
views
On Linux I cannot bind to wireguard network interface via IP, but can with interface name
I have a WireGuard connection on my computer that I wish to only bind certain programs to. Programs that bind via the interface name (wg0 in my case) bind correctly, but programs that bind via ...
1
vote
1
answer
171
views
Two ULA addresses on one interface
I have a raspberry connected to an OpenWrt IPv4/IPv6 router. As you can see below, on the eth1 interface I get two ULA addresses: fd00::1f0/128 and fd00::27d5:6387:c8e5:3b1a/64
On the router, the fd00:...
0
votes
0
answers
149
views
Netplan - add secondary IP address and assign a label
I saw the same question here, but I can't find it anymore. How can I add secondary IP address and assign a label to it via netplan?
I have this netplan config:
# This is the network config written by '...
0
votes
1
answer
154
views
Cannot IP Forward From a Physical Linux Server to a Docker Container Running on Another Physical Server and Vice Versa
TLDR;
I have three servers, Server A, B, and C. Server A and B are physical servers on the same subnet. Server C is a virtual server, a basic WireGuard Docker Compose container running on server B, ...
1
vote
2
answers
165
views
Is there any way to query a router about the IPs it has already assigned?
I have a WiFi device which connects to my Android phone's hotspot. My Android phone acts as a router.
From my Ubuntu I connect to the same network. Is there any way to query the router (in this case, ...
1
vote
0
answers
206
views
SSH connection between Ubuntu Server VM
I'm trying to make SSH connection from my Windows 10 host to the Ubuntu Server VM.
At the beginning I built the VM from scratch on VMware and chose the Bridged Adapter configuration. It gave me IP of ...
2
votes
1
answer
407
views
Why is my public IPv6 address different from the one listed in linux
Going to [whatismyip.com][1] on different devices inside my home network provides expected results, the same IPv4 address and different IPv6 addresses on each device. However, upon looking at the ...
1
vote
1
answer
272
views
IPIP tunnel packets are not send
I have a VPS with an external IP say 40.40.40.40 and trying to create IPIP tunnel to it. Here is what I tried:
#create interface megatun0 to tunnel traffic through the host 40.40.40.40.
sudo ip tunnel ...
2
votes
0
answers
186
views
Mark only the udp traffic above a certain rate using iptables commands
I'm trying to achieve the following scenario:
Using the iptables command, mark UDP traffic with destination port 1234 that passes through a Linux router with the recommended DSCP value for Expedited ...
0
votes
0
answers
164
views
Why do we need multiple iptables?
In man iptables there are 4 tables defined: filter, mangle, nat, raw. And many of them have the same predefined chain. For instance, nat and mangle both have OUTPUT chain.
The question is why do we ...
1
vote
0
answers
175
views
RTNETLINK answers: Invalid argument when trying to use avahi-autoipd on Petalinux device
I have an embedded device running PetaLinux that I wish to configure to use avahi-autoipd to use LLA on an interface.
I have been trying to do this from the CLI to ensure it works as expected, and I ...