JunOS VirtualBox GNS3

April 05, 2014
 This is the Step 2 in our GNS3 Lab with JunOS, Quagga and Cisco router.

I have tried different tutorial posted in other blogs. I've never found any tutorial  work until now. Every-time I stuck at the middle of the tutorials.  In this blog post, I'll show you how to install JunOS in VBox and later I'll integrate it into GNS3 lab.

I have take Olive12.1R1.9.img, I know you're smart to get it from the Internet. Lets begin the installation of JunOS. Before that, convert the JunOS image into Vbox vdi Image.

For easy installation and to avoid error during this tutorial, enter into the JunOS folder, in my case.

This tutorials assume that you have already install GNS3 and VBox.


Step 1

Prepare JunOS for VBox.
C:\Users\jpudasaini\Desktop\jun>"C:\Program Files\Oracle\VirtualBox\VBoxmanage" convertdd Olive12.1R1.9.img Olive12.1.R1.9.vdi
Its take time to convert the image, wait for few minute depends on your PC configuration.

Now go to the jun folder you can see Olive12.1R1.9.vdi image is created.

Step 2
  • Open VBox and create New Virtual Machine and give any name choose BSD then FreeBSD.
  • On next window choose at least 512MB RAM, click next.
  • Now its important step, while choosing Hard Drive in this step select "Use an existing virtual hard drive file". Then locate previous created vdi file. In my case "c:\user\jpudasaini\Desktop\jun\Olive12.1R1.9.vdi"
  • Its time to open GNS3>Edit>Preferences>VirtualBox>VirtualBox Guest
  1. Identifier name: Juniper
  2. VM List:- JunOS(In this step you may not seen any VBox OS just click "Refresh VM List"
  3. Click "save" and go the GNS3 main window, 

Add VirtualBox Guest in GNS3 working area. Becareful in this step, don't run guest OS from VBox, just run it from GNS3 Working enviroment area, right clicking and start.
  • To login to router console just right click JunOS and choose"console" now you can login to router console with ID "root" no password.


Your JunOS router is ready to used.


Enjoy! :)

Ubuntu Password Reset

February 18, 2014

Often I've forgotten Ubuntu password, this is the most occurring issue with me. Every-time I have to search Google how to reset the password on Ubuntu. So I decide to make notes for myself.

Here is the step how I reset the password.

First of all reboot Ubuntu and choose recovery mode from console. After that you may see "Recovery menu", just choose "root Drop to root shell prompt".

Now you are in a shell prompt, then use following command to change the password.


 #ls /home (this will show your home directory's username)
#mount -rw -o remount /
#passwd (username)
Enter new UNIX password:
Retype new UNIX password:
passwd Password updated successfully
#reboot

After wards you can use new password to login to ubuntu. Tested in Ubuntu server 14.04.

Cisco Router a DHCP Server

January 20, 2014
Here is the procedure how to run your Cisco Router as DHCP server.

A small topology how to configure DHCP server in Cisco Router.
Now use the following command to configure the Router running as DHCP server. Then verify from the PC connected to that interface.


You can copy following command  and paste into your Router

******output omitted ********
!
!
!
!
ip dhcp excluded-address 192.168.10.1
!
ip dhcp pool test
 network 192.168.10.0 255.255.255.0
 default-router 192.168.10.1
 dns-server 8.8.8.8
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
 ip address 192.168.10.1 255.255.255.0

550 Access denied Invalid HELO name

January 12, 2014
On your outlook express while sending the emails and you get following error.
Cannot send the message. Verify the e-mail address in your account properties. The server responded: 550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1)

Follow below procedure to solved the issue. 
1. Click Tools>Account
2. Select"View or change existing e-mail accounts" and click next
3. Select desire email account and click change
4. Click on "More Settings" at bottom of the page
5. Select on "Outgoing server" tab
6. Check "My outgoing server (SMTP) requires Authentication"
7. Select "use same settings as my incoming email server"
8. Click "Ok"
9. Press Next and Finished