Hello! First: I’m new with xen, so please be clement with me ;) I run xen 3.2 on ubuntu 8.04 with debian and ubuntu guests. After starting a domU, ist eth0 is down and have no settings. My domU-config (the network-part): vif=[ "mac=00:16:3E:7A:6D:EB" ] dhcp="off" ip="10.0.0.197" netmask="255.255.255.0" gateway="10.0.0.254" hostname="vs097.fh-stpoelten.ac.at" When I set the ip manually inside the guests /etc/network/interfaces, or with ifconfig, it works without any problems. What could be wrong, that the guests don’t get the network-settings from their config-file? regards, Klaus -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sun, Aug 17, 2008 at 7:15 PM, Temper Klaus <Klaus.Temper@fh-stpoelten.ac.at> wrote:> Hello! > > First: I''m new with xen, so please be clement with me ;) > > > > I run xen 3.2 on ubuntu 8.04 with debian and ubuntu guests. > > After starting a domU, ist eth0 is down and have no settings. > > My domU-config (the network-part): > > vif=[ "mac=00:16:3E:7A:6D:EB" ] > > dhcp="off" > > ip="10.0.0.197" > > netmask="255.255.255.0" > > gateway="10.0.0.254" > > hostname="vs097.fh-stpoelten.ac.at" > > > > When I set the ip manually inside the guests /etc/network/interfaces, or > with ifconfig, it works without any problems. >As far as I understand this is the expected behavior.> > > What could be wrong, that the guests don''t get the network-settings from > their config-file? > >As far as I know, the guests are not able to be configured with this network settings from the config file. Maybe these network settings are used in special cases, such as for network boot and the like... Can someone clarify that point? Thanks, Todd -- Todd Deshane http://todddeshane.net check out our book: http://runningxen.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 8/18/08, Todd Deshane <deshantm@gmail.com> wrote:> On Sun, Aug 17, 2008 at 7:15 PM, Temper Klaus > <Klaus.Temper@fh-stpoelten.ac.at> wrote: >> Hello! >> >> First: I''m new with xen, so please be clement with me ;) >> >> >> >> I run xen 3.2 on ubuntu 8.04 with debian and ubuntu guests. >> >> After starting a domU, ist eth0 is down and have no settings. >> >> My domU-config (the network-part): >> >> vif=[ "mac=00:16:3E:7A:6D:EB" ] >> >> dhcp="off" >> >> ip="10.0.0.197" >> >> netmask="255.255.255.0" >> >> gateway="10.0.0.254" >> >> hostname="vs097.fh-stpoelten.ac.at" >> >> >> >> When I set the ip manually inside the guests /etc/network/interfaces, or >> with ifconfig, it works without any problems. >> > > As far as I understand this is the expected behavior. > >> >> >> What could be wrong, that the guests don''t get the network-settings from >> their config-file? >> >> > > As far as I know, the guests are not able to be configured with this > network settings > from the config file. > > Maybe these network settings are used in special cases, such as for network > boot > and the like... Can someone clarify that point?http://osdir.com/ml/os.netbsd.ports.xen/2006-03/msg00097.html> > > Thanks, > Todd > > -- > Todd Deshane > http://todddeshane.net > check out our book: http://runningxen.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
> http://osdir.com/ml/os.netbsd.ports.xen/2006-03/msg00097.html >So, according to that post: "If you have an IP address in your domU config AND you have configured xen with ''antispoof=yes'', then packets are bridged only from this ip address. You can still setup up the domU with a different ip address internally, then, but if you do it does not have network connectivity." What about netmask, gateway, and hostname? When would have an effect? Cheers, Todd -- Todd Deshane http://todddeshane.net check out our book: http://runningxen.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello! Thanks for the answers. I found the problem: The kernel has to be compiled with CONFIG_IP_PNP to enable the automatic network settings. Then IP, Netmask, Gateway, ... will set from config-file (as long, there is no extra setting in domU’s /etc/network/interfaces for eth0) “grep IP_PNP /boot/config-2.6.<your-dist>-xen” shows you if it is set. regards, Klaus -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users