Page MenuHomeVyOS Platform

protocol IS-IS configuration is empty if a tunnel does not have remote address
Open, NormalPublicBUG

Description

Protocol IS-IS configuration is empty
To reproduce:

set interfaces dummy dum0 address '203.0.113.254/32'
set interfaces dummy dum0 description 'dum0'
set interfaces ethernet eth1 address '192.0.2.5/24'
set interfaces ethernet eth1 description 'LAN'

set interfaces tunnel tun0 address '10.0.0.2/30'
set interfaces tunnel tun0 description 'tun-to-192.0.2.1'
set interfaces tunnel tun0 encapsulation 'gre'
set interfaces tunnel tun0 source-address '192.0.2.5'

set protocols isis interface eth1
set protocols isis interface tun0
set protocols isis lsp-mtu '1460'
set protocols isis net '49.0001.1920.0200.0011.00'
set protocols isis redistribute ipv4 connected level-2

Check:

vyos@r1# vtysh -c "show run isisd"
Building configuration...

Current configuration:
!
hostname r1
service integrated-vtysh-config
!
end
[edit]
vyos@r1#

The thing is, there is no ip remote address for the tunnel tun0
If we add the remote address and re-configure protocol isis, the configuration looks good again

set interfaces tunnel tun0 remote '192.0.2.1'

Details

Difficulty level
Normal (likely a few hours)
Version
VyOS 1.3.4
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

Viacheslav renamed this task from protocol IS-IS configuration is empty to protocol IS-IS configuration is empty if a tunnel does not have remote address.Nov 9 2023, 11:38 AM
Viacheslav updated the task description. (Show Details)

It seems to be a bug in the FRR that delete isisd configuration completely

router isis VyOS
 net 49.0001.1920.0200.0011.00
 lsp-mtu 1460
 redistribute ipv4 connected level-2
!
!
interface eth1
 ip router isis VyOS
 ipv6 router isis VyOS
!
interface tun0
 ip router isis VyOS
 ipv6 router isis VyOS
!

check

r1# conf t
r1(config)# router isis VyOS
r1(config-router)#  net 49.0001.1920.0200.0011.00
r1(config-router)#  lsp-mtu 1460
r1(config-router)#  redistribute ipv4 connected level-2
r1(config-router)# !
r1(config-router)# !
r1(config-router)# interface eth1
r1(config-if)#  ip router isis VyOS
r1(config-if)#  ipv6 router isis VyOS
r1(config-if)# !
r1(config-if)# interface tun0
r1(config-if)#  ip router isis VyOS
vtysh: error reading from isisd: Success (0)Warning: closing connection to isisd because of an I/O error!
r1(config-if)#  ipv6 router isis VyOS
Warning: connecting to isisd...failed!
isisd is not running
r1(config-if)# !
r1(config-if)# end
Warning: connecting to isisd...failed!
r1# 
r1# 


r1# show run isisd
Building configuration...

Current configuration:
!
Warning: connecting to isisd...success!
frr version 7.5.1-20230910-04-ge79310569
frr defaults traditional
hostname r1
log syslog
log facility local7
service integrated-vtysh-config
!
line vty
!
end
r1#
Viacheslav triaged this task as Normal priority.Jan 20 2024, 1:57 PM