Comment 7 for bug 1628044

Revision history for this message
fumihiko kakuma (kakuma) wrote :

I checked a peer between ryu bgp app and quagga on docker without using openstack.
It seems to work fine.
The following is quagga config file and tcpdump.

A log for dr-agent may be helpful for openstack.

- bgpd.conf for quagga

! -*- bgp -*-
!
! BGPd sample configuratin file
!
! $Id: bgpd.conf.sample,v 1.1 2002/12/13 20:15:29 paul Exp $
!
hostname qg1
password zebra
!enable password please-set-at-here
!
!bgp mulitple-instance
!
router bgp 64522
  bgp router-id 192.168.0.2
  neighbor 2001:10::10 remote-as 64512
  neighbor 2001:10::10 passive
  address-family ipv6
    network 2001:db8:2::/48
    neighbor 2001:10::10 activate
  exit-address-family
!
log file /var/log/quagga/bgpd.log
!
debug bgp fsm
debug bgp updates
debug bgp events

- tcpdump

  1 0.000000 2001:10::20 -> 2001:10::10 ICMPv6 118 Echo (ping) request id=0x0b5a, seq=1, hop limit=0
  2 0.000029 2001:10::10 -> 2001:10::20 ICMPv6 118 Echo (ping) reply id=0x0b5a, seq=1, hop limit=0 (request in 1)
  3 0.999422 2001:10::20 -> 2001:10::10 ICMPv6 118 Echo (ping) request id=0x0b5a, seq=2, hop limit=0
  4 0.999459 2001:10::10 -> 2001:10::20 ICMPv6 118 Echo (ping) reply id=0x0b5a, seq=2, hop limit=0 (request in 3)
  5 1.999430 2001:10::20 -> 2001:10::10 ICMPv6 118 Echo (ping) request id=0x0b5a, seq=3, hop limit=0
  6 1.999468 2001:10::10 -> 2001:10::20 ICMPv6 118 Echo (ping) reply id=0x0b5a, seq=3, hop limit=0 (request in 5)
  7 5.003402 fe80::42:c0ff:fea8:320a -> 2001:10::20 ICMPv6 86 Neighbor Solicitation for 2001:10::20 from 02:42:c0:a8:32:0a
  8 5.003426 2001:10::20 -> fe80::42:c0ff:fea8:320a ICMPv6 78 Neighbor Advertisement 2001:10::20 (sol)
  9 10.011429 fe80::42:c0ff:fea8:3214 -> fe80::42:c0ff:fea8:320a ICMPv6 86 Neighbor Solicitation for fe80::42:c0ff:fea8:320a from 02:42:c0:a8:32:14
 10 10.011510 fe80::42:c0ff:fea8:320a -> fe80::42:c0ff:fea8:3214 ICMPv6 78 Neighbor Advertisement fe80::42:c0ff:fea8:320a (sol)
 11 12.120183 2001:10::10 -> 2001:10::20 TCP 94 43212 > 179 [SYN] Seq=0 Win=28800 Len=0 MSS=1440 SACK_PERM=1 TSval=89659355 TSecr=0 WS=128
 12 12.120205 2001:10::20 -> 2001:10::10 TCP 94 179 > 43212 [SYN, ACK] Seq=0 Ack=1 Win=28560 Len=0 MSS=1440 SACK_PERM=1 TSval=89659355 TSecr=89659355 WS=128
 13 12.120220 2001:10::10 -> 2001:10::20 TCP 86 43212 > 179 [ACK] Seq=1 Ack=1 Win=28800 Len=0 TSval=89659355 TSecr=89659355
 14 12.120325 2001:10::20 -> 2001:10::10 TCP 86 179 > 43212 [FIN, ACK] Seq=1 Ack=1 Win=28672 Len=0 TSval=89659355 TSecr=89659355
 15 12.123350 2001:10::10 -> 2001:10::20 TCP 86 43212 > 179 [ACK] Seq=1 Ack=2 Win=28800 Len=0 TSval=89659356 TSecr=89659355
 16 12.123841 2001:10::10 -> 2001:10::20 BGP 135 OPEN Message
 17 12.123868 2001:10::20 -> 2001:10::10 TCP 74 179 > 43212 [RST] Seq=2 Win=0 Len=0
 18 15.019464 fe80::42:c0ff:fea8:320a -> fe80::42:c0ff:fea8:3214 ICMPv6 86 Neighbor Solicitation for fe80::42:c0ff:fea8:3214 from 02:42:c0:a8:32:0a
 19 15.019521 fe80::42:c0ff:fea8:3214 -> fe80::42:c0ff:fea8:320a ICMPv6 78 Neighbor Advertisement fe80::42:c0ff:fea8:3214 (sol)
 20 43.122908 2001:10::10 -> 2001:10::20 TCP 94 43215 > 179 [SYN] Seq=0 Win=28800 Len=0 MSS=1440 SACK_PERM=1 TSval=89667105 TSecr=0 WS=128
 21 43.122932 2001:10::20 -> 2001:10::10 TCP 94 179 > 43215 [SYN, ACK] Seq=0 Ack=1 Win=28560 Len=0 MSS=1440 SACK_PERM=1 TSval=89667105 TSecr=89667105 WS=128
 22 43.122954 2001:10::10 -> 2001:10::20 TCP 86 43215 > 179 [ACK] Seq=1 Ack=1 Win=28800 Len=0 TSval=89667105 TSecr=89667105
 23 43.124820 2001:10::10 -> 2001:10::20 BGP 135 OPEN Message
 24 43.124831 2001:10::20 -> 2001:10::10 TCP 86 179 > 43215 [ACK] Seq=1 Ack=50 Win=28672 Len=0 TSval=89667106 TSecr=89667106
 25 43.125021 2001:10::20 -> 2001:10::10 BGP 166 OPEN Message, KEEPALIVE Message
 26 43.125041 2001:10::10 -> 2001:10::20 TCP 86 43215 > 179 [ACK] Seq=50 Ack=81 Win=28800 Len=0 TSval=89667106 TSecr=89667106
 27 43.129853 2001:10::10 -> 2001:10::20 BGP 105 KEEPALIVE Message
 28 43.129932 2001:10::20 -> 2001:10::10 BGP 105 KEEPALIVE Message
 29 43.134746 2001:10::10 -> 2001:10::20 BGP 153 UPDATE Message
 30 43.171375 2001:10::20 -> 2001:10::10 TCP 86 179 > 43215 [ACK] Seq=100 Ack=136 Win=28672 Len=0 TSval=89667118 TSecr=89667108
 31 44.130475 2001:10::20 -> 2001:10::10 BGP 161 UPDATE Message
 32 44.167405 2001:10::10 -> 2001:10::20 TCP 86 43215 > 179 [ACK] Seq=136 Ack=175 Win=28800 Len=0 TSval=89667367 TSecr=89667357
 33 56.126112 2001:10::20 -> 2001:10::10 BGP 105 KEEPALIVE Message