It is currently Sat Nov 25, 2017 3:34 am


All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: XRv/GNS3/Mac
PostPosted: Fri Feb 28, 2014 7:57 pm 
Offline

Joined: Fri Feb 28, 2014 7:52 pm
Posts: 4
Hi,

I am attempting to use XRv in GNS3 on Mac and i'm running into an issue when i try to console. The VM appears to be working properly but when i go to console i get the following error in my terminal:

216-163-237-24:~ computer$ echo -n -e "\033]0;XRv2\007"; telnet %h %p
%h: nodename nor servname provided, or not known

I would guess that the problem is telnet isn't specifying the host/port but I don't know a ton about GNS3 and i'm hoping someone can point me in the right direction.

Thanks!




Top
 Profile  
 
 Post subject: Re: XRv/GNS3/Mac
PostPosted: Sun Mar 02, 2014 9:29 pm 
Offline

Joined: Fri May 13, 2011 10:35 pm
Posts: 83
Location: Seattle, WA (USA)
Have you tried the netcat method? http://forum.gns3.net/topic8117.html

_________________
http://binarynature.blogspot.com/search/label/GNS3


Top
 Profile  
 
 Post subject: Re: XRv/GNS3/Mac
PostPosted: Mon Mar 03, 2014 8:58 pm 
Offline

Joined: Fri Feb 28, 2014 7:52 pm
Posts: 4
I followed those instructions however the file path is too long for me to fully get the information (there is no option to scroll when I click on the field):

Image


Top
 Profile  
 
 Post subject: Re: XRv/GNS3/Mac
PostPosted: Mon Mar 03, 2014 10:36 pm 
Offline

Joined: Fri May 13, 2011 10:35 pm
Posts: 83
Location: Seattle, WA (USA)
I would recommend you change the VBoxwrapper working directory to something other than the default /tmp directory. For example, /Users/Mud/Documents/GNS3/tmp. It will make it easier for you to browse the contents in the GUI.

To solve your immediate issue of finding the pipe file, run the following command from the terminal:
Code:
find /private/tmp -iname 'pipe_XRv*'

_________________
http://binarynature.blogspot.com/search/label/GNS3


Top
 Profile  
 
 Post subject: Re: XRv/GNS3/Mac
PostPosted: Tue Mar 04, 2014 10:01 pm 
Offline

Joined: Fri Feb 28, 2014 7:52 pm
Posts: 4
Thanks a bunch for taking the time to try and help me, i really appreciate it!

Oddly enough that is the exact path my working directory is set to:

Image

When i run the command you suggested i get the following results:

Code:
find: /private/tmp/launchd-349.lDGeG9: Permission denied
find: /private/tmp/launchd-360.mc18sm: Permission denied


I'm not sure what it means, but i AM an administrator on this computer.


Top
 Profile  
 
 Post subject: Re: XRv/GNS3/Mac
PostPosted: Wed Mar 05, 2014 6:44 pm 
Offline

Joined: Fri May 13, 2011 10:35 pm
Posts: 83
Location: Seattle, WA (USA)
Cool. Then all you need to do is change the path value for the command:
Code:
find $HOME/Documents/GNS3/Tmp -iname 'pipe_XRv*'

The find command should output the fully qualified path for the file. You would then use that as the value for the nc command. For example, it may look something like this:
Code:
nc -U /Users/Mud/Documents/GNS3/Tmp/*y34lxmz64cy6bfjk/T/GNS3_Jgk0Ny/working/pipe_XRv

Alternatively, you can also research the GNS3 VirtualBox console server (for remote access) feature. I've never used it myself.

FYI: If you aren't tied to VirtualBox, I have multiple VMware Fusion w/ GNS3 posts on my blog (listed in my sig block) that will get you on your way. I currently have Cisco IOS XRv running in multiple GNS3 labs with seamless integration.

_________________
http://binarynature.blogspot.com/search/label/GNS3


Last edited by mweisel on Thu Mar 06, 2014 11:58 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: XRv/GNS3/Mac
PostPosted: Thu Mar 06, 2014 7:19 pm 
Offline

Joined: Fri Feb 28, 2014 7:52 pm
Posts: 4
Ohh man, goin to your blog now! VMWare Fusion is my preference (not that i'm any better w/that than VirtualBox). Thanks for the tip!




Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO