Page MenuHomeVyOS Platform

BGP unnumbered is not working with a vif interface
Closed, ResolvedPublicBUG

Description

With the new version 1.2.2, I try to configure a BGP session with the new BGP unnumbered method, but I receive an error when I use a vif interface.
This is the interfaces available on the system

vyos@nwkfw2# run show int
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------
eth0             -                                 u/D  
eth1             -                                 u/D  
eth2             10.1.77.104/24                    u/u  
eth3             -                                 u/D  
eth4             -                                 u/u  
eth4.30          10.30.0.253/24                    u/u  
eth4.200         10.200.0.253/24                   u/u  
eth5             -                                 u/u  
lo               127.0.0.1/8                       u/u  
                  ::1/128

everything is ok when a non VLAN interface is used:

[edit]
vyos@nwkfw2# set protocols bgp 65002 neighbor eth4 interface v6only remote-as external 
[edit]

But,if I try with a vif interface I receive this erreur message:

vyos@nwkfw2# set protocols bgp 65002 neighbor eth4.30 interface v6only remote-as external 

  eth4.30: not a valid IP address at /opt/vyatta/share/perl5/Vyatta/Misc.pm line 219.
  
  Value validation failed
  Set failed

[edit]

Details

Difficulty level
Unknown (require assessment)
Version
Version: VyOS 1.2.2
Why the issue appeared?
Will be filled on close

Event Timeline

syncer changed the task status from Open to Backport candidate.Aug 30 2019, 11:53 PM
syncer assigned this task to dmbaturin.
syncer triaged this task as Normal priority.
syncer edited projects, added VyOS 1.3 Equuleus; removed VyOS 1.2 Crux.

Cherry-picked into crux.