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
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@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@lists.frrouting.org
> https://lists.frrouting.org/listinfo/frog
>