On Tue, Nov 26, 2019 at 04:56:32PM +0100, Florian Westphal wrote: > Naresh Kamboju wrote: > > Do you see the following error while running selftests netfilter > > nft_nat.sh test ? > > Are we missing any kernel config fragments ? We are merging configs > > from the directory. normally i will attach my .config file . please compare it with yours > Does this patch help? Even if it doesn't, its probably a good idea > to add it. i applied the patch and tested it. it seems to work like a charm. ---------x-------------x---------------x---------------- $sudo ./nft_nat.sh PASS: netns routing/connectivity: ns0-jwIWrgf5 can reach ns1-jwIWrgf5 and ns2-jwIWrgf5 PASS: ping to ns1-jwIWrgf5 was ip NATted to ns2-jwIWrgf5 PASS: ping to ns1-jwIWrgf5 OK after ip nat output chain flush PASS: ipv6 ping to ns1-jwIWrgf5 was ip6 NATted to ns2-jwIWrgf5 PASS: ping to ns1-jwIWrgf5 was inet NATted to ns2-jwIWrgf5 PASS: ping to ns1-jwIWrgf5 OK after inet nat output chain flush PASS: ipv6 ping to ns1-jwIWrgf5 was inet NATted to ns2-jwIWrgf5 PASS: ip IP masquerade for ns2-jwIWrgf5 PASS: ip6 IPv6 masquerade for ns2-jwIWrgf5 PASS: inet IP masquerade for ns2-jwIWrgf5 PASS: inet IPv6 masquerade for ns2-jwIWrgf5 PASS: ip IP masquerade fully-random for ns2-jwIWrgf5 PASS: ip6 IPv6 masquerade fully-random for ns2-jwIWrgf5 PASS: inet IP masquerade fully-random for ns2-jwIWrgf5 PASS: inet IPv6 masquerade fully-random for ns2-jwIWrgf5 PASS: ip IP redirection for ns2-jwIWrgf5 PASS: ip6 IPv6 redirection for ns2-jwIWrgf5 PASS: inet IP redirection for ns2-jwIWrgf5 PASS: inet IPv6 redirection for ns2-jwIWrgf5 $ --------------x-------------------x------------------------------- Tested-by: Jeffrin Jose T Signed-off-by: Jeffrin Jose T -- software engineer rajagiri school of engineering and technology