bisdn / basebox

A tiny OpenFlow controller for OF-DPA switches.
Mozilla Public License 2.0
45 stars 9 forks source link

only apply ipv6 configuration from switch interfaces #310

Closed KanjiMonster closed 3 years ago

KanjiMonster commented 3 years ago

Make sure we don't apply IPv6 configuration from foreign interfaces like the management port.

Description

Currently the code parsing IPv6 addresses is not checking if the address is on an interface that belongs to a switched interface. This leads to us adding e.g. a IPv6 link local route in the unicast table if the Management port received its IPv6 configuration.

Motivation and Context

We should only apply configuration from interface that are switching / routing, and the management interface should be separate.

How Has This Been Tested?

Test ran a pipeline on Questone 2A.