Two domains @ one subnet DHCP

Hi Guys,

When I have a setup like the following and I set my host to use the
domain bar.domain.tld in this subnet it always fails at finishing my
install and it seems that the server is using foo.domain.tld:

subnet 192.168.100.0 netmask 255.255.255.0 {
range 192.168.100.10 192.168.100.200;
option routers 192.168.100.1;
option subnet-mask 255.255.255.0;
option domain-search "foo.domain.tld", "bar.domain.tld";
option domain-name "foo.domain.tld bar.domain.tld ";
option domain-name-servers 8.8.8.8;
}

what can cause this fallback or can we only use one domain per subnet ?

Some info would be great.

Thanks!

Matt

You can use more than one domain per subnet - they just need to be associated with that subnet. Not sure what version you are on ( 1.7 here ) when I setup a subnet
I can click to the next tab which shows me a list of domains I can associate with that network. Just ensure you select the correct domain when provisioning the host.
HTH

LukeK

··· > On Apr 27, 2015, at 10:03 AM, Matt . wrote: > > Hi Guys, > > When I have a setup like the following and I set my host to use the > domain bar.domain.tld in this subnet it always fails at finishing my > install and it seems that the server is using foo.domain.tld: > > subnet 192.168.100.0 netmask 255.255.255.0 { > range 192.168.100.10 192.168.100.200; > option routers 192.168.100.1; > option subnet-mask 255.255.255.0; > option domain-search "foo.domain.tld", "bar.domain.tld"; > option domain-name "foo.domain.tld bar.domain.tld "; > option domain-name-servers 8.8.8.8; > } > > what can cause this fallback or can we only use one domain per subnet ? > > Some info would be great. > > Thanks! > > Matt

Hi,

Yes that works fine but in some strange way it reverts back to the first
domain when installing the host.

I have one domain, domain.tld where my hosts are in like host.foo and
host.bar

··· Op maandag 27 april 2015 03:47:42 UTC+2 schreef lu...@kearney.jp: > > > > On Apr 27, 2015, at 10:03 AM, Matt . <yamaka...@gmail.com > > wrote: > > > > Hi Guys, > > > > When I have a setup like the following and I set my host to use the > > domain bar.domain.tld in this subnet it always fails at finishing my > > install and it seems that the server is using foo.domain.tld: > > > > subnet 192.168.100.0 netmask 255.255.255.0 { > > range 192.168.100.10 192.168.100.200; > > option routers 192.168.100.1; > > option subnet-mask 255.255.255.0; > > option domain-search "foo.domain.tld", "bar.domain.tld"; > > option domain-name "foo.domain.tld bar.domain.tld "; > > option domain-name-servers 8.8.8.8; > > } > > > > what can cause this fallback or can we only use one domain per subnet ? > > > > Some info would be great. > > > > Thanks! > > > > Matt > > > You can use more than one domain per subnet - they just need to be > associated with that subnet. Not sure what version you are on ( 1.7 here ) > when I setup a subnet > I can click to the next tab which shows me a list of domains I can > associate with that network. Just ensure you select the correct domain when > provisioning the host. > HTH > > LukeK