From 8bad4c041b3fa583444bce5b39ae09f74251e4aa Mon Sep 17 00:00:00 2001
From: "al0115@student.uni-lj.si"
So, now we have two network interfaces!In VirtuaBox -we can define multiple Internal Networks, however, for our need's two +we can define multiple Internal Networks, however, for our needs two will suffice. We save the settings and restart simpleArbiterGW. What we must do now, is to assign both interfaces IP addresses. We do this by setting theinterfacesfile located at/etc/network.
@@ -91,7 +91,7 @@ will suffice. We save the settings and restart simpleArbiterGW. Server!We download simpleArbiterDhcp.vdi ter zaženemo VirtualBox. Ko je datoteka prenesena v VirtualBoxu izberemo New ter v polje Name vpišemo DHCP Server.Ustrezno nastavimo tudi Memory size (1gb pomnilnika nam bo zadostovalo). Spodaj izberemo še "Use an existing virtual hard drive file" ter izberemo naš simpleArbiterDhcp in pritisnimo Create.
+We download simpleArbiterDhcp.vdi and start VirtualBox. After the file had been dowloaded we select New in VirtualBoxu and unde rthe Name tag write DHCP Server.We set the Memory size accordingly(1gb of memory should be sufficient). We also select "Use an existing virtual hard drive file" and select the simpleArbiterDhcp and press Create.
We run DHCP Server virtual machine and login using "root" ad username and "kaboom" as password. @@ -105,7 +105,7 @@ Server!
We got it! We install DHCP server using apt-get install isc-dhcp-server
We see a bunch of errors. Why? Bacause, we have no internet access!
- We need to specify the Gateway for our inteface. Our Gateway bo seveda IP našega simpleArbiter navideznega računalnika. To naredimo s pomočjo ukaza route add default gw 192.168.251.1 eth0
Try pinging Google's DNS server at 8.8.8.8, to check if now have internet access. We do this using the ping 8.8.8.8 command.
@@ -127,14 +127,14 @@ Server!Then we configure DHCP server, so it would serve IPs a a certain subnet. We add the following lines:
-(subnet) We set the subnet and the IP range, which the DHCP server should use, and which file it should serve.
Some PXEs are so unintelligent, that you should specify where they should get the files from and to do that you specify next-server (IP from which it will be served from, in our case simpleArbiter), we also specify gateway, which, in our case is also simpleArbiter.Ker bi radi, da v primeru zagona navideznega računalnika BootableClient B serviramo drugo datoteko, to naredimo tako da definiramo nek dodaten host na sledeč način:(host special) Pod hardware ethernet zapišemo MAC naslov našega BootableClient B katerega bo imel, dodelimo mu nek statičen ip naslov ter povemo še iz kje se naj datoteka live-ISO zažene. -We save the settings and kill terthe process with ubijemo named dnsmasqusingkilall dnsmasq.
+(subnet) We set the subnet and the IP range, which the DHCP server should use, and which file it should serve.
Some PXEs are so unintelligent, that you should specify where they should get the files from and to do that you specify next-server (IP from which it will be served from, in our case simpleArbiter), we also specify gateway, which, in our case is also simpleArbiter.Since we would like, that in the case of BootableClient B another file to be served, we do it by defining a special host like this:(host special) Under hardware ethernet we specifiy MAC address of our BootableClient B, we assign it a static ip and where the file live-ISO is located. +We save the settings and kill the process named dnsmasqusingkilall dnsmasq.
-Sledi restart našega DHCP strežnika, da bo deloval z novimi nastavitvami, to naredimo z ukazom service isc-dhcp-server restartDHCP server is now ready! We supply BootableClientA and BootableClientB and test them!
+We restart our DHCP server, to apply the new settings. This is done using service isc-dhcp-server restart command. DHCP server is now ready! We supply BootableClientA and BootableClientB and test them!
-We open VirtualBox and select New, for the y +
We open VirtualBox and select New, for the Name field we specify BootableClient A and for the Hard drive we select Do not add a virtual @@ -144,7 +144,7 @@ We want the computer to be on Internal network so vse select our A and select Settings->Network where we change Adapter 1 to Internal Network.
-We also wan our computer to boot through network, so +
We also want our computer to boot through the network, so underBoot Ordertab select Network. We save the setting by clicking OK
-- cgit v1.2.1