----
router bgp 1234
no bgp default ipv4-unicast
- no bgp default ipv6-unicast
coalesce-time 1000
neighbor 192.168.0.2 remote-as 1234
neighbor 192.168.0.3 remote-as 1234
----
router bgp 1234
no bgp default ipv4-unicast
- no bgp default ipv6-unicast
coalesce-time 1000
neighbor 192.168.0.1 remote-as 1234
neighbor 192.168.0.3 remote-as 1234
----
router bgp 1234
no bgp default ipv4-unicast
- no bgp default ipv6-unicast
coalesce-time 1000
neighbor 192.168.0.1 remote-as 1234
neighbor 192.168.0.2 remote-as 1234
router bgp 1234
bgp router-id 192.168.0.1
no bgp default ipv4-unicast
- no bgp default ipv6-unicast
coalesce-time 1000
neighbor 192.168.0.2 remote-as 1234
neighbor 192.168.0.3 remote-as 1234
router bgp 1234
bgp router-id 192.168.0.2
no bgp default ipv4-unicast
- no bgp default ipv6-unicast
coalesce-time 1000
neighbor 192.168.0.1 remote-as 1234
neighbor 192.168.0.3 remote-as 1234
router bgp 1234
bgp router-id 192.168.0.3
no bgp default ipv4-unicast
- no bgp default ipv6-unicast
coalesce-time 1000
neighbor 192.168.0.1 remote-as 1234
neighbor 192.168.0.2 remote-as 1234
router bgp 1234
bgp router-id 192.168.0.1
no bgp default ipv4-unicast
- no bgp default ipv6-unicast
coalesce-time 1000
neighbor 192.168.0.2 remote-as 1234
neighbor 192.168.0.3 remote-as 1234
router bgp 1234
bgp router-id 192.168.0.2
no bgp default ipv4-unicast
- no bgp default ipv6-unicast
coalesce-time 1000
neighbor 192.168.0.1 remote-as 1234
neighbor 192.168.0.3 remote-as 1234
router bgp 1234
bgp router-id 192.168.0.3
no bgp default ipv4-unicast
- no bgp default ipv6-unicast
coalesce-time 1000
neighbor 192.168.0.1 remote-as 1234
neighbor 192.168.0.2 remote-as 1234
router bgp 1234
bgp router-id 192.168.0.1
no bgp default ipv4-unicast
- no bgp default ipv6-unicast
coalesce-time 1000
neighbor 192.168.0.2 remote-as 1234
neighbor 192.168.0.3 remote-as 1234
router bgp 1234
bgp router-id 192.168.0.2
no bgp default ipv4-unicast
- no bgp default ipv6-unicast
coalesce-time 1000
neighbor 192.168.0.1 remote-as 1234
neighbor 192.168.0.3 remote-as 1234
router bgp 1234
bgp router-id 192.168.0.3
no bgp default ipv4-unicast
- no bgp default ipv6-unicast
coalesce-time 1000
neighbor 192.168.0.1 remote-as 1234
neighbor 192.168.0.2 remote-as 1234
If the router send the packet to a wrong node (vm is not on this node), this node will route through
vxlan the packet to final destination.
+If you have multiple gateway nodes, disable rp_filter as packet could incoming in a 1 node, and outgoing
+to another node.
+
+sysctl.conf tuning
+-----
+net.ipv4.conf.default.rp_filter=0
+net.ipv4.conf.all.rp_filter=0
+-----
+
+
*node1
----
router bgp 1234
bgp router-id 192.168.0.1
no bgp default ipv4-unicast
- no bgp default ipv6-unicast
coalesce-time 1000
neighbor 192.168.0.2 remote-as 1234
neighbor 192.168.0.3 remote-as 1234
router bgp 1234
bgp router-id 192.168.0.2
no bgp default ipv4-unicast
- no bgp default ipv6-unicast
coalesce-time 1000
neighbor 192.168.0.1 remote-as 1234
neighbor 192.168.0.3 remote-as 1234
router bgp 1234
bgp router-id 192.168.0.3
no bgp default ipv4-unicast
- no bgp default ipv6-unicast
coalesce-time 1000
neighbor 192.168.0.1 remote-as 1234
neighbor 192.168.0.2 remote-as 1234
router bgp 1234
bgp router-id 192.168.0.1
no bgp default ipv4-unicast
- no bgp default ipv6-unicast
coalesce-time 1000
neighbor 192.168.0.2 remote-as 1234
neighbor 192.168.0.3 remote-as 1234
bgp cluster-id 1.1.1.1 #cluster-id must be the same on each route reflector
bgp log-neighbor-changes
no bgp default ipv4-unicast
- no bgp default ipv6-unicast
neighbor fabric peer-group
neighbor fabric remote-as 1234
neighbor fabric capability extended-nexthop
bgp cluster-id 1.1.1.1
bgp log-neighbor-changes
no bgp default ipv4-unicast
- no bgp default ipv6-unicast
neighbor fabric peer-group
neighbor fabric remote-as 1234
neighbor fabric capability extended-nexthop
router bgp 1234
bgp router-id 192.168.0.x
no bgp default ipv4-unicast
- no bgp default ipv6-unicast
coalesce-time 1000
neighbor 192.168.0.200 remote-as 1234
neighbor 192.168.0.201 remote-as 1234