[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Xen + NAT + dhcp (static assignment using MAC)


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Sang Oh" <sangoh@xxxxxxxxx>
  • Date: Fri, 27 Jun 2008 14:35:38 -0700
  • Delivery-date: Fri, 27 Jun 2008 14:36:13 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:mime-version:content-type; b=u8xIuBBlijCykKHdX4rAIe6Y8Hdzpc4nOPyqjvn5zob4pLRrwxcPXxrCfeG0ckVvB8 BhGT3Tz7wyyKSVWDykdGPpfezqXoYno1Crh8dZcaWl3SjhSYoiWqjrYFPrgQue9wwp7v gcjD/tLOSWo1FX2yXK1SXYJ+mloKSZKJC0HBU=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi,

I am using Xen packages that came with CentOS 5.
I am a noob at Xen, so please bear with me.
I tried the tutorials I found on the internet, but none of them seem to work for me.

GOAL: I want the domU machines to have local NATed network connection to the internet via some fixed IP address.

I had no luck trying to get static IPs to work.  (I can ping any machine on the internet, but DNS resolution never worked for me)

domU's getting an IP via dhcp works fine.  (internet connection works as supposed to)
But I am having trouble telling dnsmasq to assign a specific IP to a machine with a specific MAC address.
Here is what I've tried.

/etc/dnsmasq.conf
...snip...
dhcp-host=00:16:3e:4d:bc:30,192.168.122.11
...snip...

But this is being totally ignored.  Am I even modifying the relevant file?
Does dnsmasq handle all dhcp and dns requests from all domU's?

This is minor, but how do I change the network pool?
dhcp request wants to hand out 192.168.122.0 addresses, but I want to change this.

Any help will be appreciated!

Thanks!

--
Sang Oh
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.