Page MenuHomeVyOS Platform

When trying to add route to ripng it complains that ip address should be IPv4 format
Closed, ResolvedPublicBUG

Description

Corresponding help text show IPv6 address but it fails.
See the output on v1.3....

vyos@vyos# edit protocols ripng 
[edit protocols ripng]
vyos@vyos# set route 
Possible completions:
   <h:h:h:h:h:h:h:h/x>
                RIPng static route

      
[edit protocols ripng]
vyos@vyos# set route 2001:985:c8a2:10::/64

  2001:985:c8a2:10::/64 is not a valid IPv4 address
  
  Value validation failed
  Set failed

The fix is very easy, the type in the node.def is IPv6 but the validation is IPv4.
See https://github.com/vyos/vyatta-cfg-quagga/blob/f7e8d9015c3ba8dc491c632c3d3d28d001acae25/templates/protocols/ripng/route/node.def#L5

Details

Difficulty level
Easy (less than an hour)
Version
v1.3
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

dmbaturin claimed this task.
erkin renamed this task from When trying to add route to ripng it complains that ip address should be IPv4 format. to When trying to add route to ripng it complains that ip address should be IPv4 format.Aug 30 2021, 8:02 AM
erkin set Issue type to Bug (incorrect behavior).
erkin removed a subscriber: Active contributors.