Posts

Showing posts from July 9, 2017

Setup DHCP Server on Linux

Image
How to configure dhcp server in Linux DHCP, or  Dynamic Host Configuration Protocol,  allows an administrator to configure network settings for all clients on a central server. The DHCP clients request an IP address and other network settings from the  DHCP server  on the network. The  DHCP server  in turn leases the client an IP address within a given range or leases the client an IP address based on the MAC address of the client's network interface card (NIC). The information includes its IP address, along with the network's name server, gateway, and proxy addresses,including the netmask. Nothing has to be configured manually on the local system, except to specify the  DHCP server  it should get its network configuration from. If an IP address is assigned according to the MAC address of the client's NIC, the same IP address can be leased to the client every time the client requests one. DHCP makes network administration easier and less prone to error. Ex

Use Your Linux Computer As a Router

Image
How to use Linux as router In this article I will show you that how can you use Linux as a router. Routers are the devices those are used to connect two different networks. Routers are very costly devices. Linux could be a cost effective solution of routing in a small company. Exam question Your system is going use as a router for 192.168.0.0/24 and 192.168.1.0/24. Enable the IP forwarding. Linux as a Router In this practical we are using three computers. One Linux system will be use for routing and reset two will remain in two different networks. First we will configure the system which is going to play the role of router. How to create virtual LAN card Configure server system You need two LAN card for routing between two networks or you can create virtual LAN card instead of deploying them physically. To create virtual Ethernet card change directory to  /etc/sysconfig/network-scripts ifcfg-eth0  is the necessary script file for Ethernet 0. Copy this fil