toreanderson / clatd

A 464XLAT CLAT implementation for Linux
MIT License
213 stars 19 forks source link

tayga ipv6-addr cannot but must be set #18

Closed HealingArcYT closed 2 years ago

HealingArcYT commented 2 years ago

Log:

Apr 19 12:12:46 srv12946 clatd[1855]: Checking if this system already has IPv4 connectivity in 10 sec(s)
Apr 19 12:12:46 srv12946 clatd[1855]: Enabling IPv6 forwarding
Apr 19 12:12:46 srv12946 clatd[1855]: Adding ip6tables rules allowing traffic between the CLAT and PLAT devices
Apr 19 12:12:46 srv12946 clatd[1855]: Enabling Proxy-ND for 2a02:180:6:1::203e on eth0
Apr 19 12:12:46 srv12946 clatd[1855]: Creating and configuring up CLAT device 'clat'
Apr 19 12:12:46 srv12946 clatd[1867]: Error: ipv6-addr directive must be specified if prefix is 64:ff9b::/96 and ipv4-addr is a non-global (RFC 1918) address # Edit: this line was not fully copied...
Apr 19 12:12:46 srv12946 clatd[1855]: <error> cmd(tayga --config /etc/tayga.conf --mktun ) returned 0
Apr 19 12:12:46 srv12946 systemd[1]: clatd.service: Main process exited, code=exited, status=1/FAILURE
Apr 19 12:12:46 srv12946 systemd[1]: clatd.service: Failed with result 'exit-code'.

Clatd Config

clat-v6-addr=2a02:180:6:1::203e

tayga-conffile=/etc/tayga.conf
tayga-v4-addr=192.168.255.1
tayga-v6-addr=2a02:180:6:1::203f #tried to use that but it doesnt do anything
thomasschaeferm commented 2 years ago

tayga-v4-addr is wrong. tayga-v6-addr is an invalid option

Have you tried clatd without extra configuration?

toreanderson commented 2 years ago

Try removing tayga-v4-addr and going with the default value? I think that should work.

HealingArcYT commented 2 years ago

tayga-v4-addr is wrong. tayga-v6-addr is an invalid option

Have you tried clatd without extra configuration?

then it did not work at all

toreanderson commented 2 years ago

Can you please provide a full log with debugging output, cf. https://github.com/toreanderson/clatd#bugs?