Hello,
Current vyos disabled the ttl option for gre-bridge tunnel, but it is supported by ip link.
I have added it on my local vyos, and it works fine.
Please consider add this to further distribution.
Thanks.
Hello,
Current vyos disabled the ttl option for gre-bridge tunnel, but it is supported by ip link.
I have added it on my local vyos, and it works fine.
Please consider add this to further distribution.
Thanks.
Hi @jingyun, can you share how you added it to your local installation?
Could you possible send us a PullRequest (https://docs.vyos.io/en/latest/contributing/development.html#submit-a-patch)?
hello,
Just modify the line 182 of file /usr/lib/python3/dist-packages/vyos/ifconfig/tunnel.py
from
options = ['local', 'remote', ]
to
options = ['local', 'remote', 'ttl', ]
Then reboot the VyOS, it will load the modified python file, and ttl could be set afterwards.
As I'm not familiar with VyOS development, and the patch procedure, can you kindly do this?
Thank you.
Hello,
This is working as "ip link add tun0 type gretap local x.x.x.x remote y.y.y.y ttl z" in linux.
I have tested it in my server, and it works as expected.
Thank you.
/usr/lib/python3/dist-packages/vyos/ifconfig/ tunnel.py The corresponding file is in https://github.com/vyos/vyos-1x/blob/current/python/vyos/ifconfig/tunnel.py
Please fork and modify it in the local version library, and then recompile ISO for testing. If successful, please submit PR, @c-po has told you how to participate in the contribution