Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FRR 8.2 version ospf with gre,when gre_0 interface down and up,route cant update automatic #16767

Open
2 tasks done
siasjack opened this issue Sep 9, 2024 · 3 comments
Open
2 tasks done
Labels
triage Needs further investigation unsupported-version The version of FRR is unsupported

Comments

@siasjack
Copy link

siasjack commented Sep 9, 2024

Description

gre p2p interface,ip is 10.1.1.2 and 10.1.13,it is base on eth4(wan interface)
start frr ospf proto,care route's br-lan and gre_0 interface
R1:
br-lan 192.168.11.0/24
gre_0 10.1.1.2

R2:
br-lan 192.168.12.0/24
gre_0 10.1.1.3

event:
when i plug out wan wire,gre_0 interface will del ,ifconfig cant find gre_0
then route -n, cant find other route's br-lan route info,that is right
then i plugin wan wire,gre_0 will up after few seconds,
but ospf cant re update the other route's route info,and cant find neighbor in cmd show ip ospf neighbor

FRR version 8.2
run env :openwrt 1907

Version

FRRouting 8.2 (OpenWrt).
Copyright 1996-2005 Kunihiro Ishiguro, et al.
configured with:
    '--target=aarch64-openwrt-linux' '--host=aarch64-openwrt-linux' '--build=x86_64-pc-linux-gnu' '--program-prefix=' '--program-suffix=' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--with-clippy=/compile/smawave/IPQ6018_12.2.CS/staging_dir/hostpkg/bin/clippy' '--prefix=/usr' '--enable-shared' '--disable-static' '--enable-user=network' '--enable-group=network' '--disable-ospfclient' '--disable-doc' '--disable-backtrace' '--localstatedir=/var/run/frr' '--sysconfdir=/etc/frr/' '--disable-babeld' '--disable-bfdd' '--enable-bgpd' '--disable-eigrpd' '--disable-fabricd' '--disable-isisd' '--disable-ldpd' '--enable-nhrpd' '--enable-ospfd' '--disable-ospf6d' '--disable-pathd' '--disable-pbrd' '--disable-pimd' '--enable-ripd' '--disable-ripngd' '--disable-staticd' '--disable-vrrpd' '--enable-vtysh' '--enable-zebra' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=aarch64-openwrt-linux' 'target_alias=aarch64-openwrt-linux' 'AR=aarch64-openwrt-linux-musl-gcc-ar' 'LD=aarch64-openwrt-linux-musl-ld' 'OBJCOPY=aarch64-openwrt-linux-musl-objcopy' 'OBJDUMP=aarch64-openwrt-linux-musl-objdump' 'RANLIB=aarch64-openwrt-linux-musl-gcc-ranlib' 'STRIP=aarch64-openwrt-linux-musl-strip' 'PKG_CONFIG=/compile/smawave/IPQ6018_12.2.CS/staging_dir/host/bin/pkg-config' 'PKG_CONFIG_PATH=/compile/smawave/IPQ6018_12.2.CS/staging_dir/target-aarch64/usr/lib/pkgconfig:/compile/smawave/IPQ6018_12.2.CS/staging_dir/target-aarch64/usr/share/pkgconfig' 'PKG_CONFIG_LIBDIR=/compile/smawave/IPQ6018_12.2.CS/staging_dir/target-aarch64/usr/lib/pkgconfig:/compile/smawave/IPQ6018_12.2.CS/staging_dir/target-aarch64/usr/share/pkgconfig' 'CC=aarch64-openwrt-linux-musl-gcc' 'CXX=aarch64-openwrt-linux-musl-g++'

How to reproduce

when i plug out wan wire,gre_0 interface will del ,ifconfig cant find gre_0 
then `route -n`, cant find other route's br-lan route info,that is right 
then i plugin wan wire,gre_0 will up after few seconds,
but ospf cant re update the other route's route info,and cant find neighbor in cmd `show ip ospf neighbor` 

Expected behavior

ospf and frr can regenerate other route's info

Actual behavior

after gre_0 restart,frr cant find ospf neighbor ,and cant generate other route's info

Additional context

No response

Checklist

  • I have searched the open issues for this bug.
  • I have not included sensitive information in this report.
@siasjack siasjack added the triage Needs further investigation label Sep 9, 2024
@ton31337
Copy link
Member

ton31337 commented Sep 9, 2024

Could you try more recent versions?

@ton31337 ton31337 added the unsupported-version The version of FRR is unsupported label Sep 9, 2024
@siasjack
Copy link
Author

Could you try more recent versions?

thanks for your reply, i will have a try latest version

@siasjack
Copy link
Author

Could you try more recent versions?

HEY i am trying compile FRR 10.1 version in openwrt sdk
it's require protobuf protobuf-c libyang etc
and they are used by northbund api , it;s useless in my system
how can disable depends protobuf libyang etc...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Needs further investigation unsupported-version The version of FRR is unsupported
Projects
None yet
Development

No branches or pull requests

2 participants