[Bug 266439] ipfw fwd stopped working after upgrade from 12.2 to 13.1-p2

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 16 Sep 2022 07:30:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266439

            Bug ID: 266439
           Summary: ipfw fwd stopped working after upgrade from 12.2 to
                    13.1-p2
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: dol@ngcom.ru

13.1-p2 host with 2 internet links
em0  - main link (defroute) IP1
fxp0 - backup link  IP2 --> GW2

forward outgoing backup link traffic to backup GW2
# ipfw show
00040      268       20183 fwd GW2.GW2.GW2.GW2 ip from IP2.IP2.IP2.IP2 to any
out via em0
00050    10695     2271177 allow ip from any to any

Ping external host from IP2 source address
# ping -S IP2.IP2.IP2.IP2 93.180.xxx.xxx
PING 93.180.xxx.xxx (93.180.xxx.xxx) from IP2.IP2.IP2.IP2: 56 data bytes
^C
62 packets transmitted, 0 packets received, 100.0% packet loss

All traffic flow via default routing interface
# tcpdump -ni em0 host 93.180.xxx.xxx
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on em0, link-type EN10MB (Ethernet), capture size 262144 bytes
02:17:49.323610 IP IP2.IP2.IP2.IP2 > 93.180.xxx.xxx: ICMP echo request, id
2079, seq 8, length 64
02:17:50.324601 IP IP2.IP2.IP2.IP2 > 93.180.xxx.xxx: ICMP echo request, id
2079, seq 9, length 64

PS: Secont test
If I ping host from external IP to IP2 icmp packet return from main link

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