[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] please explain to me the networking of Xen & Xen guests
Sadique Puthen wrote: Ok, so the main machine will only have 1 or 2 IP's for itself, and the rest will be assigned to the VM's directly, no bridging?Rudi Ahlers wrote:Hi all I'm rather new to Xen, and want to understand the networking behind it.Let's say my server has the following IP addresses: 192.168.10.10/24 - 192.168.10.20/24 and these are all setup on the same NIC, as eth0, eth0:1, eth0:2, etc etc.Do I assign a static IP address to a Xen guest from this pool? And will this then be bridged, or how does it work?Or do I rather un-assign the IP address(es) in question, and just set them up in the Xen guest?Yes, You need to unassign these ips from dom0 and set them up in the Xen guest. Lastly, if I had mrtg / munin / Nagios on the main server, who will it be able to graph each Xen guest's traffic individually?I think you can do this by monitoring traffic through the vifx.x interface which handles the network traffice for the guest. I saw the vifx.x interfaces, but they don't have IP's: vif0.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:61077 errors:0 dropped:0 overruns:0 frame:0 TX packets:75812 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:18054893 (17.2 MiB) TX bytes:44011369 (41.9 MiB) vif35.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:7 errors:0 dropped:0 overruns:0 frame:0 TX packets:1569 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:32 RX bytes:412 (412.0 b) TX bytes:252960 (247.0 KiB) vif36.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link UP BROADCAST RUNNING NOARP MTU:1500 Metric:1 RX packets:2687 errors:0 dropped:0 overruns:0 frame:0 TX packets:3294 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:32 RX bytes:214391 (209.3 KiB) TX bytes:359955 (351.5 KiB) How would I know which one is which one? --Sadique _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users -- Kind Regards Rudi Ahlers CEO, SoftDux Web: http://www.SoftDux.com Check out my technical blog, http://blog.softdux.com for Linux or other technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stugg _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |