Sudo sysctl -p sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE The last command must be added to the end of the /etc/rc.local file before the line exit 0 so that Network forwarding starts at startup. First, uncomment (remove the # at the beginning) line _forward=1 in the /etc/nf file. If you need to give access to the Network for local clients, then you have to do something else. Edit network settings in the /etc/network/interfaces file with text editor nano if you haven't already.Īt the end of the file, add the settings for the eth1 interface and save it (F2, Y, Enter).Īuto eth1 iface eth1 inet static address 192.168.0.1 netmask 255.255.255.0 In turn, eth1 looks into internal network and has a static IP address 192.168.0.1. Like last time, we will agree that the eth0 network interface automatically receives an IP address from the router and has Internet access. This is a lightweight DNS/DHCP/TFTP server that is great for network booting machines. In order to simplify your task and not mess around with installing and configuring various network services like a DHCP and TFTP server, we will use a more universal solution - dnsmasq. Network boot support must be enabled in the BIOS of client machines. As usual, we will need a car under running Ubuntu Server 11.10 with two network cards, which will act as a server. Well, this time we will create an analogue of multi-boot media, only we will boot not from a USB flash drive, but over the network using PXE. Remember, we once considered creating a universal USB “first aid kit” for emergency computer repair? In the last article, we got acquainted with network booting and the DRBL program. The editors of 3DNews are not responsible for any possible consequences. If you are going to reproduce the steps described below, we strongly advise you to carefully read the article to the end at least once. The material is provided for informational purposes only. We remind you that attempts to repeat the actions of the author can lead to the loss of the warranty for the equipment and even to its failure. PXE - load everything! We master multiboot over a local network.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |