--- a/README Thu Feb 26 15:05:04 2015 +0200
+++ b/README Thu Feb 26 15:05:18 2015 +0200
@@ -109,3 +109,29 @@
filename debian/wheezy/pxelinux.0;
}
+=== DHCP hosts in multiple subnets/domains ===
+A host with different interfaces in multiple domains must specify unique interface names:
+
+ [foo.dhcp]
+ [[asdf]]
+ ip = 10.1.0.1
+ ethernet.eth1 = 00:11:22:33:44:55
+
+ [bar.dhcp]
+ [[asdf]]
+ ip = 10.2.0.1
+ ethernet.eth2 = 55:44:33:22:11:00
+
+ $ bin/pvl.hosts-dhcp etc/hosts/dhcp2
+ host asdf-eth1 {
+ option host-name asdf;
+ hardware ethernet 00:11:22:33:44:55;
+ fixed-address 10.1.0.1;
+ }
+
+ host asdf-eth2 {
+ option host-name asdf;
+ hardware ethernet 55:44:33:22:11:00;
+ fixed-address 10.2.0.1;
+ }
+