From 3fbcd5310f9b132d4f757de80b6a9178c9a8159b Mon Sep 17 00:00:00 2001
From: "al0115@student.uni-lj.si"
We start our virtual machines simpleArbiterGW using the following login credentials; username: "root", password: "kaboom". - Prvo računalnik od NAT-a, kateri je vgrajen v VirtualBox dobi nek naslov (v našem primeru 10.0.2.15).(Da to preverimo uporabimo ukaz ifconfig) Preko tega IP naslova in vmesnika eth0 smo povezani v internet.
+ At the start, the computer on NAt get's it's IP(in our case 10.0.2.15).(to check this useifconfig) We now use this address and eth0 interface to access the internet.
However, we would like this machine to have 2 -interfaces! One on NAT(we already have this one), and the other one on Internal Network,preko katerega bomo komunicirali z DHCP Strežnikom ter ostalimi računalniki, ki bodo v našem Internal Network-u. +interfaces! One on NAT(we already have this one), and the other one on Internal Network,throuh which we will communicate wiht the DHCP Server and other machines on our Internal Network. We add a new interface, by turning off the virtual machine, select our machine in VirtualBox and select računalnik, ter v VirtualBoxu Settings -> Network @@ -209,8 +207,8 @@ Internal Network
So, now we have two network interfaces!In VirtuaBox we can define multiple Internal Networks, however, for our need's two will suffice. We save the settings and restart simpleArbiterGW. - Zdaj moramo oba omrežna vmesnika nastaviti tako, da bosta imela nek naslov. Uredimo datoteko interfaces v imeniku - /etc/network.
+ What we must do now, is to assign both interfaces IP addresses. We do this by setting theinterfacesfile + located at/etc/network.Eth0 was already handled by and integrated DHCP, so eth0 had been assigned an IP). We have to set up the other network interface. If we don't know it's name, we find it out using ifconfig -a.
@@ -219,12 +217,12 @@ will suffice. We save the settings and restart simpleArbiterGW. Now we would like to assign an IP naslov to Eth1. Ifconfig could be used, but rebooting the machine would reset the settings. Which is not ideal :) So configuring /etc/network/interfaces would be a better idea. - Izmislimo si eno naključno lokalno omrežje oz naslov lokalnega omrežja ter nastavimo eth1. + Let's make up a random local network or a local area network or local area network address and assign it to eth1. -Shranimo konfiguracijsko datoteko. Moj računalnik še nima IP-ja na eth1 zato uporabim ukaz ifup eth1
+We save the config file. Our machine still has no IP on eth1 so we use the ifup eth1 command
-Now ew use the ifconfig command, to see whether and ip is assigned to eth1 interface
+Now we use the ifconfig command, to see whether and ip is assigned to eth1 interface
We can see the IP is set. Now let's set up the DHCP Server!
-- cgit v1.2.1