Backported to equuleus branch of vyos1x-config:
https://github.com/vyos/vyos1x-config/commit/8ad21f6c7e6f37edeca137b2a7dc7c3f7ffc6a20
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
Apr 21 2022
Apr 20 2022
Confirming the same.
Pull https://github.com/FRRouting/frr/pull/11004 was merged. This needs retesting on the latest FRR
Not a super expert in ISC DHCPd but it feels like the vendor specific options are hardcoded
Tested in VyOS 1.4-rolling-202204130521
Works
Apr 19 2022
Script for testing which fix some bugs with DMVPN
Proposed CLI:
set service dhcpv6-server global-parameters cisco-voip width 2 set service dhcpv6-server global-parameters cisco-voip length-width 2 set service dhcpv6-server global-parameters cisco-voip tftp-servers set service dhcpv6-server shared-network-name Lan-v6-02 subnet 2001:db8:23::/64 cisco-voip tftp-server xx:xx:xx
Related to task T2196
Also there can be an issue if you get by DHCP non external addresses which behind nat.
So you need some external scripts which will give you your external address, like
curl ifconfig.me
Tested, does not work. Even with all firewall rules removed.
Is there a way to get this to work with a dhcp assigned WAN address?
The answer was found https://github.com/influxdata/telegraf/issues/3465
Thanks @jestabro
Set destination external address, it is required. In other case you set all traffic to local server.
I didn't test it, but you need something like this or combinations..
set policy route MARK-80-eth0 rule 10 destination port '80' set policy route MARK-80-eth0 rule 10 protocol 'tcp' set policy route MARK-80-eth0 rule 10 set mark '100' set policy route MARK-80-eth0 rule 10 set table '100'
Fixed
vyos@vyos:~$ show conf com | match dhcp set service dhcp-server shared-network-name NET_01 authoritative set service dhcp-server shared-network-name NET_01 name-server '1.1.1.1' set service dhcp-server shared-network-name NET_01 subnet 192.0.2.0/24 range R1 start '192.0.2.21' set service dhcp-server shared-network-name NET_01 subnet 192.0.2.0/24 range R1 stop '192.0.2.254' vyos@vyos:~$ vyos@vyos:~$ show dhcp server leases IP address Hardware address State Lease start Lease expiration Remaining Pool Hostname ------------ ------------------ ------- ------------------- ------------------- ----------- ------ ---------- 192.0.2.27 50:08:00:06:00:02 active 2022/04/19 12:04:19 2022/04/20 12:04:19 23:59:27 NET_01 vyos vyos@vyos:~$ vyos@vyos:~$ show dhcp server statistics Pool Size Leases Available Usage ------ ------ -------- ----------- ------- NET_01 234 1 233 0% vyos@vyos:~$
Apr 18 2022
1.4-rolling-20220418
Issue is still not fixed
Adding logs. dhcpv6 configured for interfaces eth0 and eth3. Depending which starts first, the other one fails and gives "unexpected interface":
At least dhcpv6 address assign correctly, VyOS 1.4-rolling-202204162001
set interfaces ethernet eth2 address 'dhcp' set interfaces ethernet eth2 address 'dhcpv6' set interfaces ethernet eth3 address 'dhcp' set interfaces ethernet eth3 address 'dhcpv6'
Show interfaces:
vyos@vyos:~$ show int Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down Interface IP Address S/L Description --------- ---------- --- ----------- eth0 - u/u eth1 - u/u eth2 100.64.20.21/24 u/u WAN01 2001:db8:23::934f/128 eth3 100.64.30.21/24 u/u WAN02 2001:db8::934f/128
In dhcpdv6.conf I have added the following to support Cisco VoIP phone provisioning over IPv6:
It was a lot of issues with it in openvpn.
So we decide to avoid to use raw options
Let us know which options do you need?
udpate PR for 1.3 https://github.com/vyos/vyos-1x/pull/1288
PR for 1.3: https://github.com/vyos/vyos-1x/pull/1308
PR for 1.3 https://github.com/vyos/vyos-1x/pull/1286
I would like to call it system-as(n)
Apr 17 2022
Of course. This restriction comes from the communication providers. Through (VPN) - everything works well.
Apr 16 2022
Apr 15 2022
PR for 1.3 https://github.com/vyos/vyos-1x/pull/1284