Re: NAT problems 14.3+
- In reply to: Dmitry Salychev : "Re: NAT problems 14.3+"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 06 May 2026 17:55:51 UTC
Oh that would be worth testing imho. And i would want to do that, but i would need rather specific instructions. Kind Regards Rob > On 6 May 2026, at 16:42, Dmitry Salychev <dsl@FreeBSD.org> wrote: > > Rob Bloemers <bsd@connectedserver.com> writes: > >> ifconfig epair0b -txcsum -rxcsum > > I wonder whether [1] is a culprit or not. > > [1] https://cgit.freebsd.org/src/commit/?id=39d4094173f9 > > Regards, > Dmitry > >> >> on the inside of the jail works too. >> >>> On 5 May 2026, at 16:45, Rob Bloemers <bsd@connectedserver.com> wrote: >>> >>> I found the reason, or better put, workaround for my issue. When disabling tx and rxcsum on the vnet internet of the jail, things starts to work again. >>> >>> on the host, ifconfig vnet0.X -txcsum -rxcsum >>> >>>> On 4 May 2026, at 16:28, Rob Bloemers <bsd@connectedserver.com> wrote: >>>> >>>> FWIW >>>> >>>> Avoiding in-kernel IPFW NAT and using the rc.firewall / type open with natd in userspace, nat seems to function fine for my jails. >>>> >>>>> On 3 May 2026, at 12:54, Rob Bloemers <bsd@connectedserver.com> wrote: >>>>> >>>>> I've tried this setup now on three different machines at three >>>>> different providers, and each time my simple NAT breaks and i'm >>>>> still clueless on the why. And it prevents me from moving quite a >>>>> few machines from 14.3 to newer releases. What works fine on 14.3 >>>>> breaks on 14.4 or newer, which even worse results on 15.0. Even >>>>> the ipfw nat example from the freebsd manual does not work. I'm >>>>> sure i cant be the only one with this issue? >>>>> >>>>> Really hope somebody can replicate this for him/herself to confirm this and/or give me a solution for my problem. >>>>> >>>>> Kind Regards >>>>> Rob >>>>> >>>>>> On 23 Apr 2026, at 12:34, Rob Bloemers <bsd@connectedserver.com> wrote: >>>>>> >>>>>> had to quickly upgrade to 14.4 again to return to the broken state. But unfortunately -tso -lro does not change the result. >>>>>> >>>>>> ice0: flags=1008943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 9000 >>>>>> options=4e00028<VLAN_MTU,JUMBO_MTU,RXCSUM_IPV6,TXCSUM_IPV6,HWSTATS,MEXTPG> >>>>>> >>>>>> using >>>>>> ifconfig_ice0="DHCP mtu 9000 -tso -lro -vlanhwtso -vlanhwtag -vlanhwfilter" >>>>>> >>>>>> Inside the jail, the ISP dns stops responding then too strangely. Then when i update it to 1.1.1.1 i can resolve again inside the jail. >>>>>> Then when i ping some domain, the first reply i get is from the resolved ip and then i get responses from its own server ip. >>>>>> >>>>>> (jail) >>>>>> root@x-mysql:~ # ping nu.nl >>>>>> PING nu.nl (2.16.245.135): 56 data bytes >>>>>> 64 bytes from 2.16.245.135: icmp_seq=0 ttl=50 time=4.603 ms >>>>>> 64 bytes from 57.128.x.y: icmp_seq=1 ttl=50 time=4.588 ms >>>>>> 64 bytes from 57.128.x.y: icmp_seq=2 ttl=50 time=4.602 ms >>>>>> 64 bytes from 57.128.x.y: icmp_seq=3 ttl=50 time=4.602 ms >>>>>> >>>>>> Maybe this can be a clue? (i dont remember seeing this before today) >>>>>> >>>>>> >>>>>>> On 23 Apr 2026, at 10:22, Andrey V. Elsukov <bu7cher@yandex.ru> wrote: >>>>>>> >>>>>>> On 23.04.2026 11:10, Rob Bloemers wrote: >>>>>>>> Yes sir, via ifconfig and using sysctl.conf && fresh reboot. Unfortunately no changed. >>>>>>>>> >>>>>>>>> Did you try to disable TSO on the ice0 interface? >>>>>>> >>>>>>> I'm not sure what you have disabled using sysctl.conf, can you show the output of: >>>>>>> >>>>>>> ifconfig ice0 | grep options >>>>>>> >>>>>>> -- >>>>>>> WBR, Andrey V. Elsukov >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>> >>>> >>>> >>> >>> > > -- > https://wiki.freebsd.org/DmitrySalychev