|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Xen with 'Routing' scripts
Nils, thanks for the great response.Some more details: we have a network of dom-0's that will host a number of dom-U's. We need dynamic addressing, so proxy-arp sounds the simplest for us (simpler than full-on routing, that is). Bridging is not so nice cos it exposes ethernet to the (untrusted) dom-U's. We can't use NAT cos we want the dom-U's to be externally addressable.Something I'm still unclear on - we don't want to reserve dom-U addresses for each dom-0 (it'll be wasteful), so we want dom-U to use DHCP. But then we've got to do DHCP relaying in dom-0, I think, and capture the dom-U IP address, unless there's a better way. Another thing that's confusing me is that I expect there should be a left-hand (dom-0) and right-hand (dom-U) address for each of the vif's in routing mode, but I see only the one address in the scripts. I hope this makes sense - as you might have noticed I'm approaching this from first principles. I'm sure I'll get there in the end :( Regards Roland Nils Toedtmann wrote: Am Freitag, den 15.04.2005, 09:20 +0200 schrieb Roland Paterson-Jones:HiI had a brief look at the routing scripts in /etc/xen/scripts. Essentially the main script turns on ip forwarding in dom-0, and the dom-U vif script seems to configure a 169.254.1.0 address for each vif (auto-configure address, I think), then enable proxy ARP on the vif.Some questions: How do remote machines pick up routing information for the dom-U's? Do I have to run a routing protocol in dom-0 (maybe with zebra) so that remote machines can 'see' the dom-U's?Depends on network configuration: If you use bridging or proxy-arp or NAT that's not necessary. If not, routes can be configured statically into remote machines or dynamically via routing protocals like RIP orOSPF.This is not a Xen-specific question, look around for networking howtos.Could someone maybe explain the details of the ifconfig <vif> 169.254.1.0 ...From RFC 3330 <http://www.faqs.org/rfcs/rfc3330.html>:169.254.0.0/16 - This is the "link local" block. It is allocated for communication between hosts on a single link. Hosts obtain theseaddresses by auto-configuration, such as when a DHCP server may not be found.You may use random IPs in this range as a poor backup alternative to dhcp. MS Windows and many devices like printers use such IPs if theycannot find a dhcp server.and what the proxy ARP stuff does? _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |