[FROG] nexthop_set failed

Xinwei Hong xhong at skytap.com
Thu Oct 5 23:38:50 EDT 2017


Thank you Donald.
I'm new to FRR. Sorry if my question is dumb. Where do I run the commands?
I can telnet to bgpd (port 2605), when I run the commands, it gives me:

bgpd> show ip route

% [BGP] Unknown command: show ip route

bgpd> show int

% [BGP] Unknown command: show int

Note that I only have bgpd running at this moment, zebra is not setup yet.


Thanks,
Xinwei

On Thu, Oct 5, 2017 at 2:45 PM, Donald Sharp <sharpd at cumulusnetworks.com>
wrote:

> Xinwei -
>
> BGP is attempting to validate the nextop given to use and it is
> failing.  What does 'show ip route' and 'show int' give us?
>
> thanks!
>
> donald
>
> On Wed, Oct 4, 2017 at 1:28 PM, Xinwei Hong <xhong at skytap.com> wrote:
> > Hi
> >
> > I have a two bgp router setting between 192.168.3.2 and 192.168.3.3. On
> > 192.168.3.2, I have to following config. similar config as on 192.168.3.3
> >
> > ----bgpd.conf
> >
> > ! -*- bgp -*-
> >
> > !
> >
> > hostname bgpd
> >
> > password zebra
> >
> > !
> >
> > router bgp 7632
> >
> >  neighbor 192.168.3.3 remote-as 7633
> >
> >  bgp router-id 192.168.3.2
> >
> >  network 10.200.0.0/16
> >
> > !
> >
> >  address-family ipv4 unicast
> >
> >   network 10.201.142.0/24
> >
> >   neighbor 192.168.3.3 activate
> >
> >   neighbor 192.168.3.3 next-hop-self
> >
> >  exit-address-family
> >
> > !
> >
> > access-list all permit any
> >
> > !
> >
> > route-map set-nexthop permit 10
> >
> >  match ip address all
> >
> >  set ip next-hop 192.168.3.3
> >
> > !
> >
> > log file /var/log/frr/bgpd.log
> >
> > log stdout
> >
> > log syslog
> >
> > ------------------
> >
> >
> > In log, I find the following errors.
> >
> > 2017/10/03 23:29:40 BGP: 192.168.3.3: nexthop_set failed, resetting
> > connection - intf (nil)
> >
> > 2017/10/03 23:29:40 BGP: bgp_connect_success: bgp_getsockname(): failed
> for
> > peer 192.168.3.3, fd 9
> >
> > 2017/10/03 23:29:40 BGP: 192.168.3.3 [FSM] Failure handling event
> > TCP_connection_open in state Connect, prior events BGP_Start, BGP_Start,
> fd
> > 9
> >
> >
> > Is there anything wrong with my config?
> >
> > Thanks,
> >
> > Xinwei
> >
> >
> > _______________________________________________
> > frog mailing list
> > frog at lists.frrouting.org
> > https://lists.frrouting.org/listinfo/frog
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frrouting.org/pipermail/frog/attachments/20171005/655237a3/attachment.html>


More information about the frog mailing list