<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I am testing with Bird 1.6.8 with the following setup</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Box 1 with interface VPP0 (192.168.1.6) ----------R--------Box 2 with interface VPP0 (192.168.2.6)</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Middle router R has IP address 192.168.1.1 and 192.168.2.1</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
The config for Box 1:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
table T0;
<div><br>
</div>
<div># This pseudo-protocol watches all interface up/down events.</div>
<div>protocol device {</div>
<div> scan time 10; # Scan interfaces every 10 seconds</div>
<div>}</div>
<div><br>
</div>
<div># Configure logging<br>
</div>
<div>log "/home/talariuser/log/dynamic_routing.log" { debug, trace, info, remote, warning, error, auth, fatal, bug } ;</div>
<div><br>
</div>
<div>router id 198.168.100.5;</div>
<div><br>
</div>
<div>protocol static {</div>
<div> table T0;</div>
<div> check link;</div>
<div> route 192.168.2.0/24 via 192.168.1.1; # Default route</div>
<div> import all;</div>
<div> export all;</div>
<div>}</div>
<div><br>
</div>
<div>protocol bgp bgp1 {</div>
<div> table T0;</div>
<div> import all;</div>
<div> # Do not change this parameters without assistance</div>
<div> gateway recursive;</div>
<div> next hop self;</div>
<div> local as 100;</div>
<div> hold time 180;</div>
<div> source address 192.168.1.6;</div>
<div> default bgp_local_pref 100;</div>
<div> igp metric on;</div>
<div> neighbor 192.168.2.6 as 100;</div>
<div> multihop 3;</div>
<div> import all;</div>
<div> export all;</div>
<div><br>
</div>
<div>}</div>
<div>protocol direct {</div>
<div> table T0;</div>
<div> interface "vpp0";</div>
<span>}</span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>Similar on box2. The BGP stay in connect state. When I try to do packet capture on interface "vpp0", I don't see any packets sent out.</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>Anybody can point out what I did wrong in the config?</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>Thanks in advance,</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>Wei</span></div>
</body>
</html>