<div dir="ltr"><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal">Hi All</p>
<p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;min-height:15px"><br></p>
<p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal">Gentle reminder for the feedback on Static route feature<span class="gmail-Apple-converted-space"> </span></p>
<p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;min-height:15px"><br></p>
<p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal">I have pushed a DMTF proposal and DMTF PR for adding static route configuration to EthernetInterface schema.</p>
<p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal">Here is DMTF redfish PR to enable redfish static route configuration <a href="https://github.com/DMTF/Redfish/pull/5464"><span style="color:rgb(220,161,13)">https://github.com/DMTF/Redfish/pull/5464</span></a></p>
<p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;min-height:15px"><br></p>
<p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal">This PR adds IPv4StaticRoutes resource under EthernetInterface schema which allows clients to configure multiple static routes per interface.</p>
<p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal">Example:</p>
<p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal">"IPv4StaticRoutes": [</p>
<p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span class="gmail-Apple-converted-space">     </span>{</p>
<p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span class="gmail-Apple-converted-space">            </span>"NextHopAddress": "192.168.1.1",</p>
<p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span class="gmail-Apple-converted-space">            </span>"DestinationAddress": "192.168.1.2",</p>
<p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span class="gmail-Apple-converted-space">            </span>"SubnetMask": "255.255.255.255"</p>
<p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span class="gmail-Apple-converted-space">     </span>},</p><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal">     {</p>
<p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span class="gmail-Apple-converted-space">            </span>"NextHopAddress": "192.168.2.1",</p>
<p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span class="gmail-Apple-converted-space">            </span>"DestinationAddress": "192.1.2.0",</p>
<p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span class="gmail-Apple-converted-space">            </span>"SubnetMask": "255.255.255.0"</p>
<p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><span class="gmail-Apple-converted-space">     </span>}]</p>
<p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;min-height:15px"><br></p>
<p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal">This PR was reviewed and discussed in the DMTF meeting recently and one of the suggestion from DMTF members were to check for community interest in having this use case.</p>
<p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal;min-height:15px"><br></p>
<p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal">Would like to hear community views in allowing the user to add a static route.</p><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal"><br></p><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal">Thanks,</p><p style="margin:0px;font-stretch:normal;font-size:13px;line-height:normal;font-family:"Helvetica Neue";font-size-adjust:none;font-kerning:auto;font-variant-alternates:normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-east-asian:normal;font-feature-settings:normal">Raviteja </p></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 26, 2022 at 2:55 PM Sunitha Harish <<a href="mailto:sunithaharish04@gmail.com">sunithaharish04@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <p><br>
    </p>
    <div>On 23-06-2022 15:57, raviteja bailapudi
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">Hi, Jiaqing
        <div><br>
        </div>
        <div>
          <p>We have noticed an issue while using Static IPv4
            addresses on both eth0 and eth1.<br>
            We have configured a static private IP with the matching
            subnet of Laptop Connected on eth0 and<span>  </span>configured a
            static public IP on eth1.<br>
            Both routes have got the metric value 0. eth0 route is the
            first entry of the routing table which was being used for
            routing.<br>
          </p>
          <p><br>
          </p>
          <p>Ping to eth1 IP <9.x.x.84> does not work
            and that Eth0 private IP pings from the laptop connected.<br>
            <br>
            <b>
              IP<span>  </span>Config:</b><br>
          </p>
          <p><br>
          </p>
          <p>2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP>
            mtu 1500 qdisc pfifo_fast qlen 1000</p>
          <p><span>    </span>link/ether
            08:94:ef:82:4c:76 brd ff:ff:ff:ff:ff:ff</p>
          <p><span>    </span>inet
            <a href="http://169.254.7.123/16" target="_blank">169.254.7.123/16</a>
            brd 169.254.255.255 scope link eth0</p>
          <p><span>      
            </span>valid_lft forever preferred_lft forever</p>
          <p><span>    </span>inet
            10.x.x.100/24 brd 10.6.6.255 scope global eth0.<span>          </span>—>
            Private IP (Connected to laptop)</p>
          <p><span>      
            </span>valid_lft forever preferred_lft forever</p>
          <p><span>    </span>inet6
            fe80::a94:efff:fe82:4c76/64 scope link</p>
          <p><span>      
            </span>valid_lft forever preferred_lft forever</p>
          <p>3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP>
            mtu 1500 qdisc pfifo_fast qlen 1000</p>
          <p><span>    </span>link/ether
            08:94:ef:82:4c:77 brd ff:ff:ff:ff:ff:ff</p>
          <p><span>    </span>inet
            9.x.x.84/24 brd 9.x.x.255 scope global eth1. <span>              </span>—>
            Public IP<span> </span></p>
          <p><span>      
            </span>valid_lft forever preferred_lft forever</p>
          <p><span>    </span>inet6
            fe80::a94:efff:fe82:4c77/64 scope link</p>
          <p><span>      
            </span>valid_lft forever preferred_lft forever</p>
          <p><br>
            <br>
            <b>
              Routing table:</b><br>
            <br>
            Kernel IP routing table</p>
          <p>Destination <span>    </span>Gateway <span>        </span>Genmask
            <span>        </span>Flags
            <span>  </span>MSS <span>  </span>Window<span>  </span>irtt<span>  </span>Iface</p>
          <p>0.0.0.0<span> 
                            </span>10.x.x.1 <span>            </span>0.0.0.0
            <span>          </span>UG
            <span>        </span>0
            <span>      </span>0 <span>          </span>0 <span>  </span>eth0</p>
          <p>0.0.0.0 <span>                </span>9.x.x.1<span>              </span>0.0.0.0
            <span>          </span>UG<span>        </span>0<span>        </span>0 <span>          </span>0 <span>  </span>eth1<span>  </span><<====
            not pingable.<span> </span></p>
          <p>9.x.x.0 <span>                </span>0.0.0.0
            <span>        </span>255.255.255.0
            <span>  </span>U<span>          </span>0<span>        </span>0 <span>          </span>0 <span>  </span>eth1</p>
          <p>10.x.x.0 <span>              </span>0.0.0.0
            <span>        </span>255.255.255.0
            <span>  </span>U<span>          </span>0 <span>        </span>0<span>          </span>0 <span>  </span>eth0</p>
          <p>169.254.0.0<span>        </span>0.0.0.0
            <span>        </span>255.255.0.0<span>        </span>U<span>          </span>0 <span>        </span>0<span>          </span>0 <span>  </span>eth0</p>
          <p><br>
            <br>
            But with DHCP enabled on eth1, dhcp subnet with metric value
            1024 was always at the bottom and was reachable<br>
            as DHCP routes<span>  </span>get
            priority over static routes. </p>
          <p><br>
          </p>
        </div>
      </div>
    </blockquote>
    <p>Its good if Redfish has a way to set the metric value as an
      optional parameter while user PATCHes the Static IP address. This
      can be used by phosphor-networkd to set the route priority on that
      interface while adding route for this IP.<br>
    </p>
    <blockquote type="cite">
      <div dir="ltr">
        <div>
          <p><br>
          </p>
          <p>Regards,</p>
          <p>Raviteja</p>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Thu, Jun 23, 2022 at 12:34
          PM Jiaqing Zhao <<a href="mailto:jiaqing.zhao@linux.intel.com" target="_blank">jiaqing.zhao@linux.intel.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hi,
          Raviteja<br>
          <br>
          Can you help explain the routing issue you met?<br>
          <br>
          I've also met a metric-related issue. When there are 2
          interfaces, one use DHCP,<br>
          the other use Static, systemd-networkd sets the metric 1024 on
          the DHCP-assigned<br>
          default routev (metric for static default gateway is 0), which
          causing peers<br>
          only reachable via the DHCP-assigned default route cannot be
          accessed.<br>
          <br>
          And in current OpenBMC implementation, I think we should allow
          setting null to<br>
          Gateway of IPv4StaticAddress to not set default route on that
          interface.<br>
          <br>
          Thanks,<br>
          Jiaqing<br>
          <br>
          On 2022-06-22 18:50, raviteja bailapudi wrote:<br>
          > Hi Team<br>
          > <br>
          > We have hit network routing issues while using Static
          IPv4 addresses on<br>
          > both eth0 and eth1,  as both default gateways at the
          interfaces were of the<br>
          > same metric value. To solve this problem we are planning
          to provide an<br>
          > interface for admins to set the metric value for the
          gateway while setting<br>
          > up the Static IPv4 network on BMC.<br>
          > <br>
          > <br>
          > To enable users to connect from outside-subnet clients,
          we also need to<br>
          > support static routes on BMC.<br>
          > <br>
          > <br>
          > I have started a thread in redfish forum as well<br>
          > <br>
          > <a href="https://redfishforum.com/thread/683/network-routing-table-management-support" rel="noreferrer" target="_blank">https://redfishforum.com/thread/683/network-routing-table-management-support</a><br>
          > <br>
          > <br>
          > Please share your views on the same.<br>
          > <br>
          > <br>
          > <br>
          > Regards,<br>
          > <br>
          > Raviteja<br>
          > <br>
        </blockquote>
      </div>
    </blockquote>
  </div>

</blockquote></div>