Hi, i configured a vif = [''mac=aa:00:00:00:01:08, bridge=xenbr0''] ip="192.168.0.11" netmask="255.255.255.0" gateway="192.168.0.1" in my xen config. As I boot, no network card gets up in my guest system. ifconfig -a shows me all network cards, but the ip isn''t being static. There are guests systems running which should not being able to change the ip adress. How do I get that? Thanks, Amin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
alessandro cunsolo
2007-Sep-26 12:32 UTC
Re: [Xen-users] Network VIFs in xen-3.1 guest do not start up
Hi, for changing ip, netmask and gateway have to change the /etc/network/interface file in guest machine, before start. Mount the disk.img file and modify the file for example auto eth0 iface eth0 inet static address 192.168.0.11 netmask 255.255.255.0 gateway 192.168.0.1 Next start the machine will work all. Regards. On 9/26/07, amin <amin@s7u.org> wrote:> > Hi, > > > > i configured a > vif = [''mac=aa:00:00:00:01:08, bridge=xenbr0''] > > ip="192.168.0.11" > netmask="255.255.255.0" > gateway="192.168.0.1" > > in my xen config. > > As I boot, no network card gets up in my guest system. > > ifconfig -a shows me all network cards, but the ip isn''t being static. > > There are guests systems running which should not being able to change > the ip adress. > > > How do I get that? > > > Thanks, > Amin > > _______________________________________________ > 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
Boudreau Luc
2007-Sep-26 13:44 UTC
RE: [Xen-users] Network VIFs in xen-3.1 guest do not start up
http://www.google.ca/search?q=linux+static+ip (;cD) -----Message d''origine----- De : xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] De la part de amin Envoyé : 26 septembre 2007 06:54 À : Xen-users@lists.xensource.com Objet : [Xen-users] Network VIFs in xen-3.1 guest do not start up Hi, i configured a vif = [''mac=aa:00:00:00:01:08, bridge=xenbr0''] ip="192.168.0.11" netmask="255.255.255.0" gateway="192.168.0.1" in my xen config. As I boot, no network card gets up in my guest system. ifconfig -a shows me all network cards, but the ip isn''t being static. There are guests systems running which should not being able to change the ip adress. How do I get that? Thanks, Amin _______________________________________________ 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
Hi, Is there a guide that explains how to get a network boot from domain-1 into domain-2 ? Rgds. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
No I don''t mean linux Dom0... i know that this is in /etc/network/interfaces by the way I''m using Debian Etch 4.0 My Problem was about the DomU / Guests for which i created a xen config file. As they start up they have a NIC but no IP/Netmask/gateway Information with it AND i don''t want to allow THEM to provide a IP. !!!It should be defined in the xen config file (like 2.0.6)!!! to prohibit them to change the IP / to cause damage by doing that. Thx, Amin> http://www.google.ca/search?q=linux+static+ip > > (;cD) > > -----Message d''origine----- > De : xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] De la part de amin > Envoyé : 26 septembre 2007 06:54 > À : Xen-users@lists.xensource.com > Objet : [Xen-users] Network VIFs in xen-3.1 guest do not start up > > Hi, > > > > i configured a > vif = [''mac=aa:00:00:00:01:08, bridge=xenbr0''] > > ip="192.168.0.11" > netmask="255.255.255.0" > gateway="192.168.0.1" > > in my xen config. > > As I boot, no network card gets up in my guest system. > > ifconfig -a shows me all network cards, but the ip isn''t being static. > > There are guests systems running which should not being able to change > the ip adress. > > > How do I get that? > > > Thanks, > Amin > > _______________________________________________ > 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 >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boudreau Luc
2007-Sep-26 16:29 UTC
RE: [Xen-users] Network VIFs in xen-3.1 guest do not start up
AFAIK, there is no way you can prevent them from changing it afterwards anyways. EVEN if you can autoconfigure the NIC, they will be able to change it''s config afterwards. Also, if you refer to the Xen manual for the version 3 branch, there are no directive of that sort included in the config files syntax. Someone might correct me on that matter though... -----Message d''origine----- De : xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] De la part de amin Envoyé : 26 septembre 2007 12:23 À : xen-users@lists.xensource.com Objet : Re: [Xen-users] Network VIFs in xen-3.1 guest do not start up No I don''t mean linux Dom0... i know that this is in /etc/network/interfaces by the way I''m using Debian Etch 4.0 My Problem was about the DomU / Guests for which i created a xen config file. As they start up they have a NIC but no IP/Netmask/gateway Information with it AND i don''t want to allow THEM to provide a IP. !!!It should be defined in the xen config file (like 2.0.6)!!! to prohibit them to change the IP / to cause damage by doing that. Thx, Amin> http://www.google.ca/search?q=linux+static+ip > > (;cD) > > -----Message d''origine----- > De : xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] De la part de amin > Envoyé : 26 septembre 2007 06:54 > À : Xen-users@lists.xensource.com > Objet : [Xen-users] Network VIFs in xen-3.1 guest do not start up > > Hi, > > > > i configured a > vif = [''mac=aa:00:00:00:01:08, bridge=xenbr0''] > > ip="192.168.0.11" > netmask="255.255.255.0" > gateway="192.168.0.1" > > in my xen config. > > As I boot, no network card gets up in my guest system. > > ifconfig -a shows me all network cards, but the ip isn''t being static. > > There are guests systems running which should not being able to change > the ip adress. > > > How do I get that? > > > Thanks, > Amin > > _______________________________________________ > 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 >_______________________________________________ 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
John Leach
2007-Sep-26 16:49 UTC
Re: [Xen-users] Network VIFs in xen-3.1 guest do not start up
Hi Amin, you can use ebtables on dom0 to filter arp packets. The guest will still be able to change the IP, but you prevent them from sending arp replies for anything but their allowed IP address. John -- http://www.brightbox.co.uk - UK Rails Xen Hosting On Wed, 2007-09-26 at 18:23 +0200, amin wrote:> No I don''t mean linux Dom0... > > i know that this is in /etc/network/interfaces > > by the way I''m using Debian Etch 4.0 > > > My Problem was about the DomU / Guests for which i created a xen config > file. > > As they start up they have a NIC but no IP/Netmask/gateway Information > with it AND > i don''t want to allow THEM to provide a IP. > > > > !!!It should be defined in the xen config file (like 2.0.6)!!! > to prohibit them to change the IP / to cause damage by doing that._______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users