|
Post by raviteja on Jun 16, 2023 18:01:51 GMT
EthernetInterface schema has "IPv6StaticDefaultGateways" property which represents collection of static IPv6 default gateways. there is one more string property "IPv6DefaultGateway" which seems to represent ipv6 default gateway in use.
can we add "IPv6DefaultGateways" property as collection which represents static + DHCP gateways configured on the ethernetInterface
|
|
|
Post by mraineri on Jun 16, 2023 19:00:41 GMT
My understanding from working with networking SMEs is that only one default gateway is active on an interface. The reason IPv6StaticDefaultGateways is an array is because you can have multiple specified as part of a pool of gateways, but only one is still active at a given time.
|
|
|
Post by raviteja on Jun 17, 2023 4:38:35 GMT
an ethernet interface can have multiple Static/DHCP ipv6 Gateways configured if these IPv6StaticDefaultGateways and IPv6DefaultGateways properties are specific to default gateways configuration, can we add separate property called Ipv6StaticGateway and IPv6Gateways to allow multiple satic/dhcp gateway configuration
|
|
|
Post by mraineri on Jun 20, 2023 20:31:39 GMT
According to some of the networking SMEs I've spoken with, this really isn't possible nor how IPv6 works. "IPv6DefaultGateway" is your default gateway that is currently in use if otherwise you cannot find your gateway. Your routing tables will be dictated based on the internal IPv6 routing tables. Are you asking to show your routing tables? Is this level of detail really necessary for external users?
|
|
|
Post by raviteja on Jul 7, 2023 16:33:32 GMT
currently schema support multiple static ipv6 default gateway, EthernetInterfaces can also have multiple DHCPv6/RA provided gateways right? I am trying to understand what's wrong in displaying router provided gateways as collection
|
|
|
Post by mraineri on Jul 7, 2023 20:51:16 GMT
The issue is it's not clear what you would even do with that info. What would an end user try to interpret from this? We have other information in EthernetInterface to help users configure the interface, but getting into showing information provided in routing tables from external routers doesn't seem helpful for the average user.
You only have one default gateway on a system (we have it inside of EthernetInterface for convenience), and it's not even necessary to have that. IPv6StaticAddresses, IPv6StaticDefaultGateways, and IPv6AddressPolicyTable are all tied together to make static address assignments work properly, and the fact they're arrays doesn't mean you can have more than one default gateway; we likely should have just named "IPv6StaticDefaultGateways" to be "IPv6StaticGateways".
|
|