|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Xen + NAT + dhcp (static assignment using MAC)
On Fri, Jun 27, 2008 at 5:35 PM, Sang Oh < sangoh@xxxxxxxxx> wrote:
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 The easiest way to do nat is with shorewall. You need at least two interfaces. One for the external connection and the other interface bridged to your domU's
Chris
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|