diff --git a/dhcpd.conf b/dhcpd.conf new file mode 100644 index 0000000..0772125 --- /dev/null +++ b/dhcpd.conf @@ -0,0 +1,19 @@ +# requires isc-dhcp-server package +# + +allow booting; + +subnet 192.168.0.0 netmask 255.255.255.0 { + range 192.168.0.3 192.168.0.253; + option broadcast-address 192.168.0.255; + option routers 192.168.0.1; + option domain-name-servers 192.168.0.1; + filename "ZMIENNAZWEPLIKUPXE.0"; +} + +group { + next-server 192.168.0.2; + host tftpclient { + filename "ZMIENNAZWEPLIKUPXE.0"; + } +} diff --git a/interfaces b/interfaces new file mode 100644 index 0000000..035af4c --- /dev/null +++ b/interfaces @@ -0,0 +1,25 @@ +auto lo +iface lo inet loopback + +# Make sure that these are assigned to right VBox network cards + +# NAT +auto eth0 +allow-hotplug eth0 +iface eth0 inet dhcp + +# Internal network +auto eth1 +allow-hotplug eth1 +iface eth1 inet static + address 192.168.0.1 + netmask 255.255.255.0 + broadcast 192.168.0.255 + gateway 10.0.2.15 + +# Host-only +auto eth2 +allow-hotplug eth2 +iface eth2 inet static + address 192.168.56.123 + netmask 255.255.0.0