[Jool-list] using jool as clat (464xlat) at the user device

Thomas Schäfer tschaefer at t-online.de
Mon Feb 4 12:22:47 CST 2019


Hi,

I tried to follow these tutorials:

https://www.jool.mx/en/node-based-translation.html

https://github.com/NICMx/Jool/issues/177#issuecomment-144648229

But in the meantime something must have changed or I did something wrong.

Could you say how to replace the last command lines, so that they work?

Regards,

Thomas


-------------- next part --------------
###1
linux-y7a7:~ # ip netns add jool
linux-y7a7:~ # ip link add name to_jool typ veth peer name to_world
linux-y7a7:~ # ip link set up dev to_jool
linux-y7a7:~ # ip link set dev to_world netns jool
linux-y7a7:~ # ip netns exec jool ip link set up dev to_world

###2
linux-y7a7:~ # ip -6 address show scope link dev to_jool 
6: to_jool at if5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
    inet6 fe80::44ca:15ff:fe80:19be/64 scope link 
       valid_lft forever preferred_lft forever
linux-y7a7:~ # ip netns exec jool ip -6 address show scope link dev to_world
5: to_world at if6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
    inet6 fe80::cc84:aeff:fec9:98ab/64 scope link 
       valid_lft forever preferred_lft forever

###3       
linux-y7a7:~ # ip netns exec jool ip -6 route add default via fe80::44ca:15ff:fe80:19be dev to_world
linux-y7a7:~ # ip netns exec jool ip -4 address add 192.0.0.2/29 dev to_world

###4
linux-y7a7:~ # echo 1 > /proc/sys/net/ipv6/conf/wwan0/proxy_ndp 
linux-y7a7:~ # ip -6 neigh add proxy 2a01:598:89f0:85e7::4646 dev wwan0
linux-y7a7:~ # ip -6 route add 2a01:598:89f0:85e7::4646 via fe80::cc84:aeff:fec9:98ab dev to_jool
linux-y7a7:~ # ip -4 address add 192.0.0.1/29 dev to_jool
linux-y7a7:~ # ip -4 route add default via 192.0.0.2 dev to_jool
linux-y7a7:~ # echo 1 | tee /proc/sys/net/ipv6/conf/*/forwarding
1

###5
linux-y7a7:~ # ip netns exec jool modprobe jool_siit
linux-y7a7:~ # ip netns exec jool jool_siit --pool6 --add 64:ff9b::/96
Unexpected token: '--pool6'
Available options: instance stats global eamt blacklist4 file 
linux-y7a7:~ # ip netns exec jool jool_siit --eamt --add 192.0.0.1 2a01:598:89f0:85e7::4646
Unexpected token: '--eamt'
Available options: instance stats global eamt blacklist4 file 
linux-y7a7:~ # 


More information about the Jool-list mailing list