Pull request created: https://github.com/vyos/vyos-1x/pull/2112
- Feed Queries
- All Stories
- Search
- Feed Search
- Transactions
- Transaction Logs
All Stories
Jul 26 2023
There is this line in the code https://github.com/vyos/vyos-1x/blob/688755a988e233e221bf920e391e35d5ddc9cb56/src/op_mode/show_ntp.sh#L21
@c-po just added the sudo on a live box to test the changes and I can confirm that fixes it. No auth prompt when doing a load config.
Now I did notice that every time I do a load config it runs that migration script which stops/starts the container which is not ideal.
Jul 25 2023
I can confirm that altering line 21 as suggested fixes this issue.
We probably wan't to load/unload the Kernel Module given what the user want's to do
Out of the blue it seems like "network namespaces" would solve alot of current VRF compatability issues within VyOS:
Workaround until "system name-server" becomes vrf aware seems to be to change context into vrf INTERNET and then do a ping with VRF syntax like so:
I would vote for:
Can you check changing
@jvoss Add the PR, please
Thanks.
Spot on Viacheslav! That absolutely resolved the issue, thanks! I was initially thinking it might have been the key_mangling option. Glad to see there is another option here.
Try to add no_tag_node_value_mangle there https://github.com/vyos/vyos-1x/blob/20b7155f4140f54cf7669256160b6fedd8c1ab7a/src/conf_mode/protocols_static.py#L50
Doing some more digging it turned out that VyOS doesnt support nested routing so the gateway must be reachable (at least IP-address wise) through a physical interface - I have updated the script in the original post to adjust for that (added variable GATEWAY).
@dongjunbo It requires more tests and reviews
Fix for 1.4: https://github.com/vyos/vyos-1x/pull/2109
Would you please backport this feature to VyOS 1.3.x?
Jul 24 2023
I would find something like this very easy to use:
Re opening this task. Migration script needs to be added.
Do you have any idea for the CLI?
But they shouldnt take several minutes and this alone can be a reason for why not putting VyOS into production.
Long commit time does not depend on the number of static routes, but on a size of the configuration or number of lines in the configuration. If a router has a large configuration (not necessarily static routes), committing any changes takes several minutes.
Jul 23 2023
Am I supposed to create data/template/dhcp-client/dhcp6c_daemon-options.j2 by hand? I tried to run make to try and create the template, then go from there & fill out the template like in daemon-options.j2. But my dev env is borked, and I'm starting to think that inside a VyOS instance is also where I'm supposed to do this.
Jul 22 2023
Out of the blue I think its a bad thing to throw stuff into the kernelmode for the fun of it.
My proposal after some testing: