[Libvir] Patch for routed virtual networks

Mads Chr. Olesen shiyee at shiyee.dk
Tue Mar 25 11:56:31 UTC 2008


man, 24 03 2008 kl. 19:00 +0000, skrev Daniel P. Berrange:
> 
> On Mon, Mar 24, 2008 at 10:52:41AM +0100, Mads Chr. Olesen wrote:
> > Anything further I can do to help get this patch commited?
> > 
> > I have been running with it, without problems across restarts, etc.,
> for
> > a couple of weeks now.
> 
> I still don't see where the routing rules are defined / take place
> with this setup. There must be rules somewhere specifying the routing
> for the subnet 78.47.YYY.YYY/30, but its not being done in your
> patchset AFAICT 

Do you mean entries in the routing table, or?

This is my routing table:

$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
78.47.YYY.YYY   0.0.0.0         255.255.255.248 U     0      0        0 virsubnetbr0
85.10.XXX.0     0.0.0.0         255.255.255.224 U     0      0        0 eth0
0.0.0.0         85.10.XXX.1     0.0.0.0         UG    100    0        0 eth0

The entry for virsubnetbr0 is setup automatically, by the definition in
the XML-file: 
<ip address="78.47.YYY.YYY" netmask="255.255.255.248" />

-- 
Mads Chr. Olesen <shiyee at shiyee.dk>
shiyee.dk




More information about the libvir-list mailing list