Tag Archives: Static IP Address

Vyatta – Basic Configuration after installation

Vyatta is a routing/firewall/VPN platform based on a Debian GNU/Linux that runs on x86 or amd64 hardware and many virtual machine hypervisors. It is widely used in cloud infrastructure. It is appreciated by its robustness, reliability and the services it provides. Vyatta is more like IOS, JunOS and other enterprise platforms.

Scenario:

We’ll use the following scenario, to understand the basic configuration of vyatta.

vyatta

Booting the Vyatta:

After starting the Vyatta machine. It should go through the usual Linux boot process. Log in with the username vyatta and the password vyatta (or any other password that you have configured during the installation).

1

Read more of this post

Configure Mikrotik DHCP to assign ip address to only authorized client(s) {2nd Method}

To achieve the same goal, you can also consult this post and decide yourself that which method suit you better!

mikrotik

Scenario:

Mikrotik is working as dhcp, dns, and default gateway for local network.

Read more of this post

How to add static DNS in Ubuntu 12.04 LTS

Please refer to this tutorial for adding the static ip address in Ubuntu 12.04.

Ubuntu 12.04 use resolvconf(a set of scripts and hooks) instead of resolv.conf to manage DNS server. The most notable difference for the user is that any change manually done to /etc/resolv.conf will be lost as it gets overwritten next time something triggers resolvconf.

To add the static dns entries in resolv.conf file,edit /etc/resolvconf/resolv.conf.d/base:

sudo nano /etc/resolvconf/resolv.conf.d/base

Read more of this post

Configure Mikrotik DHCP to assign ip address to only authorized client(s)

Scenario:

Mikrotik is working as dhcp, dns, and default gateway for local network.

Extra Requirement:

Mikrotik only assign ip address(es) to authorized client(s) in our local network!

Here are the steps to achieve this requirement:

Connect to the Mikrotik router using it’s ip address through web browser:

Click on the button, select the ip address of Mikrotik, enter username and password, then click Connect:

IP —>DHCP Server

From the Leases tab, select the client(s), which are authorized to take ip address from Mikrotik router (in future) and then click Make Static:

Move to the DHCP tab and double-click on the DHCP Server and select the static-only from Address Pool drop down menu:

After that, only authorized client(s) will get ip address from Mikrotik. If you want that new client get an ip address from Mikrotik, then you can select the dhcp_pool1 from Address Pool drop down menu. After that Mikrotik will assign an ip address to new client, make this ip address to static (as described above) and select static-only again in order to disallow ip address assignment to unknown client(s).

Hope this will help you!

Please Remember me in your prayers!

Change Ubuntu Server from DHCP to a Static IP Address

First, we will check the ip address of our ubuntu server, which is assigned by DHCP server:

Let’s open up the /etc/network/interfaces file.

sudo nano /etc/network/interfaces

primary interface, normally eth0, contains these lines:

Currently, we are using dhcp, in order to change it from dhcp to static, then modify and add these lines:

We also need to edit the DNS settings by editing the resolv.conf file:

sudo nano /etc/resolv.conf

Add the appropriate server address after “name server

At the end, restart the networking components:

sudo /etc/init.d/networking restart

Check the new assigned ip address using ifconfig command:

Ping http://www.google.com. If you get a response, name resolution is working:

Hope this will help you!

Please Remember me in your prayers!