Page MenuHomePhabricator

BGP unnumbered is not working with a vif interface
Open, Requires assessmentPublicBUG

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

guertinf created this task.Jul 15 2019, 9:27 PM

I created a pull request to fix it. @guertinf has already test the fix

https://github.com/vyos/vyatta-cfg-quagga/pull/31

pasik added a subscriber: pasik.Jul 16 2019, 9:49 AM