<div dir="ltr">Cool. Thanks! I will try it out.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 6, 2017 at 3:37 PM, Donald Sharp <span dir="ltr"><<a href="mailto:sharpd@cumulusnetworks.com" target="_blank">sharpd@cumulusnetworks.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If you don't want bgp to verify nexthops, then do not compile with<br>
--enable-cumulus=yes.<br>
<span class="HOEnZb"><font color="#888888"><br>
donald<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Fri, Oct 6, 2017 at 6:28 PM, Xinwei Hong <<a href="mailto:xhong@skytap.com">xhong@skytap.com</a>> wrote:<br>
> One follow-up question. If I run bgpd without zebra, I would still see that<br>
> error in error log and bgp does not work properly. Is it true that we cannot<br>
> run bgpd as standalone and we must run zebra in order for bgpd to work<br>
> correctly. I'm asking this because I only want to publish my BGP route to<br>
> its neighbor and don't want zebra to update routing table for me.<br>
><br>
> Thanks,<br>
> Xinwei<br>
><br>
><br>
><br>
> On Fri, Oct 6, 2017 at 11:31 AM, Xinwei Hong <<a href="mailto:xhong@skytap.com">xhong@skytap.com</a>> wrote:<br>
>><br>
>> Thank you Donald.<br>
>> After I run zebra and fix a few issue in my ip address/route table, things<br>
>> look good.<br>
>><br>
>> Thanks a lot!<br>
>> Xinwei<br>
>><br>
>> On Fri, Oct 6, 2017 at 4:28 AM, Donald Sharp <<a href="mailto:sharpd@cumulusnetworks.com">sharpd@cumulusnetworks.com</a>><br>
>> wrote:<br>
>>><br>
>>> Xinwei -<br>
>>><br>
>>> Those commands are for zebra.  Are you running it?  I would run zebra<br>
>>> and then run bgp and retry.<br>
>>><br>
>>> donald<br>
>>><br>
>>> On Thu, Oct 5, 2017 at 11:38 PM, Xinwei Hong <<a href="mailto:xhong@skytap.com">xhong@skytap.com</a>> wrote:<br>
>>> > Thank you Donald.<br>
>>> > I'm new to FRR. Sorry if my question is dumb. Where do I run the<br>
>>> > commands?<br>
>>> > I can telnet to bgpd (port 2605), when I run the commands, it gives me:<br>
>>> ><br>
>>> > bgpd> show ip route<br>
>>> ><br>
>>> > % [BGP] Unknown command: show ip route<br>
>>> ><br>
>>> > bgpd> show int<br>
>>> ><br>
>>> > % [BGP] Unknown command: show int<br>
>>> ><br>
>>> > Note that I only have bgpd running at this moment, zebra is not setup<br>
>>> > yet.<br>
>>> ><br>
>>> ><br>
>>> > Thanks,<br>
>>> > Xinwei<br>
>>> ><br>
>>> ><br>
>>> > On Thu, Oct 5, 2017 at 2:45 PM, Donald Sharp<br>
>>> > <<a href="mailto:sharpd@cumulusnetworks.com">sharpd@cumulusnetworks.com</a>><br>
>>> > wrote:<br>
>>> >><br>
>>> >> Xinwei -<br>
>>> >><br>
>>> >> BGP is attempting to validate the nextop given to use and it is<br>
>>> >> failing.  What does 'show ip route' and 'show int' give us?<br>
>>> >><br>
>>> >> thanks!<br>
>>> >><br>
>>> >> donald<br>
>>> >><br>
>>> >> On Wed, Oct 4, 2017 at 1:28 PM, Xinwei Hong <<a href="mailto:xhong@skytap.com">xhong@skytap.com</a>> wrote:<br>
>>> >> > Hi<br>
>>> >> ><br>
>>> >> > I have a two bgp router setting between 192.168.3.2 and 192.168.3.3.<br>
>>> >> > On<br>
>>> >> > 192.168.3.2, I have to following config. similar config as on<br>
>>> >> > 192.168.3.3<br>
>>> >> ><br>
>>> >> > ----bgpd.conf<br>
>>> >> ><br>
>>> >> > ! -*- bgp -*-<br>
>>> >> ><br>
>>> >> > !<br>
>>> >> ><br>
>>> >> > hostname bgpd<br>
>>> >> ><br>
>>> >> > password zebra<br>
>>> >> ><br>
>>> >> > !<br>
>>> >> ><br>
>>> >> > router bgp 7632<br>
>>> >> ><br>
>>> >> >  neighbor 192.168.3.3 remote-as 7633<br>
>>> >> ><br>
>>> >> >  bgp router-id 192.168.3.2<br>
>>> >> ><br>
>>> >> >  network <a href="http://10.200.0.0/16" rel="noreferrer" target="_blank">10.200.0.0/16</a><br>
>>> >> ><br>
>>> >> > !<br>
>>> >> ><br>
>>> >> >  address-family ipv4 unicast<br>
>>> >> ><br>
>>> >> >   network <a href="http://10.201.142.0/24" rel="noreferrer" target="_blank">10.201.142.0/24</a><br>
>>> >> ><br>
>>> >> >   neighbor 192.168.3.3 activate<br>
>>> >> ><br>
>>> >> >   neighbor 192.168.3.3 next-hop-self<br>
>>> >> ><br>
>>> >> >  exit-address-family<br>
>>> >> ><br>
>>> >> > !<br>
>>> >> ><br>
>>> >> > access-list all permit any<br>
>>> >> ><br>
>>> >> > !<br>
>>> >> ><br>
>>> >> > route-map set-nexthop permit 10<br>
>>> >> ><br>
>>> >> >  match ip address all<br>
>>> >> ><br>
>>> >> >  set ip next-hop 192.168.3.3<br>
>>> >> ><br>
>>> >> > !<br>
>>> >> ><br>
>>> >> > log file /var/log/frr/bgpd.log<br>
>>> >> ><br>
>>> >> > log stdout<br>
>>> >> ><br>
>>> >> > log syslog<br>
>>> >> ><br>
>>> >> > ------------------<br>
>>> >> ><br>
>>> >> ><br>
>>> >> > In log, I find the following errors.<br>
>>> >> ><br>
>>> >> > 2017/10/03 23:29:40 BGP: <a href="http://192.168.3.3" rel="noreferrer" target="_blank">192.168.3.3</a>: nexthop_set failed, resetting<br>
>>> >> > connection - intf (nil)<br>
>>> >> ><br>
>>> >> > 2017/10/03 23:29:40 BGP: bgp_connect_success: bgp_getsockname():<br>
>>> >> > failed<br>
>>> >> > for<br>
>>> >> > peer 192.168.3.3, fd 9<br>
>>> >> ><br>
>>> >> > 2017/10/03 23:29:40 BGP: 192.168.3.3 [FSM] Failure handling event<br>
>>> >> > TCP_connection_open in state Connect, prior events BGP_Start,<br>
>>> >> > BGP_Start,<br>
>>> >> > fd<br>
>>> >> > 9<br>
>>> >> ><br>
>>> >> ><br>
>>> >> > Is there anything wrong with my config?<br>
>>> >> ><br>
>>> >> > Thanks,<br>
>>> >> ><br>
>>> >> > Xinwei<br>
>>> >> ><br>
>>> >> ><br>
>>> >> > ______________________________<wbr>_________________<br>
>>> >> > frog mailing list<br>
>>> >> > <a href="mailto:frog@lists.frrouting.org">frog@lists.frrouting.org</a><br>
>>> >> > <a href="https://lists.frrouting.org/listinfo/frog" rel="noreferrer" target="_blank">https://lists.frrouting.org/<wbr>listinfo/frog</a><br>
>>> >> ><br>
>>> ><br>
>>> ><br>
>><br>
>><br>
><br>
</div></div></blockquote></div><br></div>