All of lore.kernel.org
 help / color / mirror / Atom feed
* Add network RoutingPolicyRules at OpenBMC Networkd
@ 2023-10-11  8:26 raviteja bailapudi
  2023-10-13 11:18 ` Alexander Amelkin
  0 siblings, 1 reply; 6+ messages in thread
From: raviteja bailapudi @ 2023-10-11  8:26 UTC (permalink / raw)
  To: OpenBMC Maillist, Ratan Gupta, wak, Sunitha Harish,
	johnathanx.mantey

[-- Attachment #1: Type: text/plain, Size: 1467 bytes --]

Hi Team

We have noticed network routing issues when the same subnet IP addresses
configured on both eth0 and eth1 ethernet interfaces, this issue applies to
all types of addresses like static, DHCP and LinkLocal address
configuration.

Currently IPv4 LinkLocal addressing is enabled on both interfaces, so both
interfaces come up with the same subnet Link local IP addresses
(169.254.x.y), but only one link local address will be reachable due to
these same subnet routes on both interfaces.

Here is the systemd issue https://github.com/systemd/systemd/issues/28814
I have discussed in the systemd community and explored systemd's
RoutingPolicyRules configuration as suggested by the systemd community and
it works.

To solve this problem we are proposing to make changes in phosphor-networkd
to configure/populate systemd-networkd RoutingPolicyRule for each IP
address configured on each interface, there is no user intervention or user
interface changes needed. phosphor-networkd internally takes care of
updating the systemd-networkd configuration as required

Here is the example of additional systemd configuration required for each
IP address configured on the interface.
Example:
[Route]
PreferredSource=169.254.202.113
Destination=169.254.202.113/16
Table=11
[Route]
Gateway=169.254.0.0
Table=11
[RoutingPolicyRule]
Table=11
To=169.254.202.113/16
[RoutingPolicyRule]
Table=11
From=169.254.202.113/16

Please share your views on the same.

Regards,
Raviteja

[-- Attachment #2: Type: text/html, Size: 1792 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-10-18  5:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-11  8:26 Add network RoutingPolicyRules at OpenBMC Networkd raviteja bailapudi
2023-10-13 11:18 ` Alexander Amelkin
2023-10-13 12:04   ` Paul Fertser
2023-10-13 13:17   ` Sunitha Harish
2023-10-14 18:29     ` Alexander Amelkin
2023-10-18  5:24       ` raviteja bailapudi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.