Questions tagged [iproute2]
The iproute2 tag has no usage guidance.
63
questions
1
vote
2
answers
24
views
What is the purpose iproute2's nexthop object management utility?
I'm not sure how ip nexthop is used to affect the route taken by packets and its relationship with ip route and the nexthop parameter of ip route. Is there a standard way this is used within industry, ...
0
votes
2
answers
295
views
remove or disable self-assigned 169.254 IP address
I have a Debian system (BeagleBone, specifically) that insists on assigning a 169.254.*.* address on eth0. I've edited /etc/network/interfaces to assign a static address, but the self-assigned one ...
0
votes
1
answer
88
views
Why doesn't ARP request over VXLAN network get response using simple two machine linux setup?
I am testing the native VXLAN functionality of iproute2 in linux network namespaces. The simulated setup involves 2 different namespaces with 1 bridge and 2 veth pairs.
The aim is to have a basic ...
0
votes
1
answer
87
views
Why do I observe an ICMP Destination Port Unreachable (Type 3, Code 3) when GRE tunneling with iproute2?
I am testing the native GRE tunneling functionality of iproute2 in linux network namespaces. The simulated setup involves 3 different namespaces with 2 bridges and 4 veth pairs.
Please see the section ...
0
votes
0
answers
33
views
How to see if any tc/iproute2 rules are in effect?
I've seen this question, but for me on Debian (bookworm), the output is not empty even if I delete everything (tc qdisc delete dev eth root) on an interface, tc qdisc show dev eth still shows this:
...
0
votes
0
answers
161
views
Fixing routes for an OpenVPN client using a http-proxy to connect to the commercial VPN server
On my OpenWRT router I do use passwall and a couple of internet censorship circumventing proxies.
In order to maximise the security of my home internet I am using a *reputable commercial *
VPN product....
0
votes
1
answer
2k
views
Setting up multiple IPv6 routes over a single interface on Linux
tldr; A LAN device is able to get 2 separate internet connection (1 NATted from ISP Router, 1 from manual PPP connection). Able to separate ISP-WAN and PPP-WAN IPv4 into 2 routes using ip rules but ...
0
votes
0
answers
1k
views
How to configure route between tun0 to access local machine?
I have the following structure. All machines are Linux based.
Server
------------------------
eth0 WAN
tun0 192.168.2.1 peer 192....
1
vote
1
answer
2k
views
"ip neigh flush" command removes entries with "extern_learn" and "permanent" set
If arp/neighbor entries are programmed with both "extern_learn" and "permanent", "ip neigh flush" command throws "Invalid argument" error, but the entries are ...
0
votes
1
answer
144
views
supress iproute2 error message
iproute2 has a message on fail that I do not know how to suppress.
I want to save the output of iproute2 to a variable for later use. if my network is up all is well and the output is something like:
...
0
votes
2
answers
1k
views
How do I override the automatic address assignments on the loopback device?
Background
On modern linux systems the preferred way of managing network interfaces, ip addresses and routes, and related things is tools from the iproute2 package.
I am trying to set up a somewhat ...
1
vote
2
answers
2k
views
Routing using iproute2 after NAT
In a Linux system, which acts as a gateway on my lan, I tried to route traffic using iproute2.
Moreover, before routing it is necessary to perform the NAT, since
the linux machine is connected to a ...
2
votes
0
answers
2k
views
Route based on Source IP Address via 2 gateways on same NIC
In a Linux system, which acts as a gateway on my lan, I would like to route traffic based on source IP addresses.
I have 2 network cards and one of these cards has 2 different default gateways.
I know ...
4
votes
1
answer
320
views
Respond to ICMP while having multiple local tables in Linux
I have an IP range and I want to listen on all IP addresses, assume that is 10.0.0.0/8
Using TPROXY and packet mark I can respond to TCP traffic. This range should be in local table, but I don't want ...
0
votes
0
answers
505
views
Linux - Routing traffic with a fallback default gateway [duplicate]
I am trying to set up a fallback connection on a Linux machine that has access to two different routers on different subnets on running on the same network. I have been reading several other posts ...