[Bug 245277] mbuf_tag PACKET_TAG_IPFORWARD is not honored for host routes

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun May 9 16:53:34 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245277

--- Comment #6 from bugs.freebsd.org at mx.zzux.com ---
I'm not sure that ipfw is quite innocent.
As mentioned in the 1st message there is confusion with tablearg and direct IP.




In this example 8.8.8.8 is routed via default gw, while 8.8.4.4 via
192.168.68.1

ipfw list
8 fwd tablearg ip from any to table(8)
9 fwd 169.254.1.1 ip from any to 8.8.4.4

ipfw table 8 list
8.8.8.8/32 169.254.1.1

Routing tables
Destination        Gateway            Flags       Use    Mtu      Netif Expire
default            192.168.68.64      UGS          16   1500       lan1
169.254.1.1        192.168.68.1       UGHS          6   1500       lan1
192.168.68.0/24    link#1             U      76669362   1500       lan1
192.168.68.111     link#1             UHS           7  16384        lo0

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-net mailing list