[Jool-list] Jool double translation (src+dst) with siit?

Nico Schottelius nico.schottelius at ungleich.ch
Sun Feb 2 15:23:44 CST 2020


Hello,

is it conceptually possible with 1 jool instance to translate both the
source and the destination address in one run or do I need to stack two
jool instances?

The problem I am trying to solve is as follows:

[ IPv4 only network, i.e. 192.168.0.0/24 ]
---> [ Router1: IPv4 -> IPv6 ]
------> [ IPv6 only network, i.e. 2001:db8:1::/64 ]
-----------> [ Router2 with IPv4 + IPv6 + NAT64 ]

So router1 would do the following:

- translate source address 192.168.0.0/24 => 2001:db8:2::/120 [jool
  siit]
- translate destination address X.Y.Z.A => 2001:db8:3::/96 [ nat64
  prefix ]

Then the packet would be routed to router2, which is connected to the
real Internet and do the following:

- See that 2001:db8:3::/96 is actually a nat64 prefix -> translate to
  IPv4
- Has NAT64 -> create a dynamic session entry for the source address in
  2001:db8:2::/120

router2 is as standard nat64 case.

If I am not mistaken, router1 should be able to solve it with 2 eamt
entries on the line of

  "eamt": [
    {
      "ipv6 prefix": "2001:db8:2::/120",
      "ipv4 prefix": "192.168.0.0/24"
    {
      "ipv6 prefix": "2001:db8:3::/96",
      "ipv4 prefix": "0.0.0.0/0"
    }
  ]

I'll try this out tomorrow, but does anything speak against src + dst
translation this way?

Best,

Nico


--
Modern, affordable, Swiss Virtual Machines. Visit www.datacenterlight.ch


More information about the Jool-list mailing list