larsks.21230602@bloglines.com
2006-Sep-19 13:06 UTC
[Xen-users] Providing dhcp for a "private" bridge?
Hello all, I''d like to create a "private" bridge -- that is, one that doesn''t include an external interface -- and provide DHCP services to Xen VMs attached to that bridge. Mostly, this works great; creating the bridge and the Xen VMs worked without a problem. Getting dhcp working has been a little more difficult. In dom0, "dummy0" is 192.168.100.1. I''d like dhcpd to listen on this interface, but dhcpd says: No subnet declaration for dummy0 (0.0.0.0). For whatever reason, dhcpd appears to be unable to deal with dummy interfaces. What are other folks doing in this situation? I could try assigning an IP directly to the bridge device, rather than using the dummy interface, but that strikes me as less than optimal (because it makes the bridge configuration unique). Thanks for your thoughts, -- Lars _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Henning Sprang
2006-Sep-19 18:00 UTC
Re: [Xen-users] Providing dhcp for a "private" bridge?
On 19 Sep 2006 13:06:24 -0000, larsks.21230602@bloglines.com> [...] > What are other folks doing in this situation? I could try assigning an > IP directly to the bridge device, rather than using the dummy interface, but > that strikes me as less than optimal (because it makes the bridge configuration > unique).Yeah, I am doing exactly this and it works quite nice (I don''t understand your "unique remark" right now). I only do this on my mobile development system, so if I had enough RAM and disk space, I''d just run an extra dhcp vm on the bridge. Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Katriel Traum
2006-Sep-20 05:53 UTC
Re: [Xen-users] Providing dhcp for a "private" bridge?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Let me guess, you''re using Fedora/RedHat. Their dhcpd is compiled without support for dummy interfaces. I started out by rebuilding the RPM with dummy interface support, but stopped after I got tired of chasing fedora''s dhcpd updates. I then turned to henning''s idea of a dhcp vm, using a minimal image that takes only 16M RAM and about twice the disk space. +Katriel larsks.21230602@bloglines.com wrote:> Hello all, > > > > I''d like to create a "private" bridge -- that is, one that doesn''t > include an external interface -- and provide DHCP services to Xen VMs attached > to that bridge. Mostly, this works great; creating the bridge and the Xen > VMs worked without a problem. > > > > Getting dhcp working has been a little more > difficult. > > > > In dom0, "dummy0" is 192.168.100.1. I''d like dhcpd to listen > on this interface, but dhcpd says: > > > > No subnet declaration for dummy0 (0.0.0.0). > > > > For whatever reason, dhcpd appears to be unable to deal with dummy interfaces. > > > > What are other folks doing in this situation? I could try assigning an > IP directly to the bridge device, rather than using the dummy interface, but > that strikes me as less than optimal (because it makes the bridge configuration > unique). > > > > Thanks for your thoughts, > > > > -- Lars > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users- -- Katriel Traum, PenguinIT RHCE, CLP Mobile: 054-6789953 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFFENdJDWy+Hv/461sRAnWVAJ0boGKVH+zm4fggj1H8JZcpUMoIogCgg5js z8HIH8hVxrbN6W/nOhudtCs=t6XX -----END PGP SIGNATURE----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users