<div dir="ltr"><div>hi</div><div><br></div><div>My system is Ubuntu 13.04, kernel version is 3.8.0-21-generic, bird version is 1.3.10.</div><div><br></div><div>I want to achieve lo: 0 (eg: <a href="http://192.168.1.1/32">192.168.1.1/32</a>) address as the route-id of the device, while learning through ospf routing protocol ip address to manage the device through this ip address.</div>
<div><br></div><div>Configured as follows:</div><div><br></div><div>1: I'm on a device configured lo:0 interface address:</div><div><br></div><div>ifconfig lo:0 <a href="http://192.168.1.1/32">192.168.1.1/32</a></div>
<div><br></div><div>root @ sr1 :/ usr / local / bird # ifconfig lo:0</div><div>lo: 0 Link encap: Local Loopback</div><div> inet addr: 192.168.1.1 Mask: 0.0.0.0</div><div> UP LOOPBACK RUNNING MTU: 65536 Metric: 1</div>
<div><br></div><div><br></div><div>2: The bird in the configuration is as follows:</div><div><br></div><div>In direct proto configured lo: 0 Interface</div><div><br></div><div>protocol direct {</div><div>interface "eth1", <a href="http://192.168.1.1/32">192.168.1.1/32</a>;</div>
<div>}</div><div><br></div><div>In the kernel configuration is as follows:</div><div><br></div><div>protocol kernel</div><div>{</div><div># Learn; # Learn all alien routes from the kernel</div><div># Persist; # Don't remove routes on bird shutdown</div>
<div>device routes;</div><div>scan time 15; # Scan kernel routing table every 15 seconds</div><div>import none; # Default is import all</div><div>export all; # Default is export none</div><div># Kernel table 5; # Kernel table to synchronize with (default: main)</div>
<div><br></div><div>}</div><div><br></div><div>The problem is found in bird default route pointing to the interface, and the interface address lo not found in the routing table, and why?</div><div><br></div><div>bird> show interfaces</div>
<div>1001-lo up (index = 1)</div><div>1004 - MultiAccess AdminUp LinkUp Loopback Ignored MTU = 65536</div><div>1003 - 192.168.1.1 / 0 (Primary, scope univ)</div><div> 127.0.0.1 / 8 (Unselected, scope host)</div><div><br>
</div><div>root @ sr1 :/ usr / local / bird # birdc-v</div><div>0001 BIRD 1.3.10 ready.</div><div>bird> show route</div><div>1007-0.0.0.0 / 0 dev lo [direct1 16:55] * (240)</div><div><br></div><div>thanks.</div></div>