Default Gateway for a system v/s Default gateway per Interface

Ratan Gupta ratagupt at linux.vnet.ibm.com
Tue Jun 23 22:57:14 AEST 2020


On 6/23/20 4:26 PM, 郁雷 wrote:
> On Tue, Jun 23, 2020 at 5:11 PM Ratan Gupta <ratagupt at linux.vnet.ibm.com> wrote:
>> Hi Alexender,
>>
>> I am not sure how it can be achieved through some compile time option(as
>> the existing dbus interface requires changes. Might be version Dbus
>> Interfaces which is currently not supported.
>>
>> Phosphor-networkd uses systemd-networkd as backend which supports
>> multiple default gateway as fall back gateway without implementing
>> policy based routing(Both gateways are on the main routing table).
> What if we do NOT set DefaultGateway (in SystemConfiguration
> interface), and set Gateway in each IP interface?

Yes that is the plan, Default gateway property will be moved from

SystemConfiguration interface to EthernetInterface. Gateway on IP

interface is of no use today as we are not using it at all in the 
phosphor-networkd

we would be removing the gateway property from the IP address interface.

> Will it work as interface-specific gateway per interface?
>


More information about the openbmc mailing list