-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added slices of isc-dhcp-server config and proposed /etc/network/inte…
…rfaces
- Loading branch information
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |