- Feed Queries
- All Stories
- Search
- Feed Search
- Transactions
- Transaction Logs
Apr 25 2022
Working fine in VyOS 1.4-rolling-202204250217
Apr 24 2022
Apr 23 2022
Confirmed working. Awesome
I can't reproduce it VyOS 1.4-rolling-202204230217
Apr 22 2022
PR for 1.3 https://github.com/vyos/vyos-1x/pull/1297
Confirmed working using the following CLI options with IPv6 only Cisco 7961G Phone:
Re-open for revision/simplification in:
https://github.com/vyos/vyos-1x/pull/1295
Apr 21 2022
sorry for my late reply , I've been testing this case and I could replicate the same behavior
I am also not expert; I used the options as described by documentation, but do not understand DHCPD in depth.
Backported to equuleus branch of vyos1x-config:
https://github.com/vyos/vyos1x-config/commit/8ad21f6c7e6f37edeca137b2a7dc7c3f7ffc6a20
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
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/128In 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?