Vyatta dhcp server with 2 network cards (eth0 & eth1), eth0 is connected to Internet, while eth1 is connected to the LAN and serve as dhcp server for 10.10.10.0/24 subnet.
Configuring the LAN–facing Ethernet interface:
Connect to the Vyatta Firewall, then enter the configuration mode and list the configuration of eth1 interface(which will serve the ip address(es) to the LAN hosts):
configure show interfaces ethernet eth1
Out of the box the Vyatta Firewall will sync to Vyatta’s NTP server pool. It really important to set your NTP server address to the standard time sources for your organization and delete the default NTP server.
Reason:This will make it easier to correlate the Vyatta logs with logs from other systems that are receiving time from the same NTP source. A difference of a few seconds sometime can make it very difficult to compare the logs of separate systems.
By default, Vyatta set its internal clock in Universal time (UTC) a.k.a GMT:
Before proceeding, verify that the Vyatta Firewall synchronize with default NTP server:
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.
We’ll use the following scenario, to understand the basic configuration of 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).
In this tutorial, we’ll check that how to restore an image of a hard drive using the Clonezilla, that we have created in the Part-1 and stored it on the SSH Server.
Note: One of Clonezilla’s “Limitations” is that the destination disk must be the same size or larger than the source disk that we have been cloned, so make sure that the destination disk must be the same size or larger.
To restore an image of a hard drive, boot the system from the Clonezilla Live CD and follow the exact same procedure from step 1 to until step 15, that we have performed in Part-1.
1) On step 16, select the “restoredisk” option and press ENTER:
In the first part, we have created the Clonezilla image and store it on SSH Server. In this part, we’ll create the autorun recovery Clonezilla live DVD from that image.
Note: You need to go through the same process again from step 1 to until step 15, that we have performed in Part-1.
1) Select the “recovery-iso-zip” and press ENTER:
The scenario is really simple, in which I want to backup my Ubuntu server using the “CloneZilla Live” and also want to store it on another server which has an ip address of 192.168.179.141. If you want to learn more about CloneZilla, please visit this link.
Let’s start the tutorial by inserting the CloneZilla Live CD into the server that you want to backup and boot from it.
1) At first, CloneZilla Live comes up with this screen just press ENTER:
If you are using PuTTY to interact with your Linux Server(s) for extensive period of time and are frustrated due to disconnecting, when the SSH session turns idle for a certain amount of time (usually ~10 min). To overcome this problem, just use the keepalive feature of PuTTY!
Click on the Connection and enter the 30 (or whatever value which indicates the number of seconds) in Seconds between keepalives (0 to turn off) text box.
You are done, from now onward, the keepalive feature will prevent your SSH session from disconnecting.
Hope this will help you!
Please Remember me in your prayers!
This tutorial will explain you that how we can install Cisco AnyConnect Client or Cisco VPN Client on Ubuntu 12.04 LTS.
First,updates the local repository information:
sudo apt-get update
After that, try to install these packages:
sudo apt-get install ia32-libs
In this tutorial, I am using the CentOS6(I believe that its also applicable on other Linux distro but didn’t try yet) that has ext4 partition lv_root mounted as / and lv_swap as swap from the volume group vg_centos6 (which is default), that has two hard drives (66GB & 25GB). Due to some reasons, I want to remove the 25GB hard drive from my computer and want to add new 50 GB hard drive. Before, removing the hard drive from the computer, we need to resize the lv_root, then remove it from volume group and at the end from the physical volume.
WARNING: It’s really dangerous, so backup your data before attempting this. Please don’t blame me, if you destory your system. You are responsible for your own actions!
Check the size of lv_root before starting this process: