dentproject / dentOS

dentOS SwitchDev based NOS
Other
202 stars 59 forks source link

Hardware Acceleration for NAT-44 #113

Closed jmpolom closed 1 year ago

jmpolom commented 3 years ago

Static and Dynamic NAT 46/44 and Port Translation

sonoble commented 2 years ago

Currently only NAT44 has been implemented

jmpolom commented 2 years ago

The original comment and title on this issue mentions port translation which is a mistake. That should be prefix translation for IPv6 since that is the stateless analog to stateful NAT44, NAT46 and NAT66. Unfortunately, IPv6 NPT is unavailable with nftables.

Luckily at the moment dentOS is quite behind here and still on iptables however future moves that should include a planned migration to nftables means npt will likely become unavailable due to lack of upstream support.

jmpolom commented 2 years ago

NAT44 is working on the Prestera platform. Status is unknown (needs confirmation) on Spectrum platforms. There's no support for IPv6 related NATs at this time.

taraschornyiplv commented 1 year ago

Nat 44 support documentation https://github.com/Marvell-switching/switchdev-prestera/wiki/NAT-Stateful