Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jun 2021 12:27:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 256828] ipfw fwd stopped working after upgrade from 12.2 to 13.0
Message-ID:  <bug-256828-227-dZW0VvzhAL@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-256828-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-256828-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256828

--- Comment #1 from Mike <woody@woody.ru> ---
First box is 12.2

root@freebsd:~ # uname -a
FreeBSD freebsd 12.2-RELEASE-p7 FreeBSD 12.2-RELEASE-p7 GENERIC  amd64

root@freebsd:~ # ipfw show
01000 164 13146 fwd 146.185.211.254 ip4 from 146.185.210.33 to any out
65534 682 61472 allow ip from any to any
65535   0     0 deny ip from any to any

root@freebsd:~ # ifconfig
vtnet0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1=
500
=20=20=20=20=20=20=20
options=3D6c07bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSU=
M,TSO4,TSO6,LRO,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        ether fa:16:3e:6b:d5:ee
        inet 89.208.84.44 netmask 0xfffffc00 broadcast 89.208.87.255
        inet6 fe80::f816:3eff:fe6b:d5ee%vtnet0 prefixlen 64 scopeid 0x1
        media: Ethernet 10Gbase-T <full-duplex>
        status: active
        nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
vtnet1: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1=
500
=20=20=20=20=20=20=20
options=3D6c07bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSU=
M,TSO4,TSO6,LRO,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        ether fa:16:3e:80:95:dc
        inet 146.185.210.33 netmask 0xfffffc00 broadcast 146.185.211.255
        inet6 fe80::f816:3eff:fe80:95dc%vtnet1 prefixlen 64 scopeid 0x2
        media: Ethernet 10Gbase-T <full-duplex>
        status: active
        nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=3D680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet 127.0.0.1 netmask 0xff000000
        groups: lo
        nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>

root@freebsd:~ # netstat -4rn
Routing tables

Internet:
Destination        Gateway            Flags     Netif Expire
default            89.208.87.254      UGS      vtnet0
89.208.84.0/22     link#1             U        vtnet0
89.208.84.44       link#1             UHS         lo0
127.0.0.1          link#3             UH          lo0
146.185.208.0/22   link#2             U        vtnet1
146.185.210.33     link#2             UHS         lo0


Ping from outside to second IP works as expected with ipfw fwd rule.=20

woody@unknown ~ % ping 146.185.210.33
PING 146.185.210.33 (146.185.210.33): 56 data bytes
64 bytes from 146.185.210.33: icmp_seq=3D0 ttl=3D51 time=3D28.814 ms
64 bytes from 146.185.210.33: icmp_seq=3D1 ttl=3D51 time=3D33.822 ms
64 bytes from 146.185.210.33: icmp_seq=3D2 ttl=3D51 time=3D38.074 ms
64 bytes from 146.185.210.33: icmp_seq=3D3 ttl=3D51 time=3D42.863 ms
64 bytes from 146.185.210.33: icmp_seq=3D4 ttl=3D51 time=3D38.847 ms

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256828-227-dZW0VvzhAL>