Sunday, May 18, 2008

JunOS OLIVE & GNS3

As GNS3 team is planning to add JunOS OLIVE in GNS3 , which is an exiting news for all of us.

But as an interim solution i would like to discuss the procedure by which i got success in creating point to point Ethernet connection between JunOS Olive instance running on my PC & CISCO router instance in GNS3, the procedure is very simple. I already have the JunOS Olive installed in my PC and you guys can get the installation procedure from my previous post http://tclteam.blogspot.com/2008/05/how-to-make-olive-alive.html

1.) I started my JunOS olive from command prompt. I change the directory to qemu and type "jqemu.exe -L . -m 256 -hda Olive.img -serial telnet::1002,server -localtime -net nic,vlan=1,macaddr=00:aa:00:00:01:01,model=i82559er -net nic,vlan=1,macaddr=00:aa:00:00:01:03,model=i82559er -vnc :1 -usbdevice tablet -net tap,vlan=1,ifname=Tap1" . My JunOS olive has two fxp0 interface and JunOS has the interface with Tap1 interface which is in vlan1.

2.) For accessing the JunOS Olive, i will do telnet to 127.0.0.1 at 1002 port.

3.) Now i need to start the GNS3. I have added a CISCO 3600 series router & a netwrok cloud.

4.) I have configure the cloud and defined the Tap1 interface in it.





5.) I have selected the Tap1 interface and now i create an ethernet link between N/W cloud and CISCO in GNS3. Also i started my CISCO in GNS3.


6.) I did telnet to my CISCO router in order to assign IP to f0/0 interface. The IP I gave to the interface is 10.1.13/8.


7.) I also assigned IP address to fxp0 interface of my JunOS olive. IP address given to the interface was 10.1.1.2/8.


When I ping from my JunOS olive, i got success.

root@OLIVE_QEMU> ping 10.1.1.3 count 5
PING 10.1.1.3 (10.1.1.3): 56 data bytes
64 bytes from 10.1.1.3: icmp_seq=0 ttl=255 time=53.654 ms
64 bytes from 10.1.1.3: icmp_seq=1 ttl=255 time=8.110 ms
64 bytes from 10.1.1.3: icmp_seq=2 ttl=255 time=2.306 ms
64 bytes from 10.1.1.3: icmp_seq=3 ttl=255 time=3.205 ms
64 bytes from 10.1.1.3: icmp_seq=4 ttl=255 time=7.087 ms

--- 10.1.1.3 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max/stddev = 2.306/14.872/53.654/19.516 ms

Similar was the case from CISCO running inside GNS3.

CISCO#ping 10.1.1.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/15/40 ms

1 comment:

Unknown said...

how to step-2 if we want connecting 3 interface on cisco to 3 interface also at olive junos...please help me..thanks