Hello,

>> venet0 DOWN (index=5)
>>         PtP Multicast AdminUp LinkUp MTU=1500

> This is probably the reason why static protocol did not add the routes.
> I think BIRD ignore ifaces that do not have any IP address. Could you
> try to add some IP address to venet0? Then it should turn UP here and
> the static protocol should work.

I added ip to the venet0 and route from venet0 (static) showed up in
ruting tables, but none of the others routes via venet0. I tried to
add static routes (comented out earlier) and they also showed up in
bird's routing table:

bird> show interfaces
[....]
venet0 up (index=5)
        PtP Multicast AdminUp LinkUp MTU=1500
        10.2.1.1/32 (Primary, broadcast 10.2.1.1, scope site)


bird> show route
0.0.0.0/0          via 91.207.11.1 on eth0 [kernel1 22:45] * (10)
10.2.1.1/32        dev venet0 [direct1 22:45] * (240)
                   dev venet0 [MyOSPF 22:45] I (150/10) [91.207.11.3]
10.1.1.0/24        dev eth1 [MyOSPF 22:45] * I (150/10) [91.207.11.3]
91.207.11.0/29     dev eth0 [MyOSPF 22:45] * I (150/10) [91.207.11.3]
91.207.10.61/32    dev venet0 [static1 22:45] * (200)
91.207.10.60/32    dev venet0 [static1 22:45] * (200)
192.168.1.51/32    dev venet0 [static1 22:45] * (200)

but I can't see them in ospf on other routers (It looks like they are
not imported to ospf - it may be my wrong configuration, see bellow)
and still all other routes 'via venet0' (these not added explicitly by
route command in protocol static) didn't showed up. They disappeared
:), when I added ip to the venet iface (I don't see them even in ip r
l), so configuration with ip on venet0 breaks the ruting to the
virtual container's ips. I can add static routes (by bird or by hand)
but it is very bad solution.

ospf configuration:

protocol ospf MyOSPF {
        import all;
        export all;
    area 0.0.0.0 {
        interface "eth*" {
        };
};


-- 
Regards,
 Łukasz Chrustek

Reply via email to