Page MenuHomeVyOS Platform
Feed All Stories

May 6 2020

Unknown Object (User) closed T1982: Increase rotation for atop.acct as Resolved.
May 6 2020, 1:58 PM · VyOS 1.2 Crux (VyOS 1.2.6)
jestabro claimed T2402: Live ISO should warn when configuring that changes won't persist.
May 6 2020, 1:53 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
jack9603301 changed the status of T2429: Vyos cannot apply VLAN sub interface to bridge from Open to Needs testing.
May 6 2020, 1:50 PM · VyOS 1.3 Equuleus (1.3.0)
Viacheslav updated subscribers of T1698: prefix-list and/or route-map not configured before referencing BGP neighbor is configured (BGP session established before filters applied).
May 6 2020, 1:01 PM
Viacheslav added a comment to T1698: prefix-list and/or route-map not configured before referencing BGP neighbor is configured (BGP session established before filters applied).

@maznu I think this will be the default only after BGP switches to a new XML/python format.
https://phabricator.vyos.net/T2174

May 6 2020, 12:50 PM
maznu added a comment to T1698: prefix-list and/or route-map not configured before referencing BGP neighbor is configured (BGP session established before filters applied).

The good news is that this can be fixed with:

May 6 2020, 12:44 PM
Viacheslav added a comment to T1698: prefix-list and/or route-map not configured before referencing BGP neighbor is configured (BGP session established before filters applied).

To reproduce it in a test lab.
R1 Originate 1000 prefixes
R2 import 1000 and export 40 prefixes to R3
R3 prefix-limit 40 prefixes.

May 6 2020, 12:40 PM
jjakob added a comment to T2429: Vyos cannot apply VLAN sub interface to bridge.

Tested it right now, set interfaces bridge br0 member interface eth3.4 worked fine with latest current vyos-1x, so the next ISO should definitely have this fixed.

May 6 2020, 11:47 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2429: Vyos cannot apply VLAN sub interface to bridge.

See T2427, the fix for that was merged today and will be in the next ISO build. I'll test that new ISO too to see if I catch any migration errors (I tested it just on a test VM without upgrading and I didn't see any VLAN errors, several configured VLANs seemed to work)
Edit: I see the error is for eth vif in a bridge, I didn't test that, just vif on ethernet and eth in a bridge. I'll test it today.

May 6 2020, 11:11 AM · VyOS 1.3 Equuleus (1.3.0)
jack9603301 updated the task description for T2429: Vyos cannot apply VLAN sub interface to bridge.
May 6 2020, 10:58 AM · VyOS 1.3 Equuleus (1.3.0)
jack9603301 created T2429: Vyos cannot apply VLAN sub interface to bridge.
May 6 2020, 10:53 AM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin added a comment to T2407: alternate installation for the vyos-1x python code.
May 6 2020, 8:06 AM
thomas-mangin edited projects for T2407: alternate installation for the vyos-1x python code, added: VyOS 1.1.x; removed VyOS 2.0.x.
May 6 2020, 8:05 AM
GitHub <noreply@github.com> committed rVYOSONEX57f905a70029: Merge pull request #393 from jjakob/disable-address-fix-T2427 (authored by c-po).
May 6 2020, 7:58 AM
jair added a comment to T1938: syslog doesn't start automatically.

Just wanted to add an update on this, as of today May-6-2020

May 6 2020, 2:46 AM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
robertoberto closed T2428: api set protocols static route fail as Invalid.
May 6 2020, 1:03 AM
jestabro added a comment to T2428: api set protocols static route fail .

It appears you are sending a redundant 'set' within the path itself.

May 6 2020, 12:50 AM
robertoberto added a comment to T2428: api set protocols static route fail .

https://github.com/vycontrol/vycontrol/issues/27

May 6 2020, 12:42 AM
robertoberto created T2428: api set protocols static route fail .
May 6 2020, 12:36 AM

May 5 2020

thomas-mangin added a comment to T2426: vymgmt unparsable output.

ack - I will change this to make sure it is safe !

May 5 2020, 6:35 PM · Python Management Library
jjakob added a comment to T2427: Interface addressing broken since fix for T2372 was merged.

https://github.com/vyos/vyos-1x/pull/393

May 5 2020, 3:27 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob changed the status of T2427: Interface addressing broken since fix for T2372 was merged from Open to In progress.
May 5 2020, 1:25 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2372: VLAN: error on commit if main interface is disabled.

Why do we need to remove all addresses from the interface when it is disabled? That causes a commit error on dhcp:

vyos@vyos# set service dhcp-server disable 
[edit]
vyos@vyos# commit
[edit]
vyos@vyos# delet service dhcp-server disable 
[edit]
vyos@vyos# commit
[ service dhcp-server ]
DHCP server configuration error!
None of configured DHCP subnets does not have appropriate
primary IP address on any broadcast interface.
May 5 2020, 9:10 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob assigned T2372: VLAN: error on commit if main interface is disabled to thomas-mangin.

@thomas-mangin there was a bug in PR #383 that prevented bond interfaces from coming up - it thought the members had addresses assigned, but they didn't. Something in my PR#384 fixed it - I'm not exactly sure what - probably assigning the intf['intf'] in get_intf_from_dict or fixing the _basename function. There is still a bug with IPv6 link-locals that worked fine before - I'll see if it's easy to track down, if not I'll open a new task for it.

May 5 2020, 8:27 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2426: vymgmt unparsable output.

It seems to be reading the output of something that thinks it's talking to a VT100 terminal.

May 5 2020, 8:05 AM · Python Management Library
GitHub <noreply@github.com> committed rVYOSONEX9afb06a0187c: Merge pull request #384 from jjakob/bridge-fix-T2241 (authored by c-po).
May 5 2020, 5:21 AM
nwsnate added a comment to T2426: vymgmt unparsable output.

Example of output containing control characters.

May 5 2020, 3:33 AM · Python Management Library
nwsnate updated the task description for T2426: vymgmt unparsable output.
May 5 2020, 3:31 AM · Python Management Library
nwsnate created T2426: vymgmt unparsable output.
May 5 2020, 3:29 AM · Python Management Library
jestabro closed T1899: Unionfs metadata folder is copied to the active configuration directory as Resolved.
May 5 2020, 3:05 AM · VyOS 1.3 Equuleus (1.3.0)
jestabro triaged T2203: http api: "Failed to generate committed config" as High priority.
May 5 2020, 3:01 AM
jestabro changed the status of T2203: http api: "Failed to generate committed config" , a subtask of T1899: Unionfs metadata folder is copied to the active configuration directory, from Open to Needs testing.
May 5 2020, 3:01 AM · VyOS 1.3 Equuleus (1.3.0)
jestabro changed the status of T2203: http api: "Failed to generate committed config" from Open to Needs testing.
May 5 2020, 3:01 AM
jestabro added a comment to T2203: http api: "Failed to generate committed config" .

@fetzerms I believe this is resolved by the fix in T1899, which will be in the next rolling release.

May 5 2020, 2:59 AM

May 4 2020

jestabro added a subtask for T1899: Unionfs metadata folder is copied to the active configuration directory: T2203: http api: "Failed to generate committed config" .
May 4 2020, 9:12 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a parent task for T2203: http api: "Failed to generate committed config" : T1899: Unionfs metadata folder is copied to the active configuration directory.
May 4 2020, 9:12 PM
jjakob added a comment to T2404: Cannot change MTU.

@Viacheslav I confirmed the bug you have with assigning 'fe80::/64' when it shouldn't. It appered after https://github.com/vyos/vyos-1x/pull/383 - I'll investigate once my other PR gets merged and open a task for it. (note that it should add the fe80::(eui-64)/64 based on mac address by default and no-default-link-local did disable it before PR#383)

May 4 2020, 9:09 PM · VyOS 1.3 Equuleus (1.3.6)
jestabro changed the status of T1899: Unionfs metadata folder is copied to the active configuration directory from Confirmed to In progress.
May 4 2020, 9:03 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a comment to T1899: Unionfs metadata folder is copied to the active configuration directory.

This is a result of a regression in unionfs-fuse, fixed in commit 93c2f9b, but not contained in the debian buster package v1.0. The naming convention for directories was changed from unionfs to unionfs-fuse, and then reverted, forgetting to revert the meta directory name. Consequently, bad things can happen for packages that had defined the meta directory consistent with the pre-v1.0 naming, for example, vyatta-cfg. Two fixes have been tested with initial success: (1) patch unionfs-fuse (2) change the meta directory name in vyatta-cfg. Either fix passes initial tests, although closer scrutiny is warranted, as it is a critical issue. The downside of (1) is the need to maintain an upstream or patched version of unionfs-fuse; the downside of (2) is that we are accommodating a regression, which will break again when/if the upstream package is available. Likely the quickest solution is preferred, as this issue is implicated in several recent bug reports.

May 4 2020, 9:03 PM · VyOS 1.3 Equuleus (1.3.0)
zsdc added a comment to T1876: IPSec VTI tunnels are deleted after rekey and dangling around as A/D.

Need to check again with 1.3, as may be solved by: https://phabricator.vyos.net/T1291

May 4 2020, 8:21 PM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) added a comment to T1276: dhcp relay + VLAN fails.

@Gislaved, I have just tested it on the KVM (proxmox) with VirtIO and I coudn't reproduce it. It works with exactly the same defects as I mentioned in my previous message. Tested on the both LTS and 1.3-rolling-202005031216.

May 4 2020, 7:19 PM · VyOS 1.3 Equuleus (1.3.5), VyOS 1.4 Sagitta, test
syncer removed a project from T2100: BGP route adverisement wih checks rib: VyOS 1.2 Crux (VyOS 1.2.5).
May 4 2020, 6:24 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
syncer reopened T2100: BGP route adverisement wih checks rib as "Open".

@brussell @Viacheslav @dmbaturin @zsdc
FRR devs agree to change the default behavior in 7.4
so we need to prepare change on our side and also document that change in FRR docs

May 4 2020, 6:05 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
Unknown Object (User) closed T2025: Add Comments section to Troubleshooting docs as Resolved.
May 4 2020, 4:49 PM · Restricted Project
maznu added a comment to T2425: Rewrite all policy zebra filters to XML/Python style.

Would love to see this resolved — a large (but reasonable) configuration doing IRR-based filtering from BGP peers took 9 hours to boot up.

May 4 2020, 4:43 PM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) added a comment to T2025: Add Comments section to Troubleshooting docs.

It is already in the manual. Not at the Troubleshooting section, but at Configuration Overview.
https://docs.vyos.io/en/latest/configuration-overview.html#comment

May 4 2020, 4:42 PM · Restricted Project
Unknown Object (User) closed T163: PGP key and verifying procedure (or a link to it) should be added to the website as Resolved.
May 4 2020, 4:30 PM · Restricted Project
Unknown Object (User) added a comment to T163: PGP key and verifying procedure (or a link to it) should be added to the website.

That was done.

May 4 2020, 4:28 PM · Restricted Project
c-po closed T1321: Cleanup "service dns forwarding" tree as Wontfix.
May 4 2020, 4:16 PM · VyOS 1.3 Equuleus (1.3.0)
zsdc closed T1291: Under certain conditions the VTI will stay forever down as Unknown Status.
May 4 2020, 4:07 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
robertoberto added a comment to T2404: Cannot change MTU.
In T2404#62721, @jjakob wrote:

@c-po is it possible to detect the exact networking setup used on the host? If not, I don't think that'll do any good, because the hypervisor is just that - a hypervisor. There can be many different types of networking. Like in this case, Openstack's SDN supports a lower MTU than a bridged or NATed connection with the same hypervisor would. The only reliable way is to detect the max MTU in some way (the kernel/device driver must know this, the question how can we read it) - the first step is to not touch the default MTU if the user doesn't set it.

May 4 2020, 3:22 PM · VyOS 1.3 Equuleus (1.3.6)
jjakob added a comment to T2404: Cannot change MTU.

@c-po is it possible to detect the exact networking setup used on the host? If not, I don't think that'll do any good, because the hypervisor is just that - a hypervisor. There can be many different types of networking. Like in this case, Openstack's SDN supports a lower MTU than a bridged or NATed connection with the same hypervisor would. The only reliable way is to detect the max MTU in some way (the kernel/device driver must know this, the question how can we read it) - the first step is to not touch the default MTU if the user doesn't set it.

May 4 2020, 3:12 PM · VyOS 1.3 Equuleus (1.3.6)
c-po closed T951: command 'isolate-stations true/false' does not make any changes in the hostapd.conf as Resolved.
May 4 2020, 3:01 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po added a comment to T951: command 'isolate-stations true/false' does not make any changes in the hostapd.conf.

Wireless AP completely rewritten. If issue reappears please reopen or file a new bug.

May 4 2020, 3:01 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po closed T701: LTE interface dosen't come up as Resolved.
May 4 2020, 3:00 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po added a comment to T701: LTE interface dosen't come up.

Forum says issue is fixed. Also WWAN underwent a major rewrite - should be all good now.

May 4 2020, 3:00 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po added a comment to T102: Add a command like "set service dns dynamic http-request url ...".

@MikeLupe Are you using a custom dyndns provider/script? It ifs compatible with the dyndns2 "API" this is already possible using the "custom" dns dynamic service.

May 4 2020, 2:59 PM
c-po moved T915: MPLS Support from Backlog to In Progress on the VyOS 1.3 Equuleus board.
May 4 2020, 2:55 PM · VyOS 1.3 Equuleus (1.3.0-epa1), VyOS 1.4 Sagitta
c-po closed T1180: require_ht and require_vht configuration as Wontfix.
May 4 2020, 2:55 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po added a comment to T1180: require_ht and require_vht configuration.

This has been completely rewritte in Python/XML. Please reopen if this is still a problem - and if so what do you think should be the "real" rendered configuration.

May 4 2020, 2:55 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po added a comment to T2404: Cannot change MTU.

I suggest adding a "validate" function to vyos.validate. We should determine the hypervisor used and if a setting is allowed on that hypervisor or not. Thus we can throw an appropriate erorr message by raise ConfigError() in the Python file changing the interface setting. This would be the cleanest way then the "false" setting never reaches the configuration backend at all.

May 4 2020, 2:50 PM · VyOS 1.3 Equuleus (1.3.6)
jjakob added a comment to T2404: Cannot change MTU.

So the minimum MTU for IPv6 is 1280. Setting ipv6 address no-default-link-local will probably fix this.

May 4 2020, 2:28 PM · VyOS 1.3 Equuleus (1.3.6)
Viacheslav added a comment to T2404: Cannot change MTU.

@jjakob I don't set any ip address on eth1

May 4 2020, 2:13 PM · VyOS 1.3 Equuleus (1.3.6)
jjakob added a comment to T2404: Cannot change MTU.

@Viacheslav do you have IPv6 disabled per chance? What's the output of ip addr dev eth1 after the failed commits? What's the full eth1 config?
The odd thing to me here is that it shouldn't ever be adding just fe80::/64, it should get the mac (using self.get_mac()) and create a single EUI64 address. The longer fe80:: address looks as it should be.

May 4 2020, 2:08 PM · VyOS 1.3 Equuleus (1.3.6)
jestabro claimed T1899: Unionfs metadata folder is copied to the active configuration directory.

Confirmed with the simplest 'login as vyos; set interfaces ... description; login as other; delete interfaces .. description; login as vyos; set ...". T2203 is likely a result of this issue. Will reassign to me.

May 4 2020, 1:53 PM · VyOS 1.3 Equuleus (1.3.0)
Viacheslav added a parent task for T1733: Route filters syntax redesign: T2425: Rewrite all policy zebra filters to XML/Python style.
May 4 2020, 1:38 PM
Viacheslav added a subtask for T2425: Rewrite all policy zebra filters to XML/Python style: T1733: Route filters syntax redesign.
May 4 2020, 1:37 PM · VyOS 1.3 Equuleus (1.3.0)
Viacheslav created T2425: Rewrite all policy zebra filters to XML/Python style.
May 4 2020, 1:36 PM · VyOS 1.3 Equuleus (1.3.0)
GitHub <noreply@github.com> committed rVYOSONEX66ecfc6ecada: Merge pull request #392 from DmitriyEshenko/ipoe-cur-fix01 (authored by c-po).
May 4 2020, 1:30 PM
Unknown Object (User) added a comment to T2294: ipoe-server broken (jinja2 template issue).

Fix path to mac-address node. PR https://github.com/vyos/vyos-1x/pull/392

May 4 2020, 12:34 PM · VyOS 1.3 Equuleus (1.3.0)
csalcedo added a comment to T1230: Improving Boot Time for Large Firewall Configurations.

@csalcedo maybe you use large port-ranges https://phabricator.vyos.net/T2189

May 4 2020, 8:52 AM · VyOS 1.3 Equuleus (1.3.6)
maznu added a comment to T1230: Improving Boot Time for Large Firewall Configurations.

We don't do any firewalling — we have lots of prefix-lists for filtering eBGP sessions. Right now we're looking at a router that's taken more than 1h20minutes to boot up — and it is still not finished — on modern Xeon CPUs. That's doubled in length since adding a prefix-list of around 5000 entries (roughly double the total number of prefix-list entries as before).

May 4 2020, 8:46 AM · VyOS 1.3 Equuleus (1.3.6)
phillipmcmahon added a comment to T1230: Improving Boot Time for Large Firewall Configurations.

I definitely am not using large port-ranges. A pretty standard setup using a zone-based firewall.

May 4 2020, 8:46 AM · VyOS 1.3 Equuleus (1.3.6)
Viacheslav added a comment to T1230: Improving Boot Time for Large Firewall Configurations.

@csalcedo maybe you use large port-ranges https://phabricator.vyos.net/T2189

May 4 2020, 8:37 AM · VyOS 1.3 Equuleus (1.3.6)
Viacheslav added a comment to T2404: Cannot change MTU.
sever@vyos-roll# set interfaces ethernet eth1 description testeth
[edit]
sever@vyos-roll# commit
[edit]
sever@vyos-roll# set interfaces ethernet eth1 mtu 1200
[edit]
sever@vyos-roll# commit
[ interfaces ethernet eth1 ]
May 4 2020, 8:33 AM · VyOS 1.3 Equuleus (1.3.6)
Unknown Object (User) closed T2412: ping flood does not work as unprivileged user as Resolved.

All works on the rolling 1.3-rolling-202005030117

vyos@vyos:~$ ping 100.64.0.1 flood count 300
PING 100.64.0.1 (100.64.0.1) 56(84) bytes of data.
May 4 2020, 7:50 AM · VyOS 1.3 Equuleus (1.3.0)
csalcedo added a comment to T1230: Improving Boot Time for Large Firewall Configurations.

Another affected by this! Several devices with more than 20K config lines cause our automation scripts to take really really long to complete, and also the devices take much time to boot.
It would be great having this fixed in 1.3 :-)

May 4 2020, 7:45 AM · VyOS 1.3 Equuleus (1.3.6)
Viacheslav created T2424: Ability to choose the direction of Mirroring.
May 4 2020, 7:43 AM · VyOS 1.3 Equuleus (1.3.4)
Unknown Object (User) added a comment to T1982: Increase rotation for atop.acct.

PR https://github.com/vyos/vyos-build/pull/104

May 4 2020, 7:36 AM · VyOS 1.2 Crux (VyOS 1.2.6)
phillipmcmahon added a comment to T1230: Improving Boot Time for Large Firewall Configurations.

Also affected by this. Reboots take almost 10 minutes before the device is usable. Commits take a long time as well.

May 4 2020, 7:10 AM · VyOS 1.3 Equuleus (1.3.6)

May 3 2020

richardpowellus reopened T103: DHCP server prepends shared network name to hostnames as "Open".

This issue seems to still be reproducing on static mappings with 1.2.5. I have noticed that the issue is fixed for non static mapping DHCP clients but all my clients who are getting assigned their IPs via static mappings are still getting their hostnames prefixed with LAN_ (LAN being my shared network name).

May 3 2020, 11:59 PM · VyOS 1.2 Crux (VyOS 1.2.6)
Unknown Object (User) closed T2406: DHCPv6 CLI improvements as Resolved.
May 3 2020, 10:45 PM · VyOS 1.3 Equuleus (1.3.0), Restricted Project
Unknown Object (User) updated the task description for T2406: DHCPv6 CLI improvements.
May 3 2020, 10:42 PM · VyOS 1.3 Equuleus (1.3.0), Restricted Project
jjakob added a comment to T2404: Cannot change MTU.

I think not setting the MTU at all if the user doesn't configure it is the right way to do it. It would be nice if we could detect an interface's max MTU but I couldn't find a way to do it either (I didn't really search that hard other than looking under /sys/net/{ifname} and /proc/sys/net).
@thomas-mangin Which other dependent interfaces do you mean? All other interfaces that depend on the ethernet interface should leave the MTU untouched too, let the OS choose the defaults.

May 3 2020, 9:40 PM · VyOS 1.3 Equuleus (1.3.6)
robertoberto added a comment to T2404: Cannot change MTU.

My suggestion:

  • if someone set a higher MTU than OS support, commit fail will be ok and that's OK, each vyos admin should know his OS limitations
May 3 2020, 8:18 PM · VyOS 1.3 Equuleus (1.3.6)
thomas-mangin added a comment to T2404: Cannot change MTU.

Some code should also be added to detect the parent MTU size and make sure a clan MTU is smaller than the parent

May 3 2020, 8:15 PM · VyOS 1.3 Equuleus (1.3.6)
robertoberto added a comment to T2404: Cannot change MTU.

Other ubuntu servers inside same openstack max mtu OS leave at 1450 too

May 3 2020, 8:15 PM · VyOS 1.3 Equuleus (1.3.6)
robertoberto added a comment to T2404: Cannot change MTU.

I tried to google to find out how to discover max mtu an interface accept but not found.

I guess limitation is because we are using OpenStack KVM or the other guy is using VMware and they use some bytes to their SDN

May 3 2020, 8:11 PM · VyOS 1.3 Equuleus (1.3.6)
robertoberto added a comment to T2404: Cannot change MTU.

I tried to google to find out how to discover max mtu an interface accept but not found.

May 3 2020, 8:10 PM · VyOS 1.3 Equuleus (1.3.6)
thomas-mangin added a comment to T2404: Cannot change MTU.

The mtu provided are reasonable and should not fail IMHO. I need to understand why Linux does not want to honour it.. hw limitation or other. If it is a limitation then we should detect it and report it to the user

May 3 2020, 8:05 PM · VyOS 1.3 Equuleus (1.3.6)
thomas-mangin added a comment to T2404: Cannot change MTU.

That would only hide the problem. The MTU bug would still be here.

May 3 2020, 8:03 PM · VyOS 1.3 Equuleus (1.3.6)
jjakob added a comment to T2404: Cannot change MTU.

This should probably be:

if eth['mtu']:
    e.set_mtu(eth['mtu'])

Then if the user doesn't set a mtu, we don't try to change it. If the config set mtu is wrong the commit should fail, but it should get verified in the verify section by a max mtu read from the interface (if that's possible), or leaving it as it is now. It shouldn't silently (or even loudly) continue as that would make the failure undetectable at boot.

May 3 2020, 7:54 PM · VyOS 1.3 Equuleus (1.3.6)
robertoberto added a comment to T2404: Cannot change MTU.

An issue to change the MTU should not fail the whole interface change but just this one but the code does not not allow this easily. I will try to work on this.

May 3 2020, 7:47 PM · VyOS 1.3 Equuleus (1.3.6)
thomas-mangin added a comment to T2404: Cannot change MTU.

An issue to change the MTU should not fail the whole interface change but just this one but the code does not not allow this easily. I will try to work on this.

May 3 2020, 7:24 PM · VyOS 1.3 Equuleus (1.3.6)
robertoberto added a comment to T2404: Cannot change MTU.

vyos@vyos:~$ show version
Version: VyOS 1.3-rolling-202004230117
Release Train: equuleus

May 3 2020, 6:54 PM · VyOS 1.3 Equuleus (1.3.6)
robertoberto added a comment to T2404: Cannot change MTU.

Here:

root@vyos:~# cat /sys/class/net/eth0/mtu
1450
root@vyos:~# echo 1500 > /sys/class/net/eth0/mtu
-bash: echo: write error: Invalid argument
root@vyos:~# echo 1460 > /sys/class/net/eth0/mtu
-bash: echo: write error: Invalid argument
root@vyos:~# echo 1440 > /sys/class/net/eth0/mtu
root@vyos:~# echo 1441 > /sys/class/net/eth0/mtu
root@vyos:~# echo 1442 > /sys/class/net/eth0/mtu
root@vyos:~# echo 1443 > /sys/class/net/eth0/mtu
root@vyos:~# echo 1449 > /sys/class/net/eth0/mtu
root@vyos:~# echo 1450 > /sys/class/net/eth0/mtu
root@vyos:~# echo 1460 > /sys/class/net/eth0/mtu
-bash: echo: write error: Invalid argument
root@vyos:~# echo 1455 > /sys/class/net/eth0/mtu
-bash: echo: write error: Invalid argument
root@vyos:~# echo 1453 > /sys/class/net/eth0/mtu
-bash: echo: write error: Invalid argument
root@vyos:~# echo 1452 > /sys/class/net/eth0/mtu
-bash: echo: write error: Invalid argument
root@vyos:~# echo 1451 > /sys/class/net/eth0/mtu
-bash: echo: write error: Invalid argument
root@vyos:~#

May 3 2020, 6:54 PM · VyOS 1.3 Equuleus (1.3.6)
robertoberto added a comment to T2404: Cannot change MTU.

root@vyos:~# cat /sys/class/net/eth0/mtu
1450
root@vyos:~# echo 1500 > /sys/class/net/eth0/mtu
-bash: echo: write error: Invalid argument
root@vyos:~# echo 1460 > /sys/class/net/eth0/mtu
-bash: echo: write error: Invalid argument
root@vyos:~# echo 1440 > /sys/class/net/eth0/mtu
root@vyos:~# echo 1441 > /sys/class/net/eth0/mtu
root@vyos:~# echo 1442 > /sys/class/net/eth0/mtu
root@vyos:~# echo 1443 > /sys/class/net/eth0/mtu
root@vyos:~# echo 1449 > /sys/class/net/eth0/mtu
root@vyos:~# echo 1450 > /sys/class/net/eth0/mtu
root@vyos:~# echo 1460 > /sys/class/net/eth0/mtu
-bash: echo: write error: Invalid argument
root@vyos:~# echo 1455 > /sys/class/net/eth0/mtu
-bash: echo: write error: Invalid argument
root@vyos:~# echo 1453 > /sys/class/net/eth0/mtu
-bash: echo: write error: Invalid argument
root@vyos:~# echo 1452 > /sys/class/net/eth0/mtu
-bash: echo: write error: Invalid argument
root@vyos:~# echo 1451 > /sys/class/net/eth0/mtu
-bash: echo: write error: Invalid argument
root@vyos:~#

May 3 2020, 6:52 PM · VyOS 1.3 Equuleus (1.3.6)
c-po added a comment to T2404: Cannot change MTU.

Sure it can (was in the initial ifconfig.py rewrite IIRC)

May 3 2020, 5:26 PM · VyOS 1.3 Equuleus (1.3.6)
thomas-mangin added a comment to T2404: Cannot change MTU.

The reason seems to be that when the kernel can not change the MTU when writing to the sysfs, it will raise a OSError with the reason why.

May 3 2020, 4:59 PM · VyOS 1.3 Equuleus (1.3.6)
Viacheslav created T2423: Loadkey scp ssh key errors.
May 3 2020, 11:22 AM · VyOS 1.3 Equuleus (1.3.0)