Aloha,
yesterday I upgraded to the newest vyos 1.5 rolling release.
I have 3 WAN uplinks and use the
dhcp-options default-route-distance
as a simple fallback / backup solution.
Unfortunately I run now into the problem that this option is not reliable recognized
and the primary default route changes.
Config snippet:
set interfaces ethernet eth0 address 'dhcp'
set interfaces ethernet eth0 dhcp-options default-route-distance '250'
set interfaces ethernet eth1 address 'dhcp'
set interfaces ethernet eth1 dhcp-options **default-route-distance '50'**
set interfaces ethernet eth6 address 'dhcp'
set interfaces ethernet eth6 dhcp-options default-route-distance '100'
set interfaces ethernet eth6 duplex 'auto'
But even that all 3 links are up and an IPv4 address received via DHCP,
the default route points to eth6, the primary whoch have a distance of 50 is ignored:
sh ip route 0.0.0.0/0
Routing entry for 0.0.0.0/0
Known via "static", **distance 100,** metric 0, tag 210, best
Last update 00:07:31 ago
* 100.64.0.1, via **eth6**, weight 1```
sh dhcp client leases
Interface eth6
IP address 100.105.2.3 [Active]
Subnet Mask 255.192.0.0
Router 100.64.0.1
Name Server 1.1.1.1 8.8.8.8
DHCP Server 100.64.0.1
DHCP Server 300
VRF default
Last Update Sun Dec 03 16:32:38 EET 2023
Expiry Sun Dec 03 16:37:38 EET 2023
Interface eth0
IP address 185.143.2.3 [Active]
Subnet Mask 255.255.0.0
Router 185.143.2.1
Name Server 100.127.255.10 100.127.255.100
DHCP Server 185.143.147.1
DHCP Server 300
VRF default
Last Update Sun Dec 03 16:30:42 EET 2023
Expiry Sun Dec 03 16:35:42 EET 2023
Interface eth1
IP address 193.93.2.3 [Active]
Subnet Mask 255.255.0.0
Domain Name
Router 193.93.2.1
Name Server 193.93.76.20 193.93.76.30
DHCP Server 193.93.76.1
DHCP Server 600
VRF default
Last Update Sun Dec 03 16:30:48 EET 2023
Expiry Sun Dec 03 16:40:47 EET 2023
sh interfaces ethernet
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface IP Address S/L Description
eth0 185.143.2.3/25 u/u [WAN3]
eth1 193.93.2.3/24 u/u [WAN1]
eth6 100.105.2.3/10 u/u [WAN2]
sh vers
Version: VyOS 1.5-rolling-202312010026
Release train: current
Built by: [email protected]
Built on: Fri 01 Dec 2023 01:45 UTC
Build UUID: fc11f2ef-580c-459c-bc97-ffaf9151f046
Build commit ID: e4e3701775b91d
Architecture: x86_64
Boot via: installed image
System type: bare metal
Any hint to to this?
Thanks
Marcel