<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>but that makes it difficult for us to loadshare our links using AS-PATH, so what is the recommended solution?<br><br><div><hr id="stopSpelling">Subject: Re: [afnog] local pref issue with HE<br>To: tariq198487@hotmail.com; afnog@afnog.org<br>From: laszlo@heliacal.net<br>Date: Wed, 23 Dec 2015 14:00:30 +0000<br><br>
  
    
  
  
    They set their local preferences based on where the route is learned
    from.  That takes precedence over AS path length.<br>
    <br>
    customer (140) > peer (100) > transit (70)<br>
    <br>
    -Laszlo<br>
    <br>
    <br>
    <br>
    <div class="ecxmoz-cite-prefix">On 2015-12-23 07:16, Tarig Yassin
      wrote:<br>
    </div>
    <blockquote cite="mid:DUB120-W32DC1720333DAD8147094EBBE60@phx.gbl">
      <style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
      <div dir="ltr">
        <p class="ecxMsoPlainText">Hi Afnog<br>
        </p>
        <p class="ecxMsoPlainText"><br>
        </p>
        <p class="ecxMsoPlainText">We're trying to loadshare two uplinks
          from different upstream providers using AS-PREPEND.<br>
        </p>
        <p class="ecxMsoPlainText"><br>
        </p>
        <p class="ecxMsoPlainText">the issue is how matter we prepend the
          2nd link still the 1st link is preferred.<br>
        </p>
        <p class="ecxMsoPlainText"><br>
        </p>
        <p class="ecxMsoPlainText">To clarify more, despite the 2nd route
          below has
          longer AS-PATH, </p>
        <p class="ecxMsoPlainText">but still HE prefers the 1st route, I
          try to
          understand the reason,and
        </p>
        <p class="ecxMsoPlainText">why the prepend won't work and why HE
          changes the
          value of Local-pref.
        </p>
        <p class="ecxMsoPlainText"> </p>
        <p class="ecxMsoPlainText"><br>
        </p>
        <p class="ecxMsoPlainText">> 41.202.160.0/24 AS-PATH: 1299,
          2914,33788<span style="">                     
              </span>Local-pref:70</p>
        <p class="ecxMsoPlainText">> 41.202.160.0/24 AS-PATH:
          15412,33788,33788,33788<span style="">       
          </span>Local-pref:100</p>
        <br>
        thanks,<br>
        -- <br>
        Tarig Yassin<br>
        Sudan<br>
         </div>
      <br>
      <fieldset class="ecxmimeAttachmentHeader"></fieldset>
      <br>
      <pre>_______________________________________________
afnog mailing list
<a class="ecxmoz-txt-link-freetext" href="https://www.afnog.org/mailman/listinfo/afnog" target="_blank">https://www.afnog.org/mailman/listinfo/afnog</a></pre>
    </blockquote>
    <br></div>                                        </div></body>
</html>