Thread (1 message) 1 message, 1 author, 2014-08-12

Fwd: about Bug 14007 - iproute2: socket lookup after..

From: Bjørnar Ness <hidden>
Date: 2014-08-12 19:52:29

Hello guys,

While experimenting with some not-so-common network setup, I came
across the same
issue as mentioned in bug (14007) from 5 years ago. This bug was
closed as "INVALID",
without any explanation, and I also am unable to find relevant
documents on this topic.

What I want to do is something like this:

sysctl -w net.ipv4.ip_nonlocal_bind=1

nc -l 1.2.3.4 1234 &

ip rule del pref 0
ip rule add pref 100 table local
ip route add table 255 local 1.2.3.4/32<http://1.2.3.4/32> dev lo scope host
ip rule add pref 50 fwmark 0xff table 255


When I try to connect to 1.2.3.4 1234 or ping 1.2.3.4 I get "invalid argument"

What is the cause of this, and how can I accomplish what I want?

adding same route to local table does what I want.

-- 
Bj(/)rnar
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help