-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
To reproduce it, add a rule:
ip rule add to 1.1.1.1 fwmark 1 lookup 1
ip route add default via 127.0.0.1
and check route for 1.1.1.1 with and without the mark:
ip route get 1.1.1.1
ip route get 1.1.1.1 mark 1
Both will return the same result and that's wrong behavior.
First command should return default gateway from the main table (ip route show)
Second command should return dev lo
What is weird - it works if I use tos instead of fwmark.
I've tried different distros (ubuntu, debian, centos) for my M2 Berry. It doesn't work. Seems there is some problem with the kernel options or something else.
CONFIG_IP_ADVANCED_ROUTER is set to y in /proc/config.gz
Metadata
Metadata
Assignees
Labels
No labels