Andrew Pogrebennyk
2006-Aug-14 20:56 UTC
[Xen-users] Packets flow from DomU to internet with private IP!
Hello, I''m receiving my public IP via dhcp. DomU OS has the following configuration in /etc/network/interfaces: auto eth0 iface eth0 inet dhcp /etc/networking/interfaces on Dom0 does not have any special entries. Virtual machine config has the following options: vif = [ ''mac=aa:00:00:00:00:d2, bridge=xenbr0'' ] dhcp="dhcp I have manually assigned address 192.168.1.1 to xenbr0 in Dom0, made dhcpd3 listen on it and then booted the VM. It is able to obtain IP via dhcp, but I doubt if I can configure a default gateway in dhcp3, so I made it a default gateway in DomU manually. After all, from within DomU I can ping only my public IP address and nothing behind it. After executing Ethereal, I see that ICMP echo requests (as well as any other IP packets generated in DomU) are being sent to internet with a private (!) IP address 192.168.1.18. It does not make any difference if ipv4 forwarding is enabled on Dom0 or if there are any iptables forwarding rules like iptables -A FORWARD -m physdev --physdev-in eth0 --physdev-out ''!'' eth0 -j ACCEPT iptables -A FORWARD -m physdev --physdev-out eth0 --physdev-in ''!'' eth0 -j ACCEPT I have tried both ways. What could be wrong? Actually, there are no instructions on configuring Xen with dhcp and I could have missed something important. -- Regards, Andrew Pogrebennyk _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi All, I''ve recently persuaded one of my colleagues to buy my old Athlon XP 3000+ system that I use for running XEN. (Sucker! :-)) I''d like to replace it with an AM2 system so that I can do some experimentation with fully virtualised systems (Windows 2003, OpenBSD, etc.) Has anyone got any hardware recommendations for AM2 motherboards that they''ve used successfully with Xen? I''m going to pair it with a 3800+ X2 as they''ve plummetted in price since Intel announced their Core 2 Duo processors. Hurrah for competition! :-) Also, what''s the performance on the forcedeth network drivers for the NV5 chipset like? Can you get anywhere near gigabit speeds? I saw some benches a few weeks ago that put the broadcom chips as the best performing network chipsets under Linux. However, I''ve not seen any Am2 motherboards with onboard broadcom network controllers. Cheers, Steve. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Oakley
2006-Aug-15 14:54 UTC
Re: [Xen-users] AM2 Motherboard Hardware Recommendations
On Tuesday 15 August 2006 11:40 am, higgers wrote:> Has anyone got any > hardware recommendations for AM2 motherboards that they''ve used > successfully with Xen?I''m running on an Asus M2NPV-VM.> Also, what''s the performance on the forcedeth network drivers for the NV5 > chipset like? Can you get anywhere near gigabit speeds? I saw some > benches a few weeks ago that put the broadcom chips as the best performing > network chipsets under Linux. However, I''ve not seen any Am2 motherboards > with onboard broadcom network controllers.I haven''t done any benchmarking, but from what I understand, it would be quite difficult to get Intel/Broadcom performance. However, you can get PCI-E Broadcom NICs. We have one here. -- James Oakley Engineering - SolutionInc Ltd. joakley@solutioninc.com http://www.solutioninc.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Quoting James Oakley <joakley@solutioninc.com>:> On Tuesday 15 August 2006 11:40 am, higgers wrote: > > Has anyone got any > > hardware recommendations for AM2 motherboards that they''ve used > > successfully with Xen? > > I''m running on an Asus M2NPV-VM. >Which distribution and kernel version are you using? I''m planning on using SUSE 10.1.> > Also, what''s the performance on the forcedeth network drivers for the NV5 > > chipset like? Can you get anywhere near gigabit speeds? I saw some > > benches a few weeks ago that put the broadcom chips as the best performing > > network chipsets under Linux. However, I''ve not seen any Am2 motherboards > > with onboard broadcom network controllers. > > I haven''t done any benchmarking, but from what I understand, it would be > quite > difficult to get Intel/Broadcom performance. > > However, you can get PCI-E Broadcom NICs. We have one here. >I didn''t know you could get PCI-E broadcom NICs, thanks for the heads up. Did you have to jump through any hoops to get it to work under Linux like add options to kernel config file/patch kernel/etc?> -- > James Oakley > Engineering - SolutionInc Ltd. > joakley@solutioninc.com > http://www.solutioninc.com > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Oakley
2006-Aug-15 18:19 UTC
Re: [Xen-users] AM2 Motherboard Hardware Recommendations
On Tuesday 15 August 2006 12:22 pm, higgers wrote:> Quoting James Oakley <joakley@solutioninc.com>: > > On Tuesday 15 August 2006 11:40 am, higgers wrote: > > > Has anyone got any > > > hardware recommendations for AM2 motherboards that they''ve used > > > successfully with Xen? > > > > I''m running on an Asus M2NPV-VM. > > Which distribution and kernel version are you using? I''m planning on using > SUSE 10.1.I''m using SUSE 10.1 with updated kernel/xen packages from Factory (SUSE 10.2 Alpha).> I didn''t know you could get PCI-E broadcom NICs, thanks for the heads up. > Did you have to jump through any hoops to get it to work under Linux like > add options to kernel config file/patch kernel/etc?It should work out of the box. There''s no real difference between onboard and offboard nics, as far as Linux is concerned. -- James Oakley Engineering - SolutionInc Ltd. joakley@solutioninc.com http://www.solutioninc.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Randall Smith
2006-Aug-15 21:35 UTC
[Xen-users] Re: AM2 Motherboard Hardware Recommendations
I''m using an MSI K9N Platinum and Debian Etch. Randall James Oakley wrote:> On Tuesday 15 August 2006 12:22 pm, higgers wrote: > >>Quoting James Oakley <joakley@solutioninc.com>: >> >>>On Tuesday 15 August 2006 11:40 am, higgers wrote: >>> >>>>Has anyone got any >>>>hardware recommendations for AM2 motherboards that they''ve used >>>>successfully with Xen? >>> >>>I''m running on an Asus M2NPV-VM. >> >>Which distribution and kernel version are you using? I''m planning on using >>SUSE 10.1. > > > I''m using SUSE 10.1 with updated kernel/xen packages from Factory (SUSE 10.2 > Alpha). > > > >>I didn''t know you could get PCI-E broadcom NICs, thanks for the heads up. >>Did you have to jump through any hoops to get it to work under Linux like >>add options to kernel config file/patch kernel/etc? > > > It should work out of the box. There''s no real difference between onboard and > offboard nics, as far as Linux is concerned. >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users