IPV6 firewall is accepting ipv4-address and the error is received while committing the change. The validator is not working.
vyos@vyos# set firewall ipv6-name test6 rule 100 source address
Possible completions:
<h:h:h:h:h:h:h:h>
IP address to match
<h:h:h:h:h:h:h:h/x>
Subnet to match
<h:h:h:h:h:h:h:h>-<h:h:h:h:h:h:h:h>
IP range to match
!<h:h:h:h:h:h:h:h>
Match everything except the specified address
!<h:h:h:h:h:h:h:h/x>
Match everything except the specified prefix
!<h:h:h:h:h:h:h:h>-<h:h:h:h:h:h:h:h>
Match everything except the specified range
[edit]
vyos@vyos# set firewall ipv6-name test6 rule 100 source address 192.168.0.1
[edit]
vyos@vyos#Error:
vyos@vyos# compare
[edit firewall ipv6-name test6 rule 100]
+source {
+ address 192.168.1.0/24
+}
[edit]
vyos@vyos# commit
[ firewall ]
Failed to apply firewall
[[firewall]] failed
Commit failedVersion:
vyos@vyos# run sh ver Version: VyOS 1.4-rolling-202203030317 Release train: sagitta Built by: autobuild@vyos.net Built on: Thu 03 Mar 2022 03:17 UTC Build UUID: 787aac35-01b2-4b91-a8b4-488a7134fac1 Build commit ID: b2ca3389494c35 Architecture: x86_64 Boot via: installed image System type: KVM guest Hardware vendor: QEMU Hardware model: Standard PC (Q35 + ICH9, 2009) Hardware S/N: Hardware UUID: 6af50af1-a018-4476-81cc-7db8ca26513c Copyright: VyOS maintainers and contributors