Page MenuHomeVyOS Platform

ttl option of gre-bridge
Closed, ResolvedPublicBUG


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.



Difficulty level
Easy (less than an hour)
Why the issue appeared?
Design mistake
Is it a breaking change?
Perfectly compatible
Issue type
Feature (new functionality)

Event Timeline

Hi @jingyun, can you share how you added it to your local installation?

Could you possible send us a PullRequest (

Just modify the line 182 of file /usr/lib/python3/dist-packages/vyos/ifconfig/

options = ['local', 'remote', ]


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.

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/ The corresponding file is in

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

c-po claimed this task.
c-po triaged this task as Normal priority.
c-po changed Why the issue appeared? from Will be filled on close to Design mistake.
erkin set Issue type to Feature (new functionality).Aug 29 2021, 12:28 PM
erkin removed a subscriber: Active contributors.