Comments (5)
This bug was introduced by a patch from Vivek, I'll ask him to look at it real quick
from frr.
Apparently this issue is a false alarm.
Vivek's change to ignore IPv6 addresses with the IFA_F_DADFAILED/IFA_F_TENTATIVE flags is correct as these addresses can not be used nor bound to.
I did some more testing here and the problem only happens on a very specific scenario. When you run a VirtualBox VM using a bridged network adapter based on a wlan interface, all IPv6 addresses added to this virtual adapter fail in the IPv6 DAD check (and thus zebra will correctly ignore them). The same doesn't happen if we use the bridge mode based on a wired ethernet interface.
Please see the output below (enp0s3 is bridged on a wlan interface and enp0s8 is bridged on a wired ethernet interface):
# ip -6 addr add 3000::1/64 dev enp0s3
# ip -6 addr add 4000::1/64 dev enp0s8
# ip -6 addr show scope global
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
inet6 3000::1/64 scope global tentative dadfailed
valid_lft forever preferred_lft forever
3: enp0s8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
inet6 4000::1/64 scope global
valid_lft forever preferred_lft forever
Something really obscure is going on here but the problem is definitely not in zebra. And using different kernel versions doesn't change anything, just the test environment.
from frr.
My results vary on a ubuntu 16.10 VM I just installed:
dsa@ubuntu-1610:~$ uname -a
Linux ubuntu-1610 4.8.0-22-generic #24-Ubuntu SMP Sat Oct 8 09:15:00 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
This interface is bridged to my Wi-Fi and pulls a dhcp address from the router (actual addresses obscured, but it is a valid address):
dsa@ubuntu-1610:~$ ip addr sh enp0s8
3: enp0s8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:3d:4d:e3 brd ff:ff:ff:ff:ff:ff
inet 172.16.xx.xx/24 brd 172.16.xx.255 scope global enp0s8
valid_lft forever preferred_lft forever
inet6 2601:282:800:xxxx:xxxx:xxxx:xxxx:xxxx/64 scope global mngtmpaddr dynamic
valid_lft 600sec preferred_lft 300sec
inet6 fe80::a00:27ff:fe3d:4de3/64 scope link
valid_lft forever preferred_lft forever
This is using Virtual Box on a Mac running 10.12.2.
from frr.
@rwestphal ok to close this bug then?
from frr.
@donaldsharp sure.
from frr.
Related Issues (20)
- zebra: IP address is not assigned if interface is up HOT 12
- Can't install frr on Ubuntu 22.04-lts
- Version 10 ospfd state directory location inconsistency between no-instance-id and instance-id configurations HOT 1
- Incorrect FRR configuration occurs if we set up import VRF routing after the FRR service is restarted in version 9.0.2/10.0.0/master HOT 10
- ospf6d crashes in large multi-area configuration HOT 4
- Removing cisco NHRP authentication deletes all NHRP config on tunnel interface HOT 5
- segmentation fault with address sanitizer HOT 2
- mgmtd: `FRR_MANUAL_VTY_START` flag leads to startup race condition HOT 1
- FRR installation issue. Not able to detect Libyang HOT 2
- FRR 10.0.1 route maps filtering prefixes that should be sent HOT 15
- multiple static rp-address for multicast-pim/frr implementation HOT 2
- NHRP redirect does not work with configured cisco NHRP Authentication HOT 5
- ospfd: mpls ldp-sync flag is not cleared if ldp-sync is disabled
- BGP Open Receipt Failed HOT 8
- Is it possible to deploy FRR BGP processes on the same Linux server, establish BGP neighbors with three other servers, and then segment by business application scenarios? HOT 1
- Prefix-List Configuration Errors in FRR Version 10.0.1 HOT 4
- [BGPd] Routes don't get cleared HOT 1
- Does FRR support adding and deleting OSPF/BGP routes through RESTful APIs, Netconf or gRPC?
- SIGABORT on `clear thread cpu` HOT 2
- frr-10.0.1 route-map match ip address prefix-list && match tag can't work together HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frr.