It is currently Wed Dec 12, 2018 7:33 am


All times are UTC




Post new topic Reply to topic  [ 71 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Author Message
 Post subject: Re: Cisco IOS XRv Software
PostPosted: Sun Mar 02, 2014 4:32 am 
Offline

Joined: Thu Feb 13, 2014 12:16 pm
Posts: 4
Location: Portugal
nguyen_vuptit wrote:
After removing and reconnecting , When I connect port e1 of IOSXRv to g0/0 of IOS 7200, I see network interface of virtual box change generic driver , UDP Tunnel. I can not ping between IOSXrv with IOS 7200.Please help me about this problem.


Yes I also noticed it.
And one other thing: If VirtualBox is not conected to GNS3 it does not happens. The interfaces do not change unless connected to GNS3.
I already reported in another forum, but here is what I discovered:

The "ping problem" doesn't seem to be a VirtualBox problem. I have a VM running XRv with 8 interfaces.
I used the following commands to create the extra 4 NICs and to configure the existing 4:

VBoxManage modifyvm "CISCO XRv 2" --nic1 hostonly --nictype1 82545EM --cableconnected1 on --hostonlyadapter1 "VirtualBox Host-Only Ethernet Adapter"
VBoxManage modifyvm "CISCO XRv 2" --nic2 hostonly --nictype2 82545EM --cableconnected2 on --hostonlyadapter2 "VirtualBox Host-Only Ethernet Adapter"
VBoxManage modifyvm "CISCO XRv 2" --nic3 hostonly --nictype3 82545EM --cableconnected3 on --hostonlyadapter3 "VirtualBox Host-Only Ethernet Adapter"
VBoxManage modifyvm "CISCO XRv 2" --nic4 hostonly --nictype4 82545EM --cableconnected4 on --hostonlyadapter4 "VirtualBox Host-Only Ethernet Adapter"
VBoxManage modifyvm "CISCO XRv 2" --nic5 hostonly --nictype5 82545EM --cableconnected5 on --hostonlyadapter5 "VirtualBox Host-Only Ethernet Adapter"
VBoxManage modifyvm "CISCO XRv 2" --nic6 hostonly --nictype6 82545EM --cableconnected6 on --hostonlyadapter6 "VirtualBox Host-Only Ethernet Adapter"
VBoxManage modifyvm "CISCO XRv 2" --nic7 hostonly --nictype7 82545EM --cableconnected7 on --hostonlyadapter7 "VirtualBox Host-Only Ethernet Adapter"
VBoxManage modifyvm "CISCO XRv 2" --nic8 hostonly --nictype8 82545EM --cableconnected8 on --hostonlyadapter8 "VirtualBox Host-Only Ethernet Adapter"

-> CISCO XRv 2 is the name of my virtual machine. The extra 4 NICs MUST be configured in command line as there is no way to configure it in the GUI.

I could ensure that they where configured using the command VBoxManage showvminfo "CISCO XRv 2" . The result was:


NIC 1: MAC: 0800278366BB, Attachment: Host-only Interface 'VirtualBox Host-Only Ethernet Adapter', Cable connected: on, Trace: off (file: none), Type: 82545EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 2: MAC: 0800272E4A44, Attachment: Host-only Interface 'VirtualBox Host-Only Ethernet Adapter', Cable connected: on, Trace: off (file: none), Type: 82545EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 3: MAC: 080027899027, Attachment: Host-only Interface 'VirtualBox Host-Only Ethernet Adapter', Cable connected: on, Trace: off (file: none), Type: 82545EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 4: MAC: 0800271F845C, Attachment: Host-only Interface 'VirtualBox Host-Only Ethernet Adapter', Cable connected: on, Trace: off (file: none), Type: 82545EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 5: MAC: 08002720F078, Attachment: Host-only Interface 'VirtualBox Host-Only Ethernet Adapter', Cable connected: on, Trace: off (file: none), Type: 82545EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 6: MAC: 080027A9FC82, Attachment: Host-only Interface 'VirtualBox Host-Only Ethernet Adapter', Cable connected: on, Trace: off (file: none), Type: 82545EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 7: MAC: 0800272931C2, Attachment: Host-only Interface 'VirtualBox Host-Only Ethernet Adapter', Cable connected: on, Trace: off (file: none), Type: 82545EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 8: MAC: 08002744A6C0, Attachment: Host-only Interface 'VirtualBox Host-Only Ethernet Adapter', Cable connected: on, Trace: off (file: none), Type: 82545EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
(I just copied the network part of the result to keep it short)

Now for the strange part: If I start the VM from inside GNS3 and I stop it the result I get from the same command is:

NIC 1: disabled
NIC 2: disabled
NIC 3: disabled
NIC 4: disabled
NIC 5: disabled
NIC 6: disabled
NIC 7: disabled
NIC 8: disabled

When I restart it again from inside GNS3 then the result is:


NIC 1: MAC: 0800278366BB, Attachment: Generic 'UDPTunnel' { dest='127.0.0.1', dport='20916', sport='20917' }, Cable connected: on, Trace: off (file: none), Type: 82545EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 2: MAC: 0800272E4A44, Attachment: Generic 'UDPTunnel' { dest='127.0.0.1', dport='20918', sport='20919' }, Cable connected: on, Trace: off (file: none), Type: 82545EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 3: MAC: 080027899027, Attachment: Generic 'UDPTunnel' { dest='127.0.0.1', dport='10010', sport='20910' }, Cable connected: on, Trace: off (file: none), Type: 82545EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 4: MAC: 0800271F845C, Attachment: Generic 'UDPTunnel' { dest='127.0.0.1', dport='10011', sport='20911' }, Cable connected: on, Trace: off (file: none), Type: 82545EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 5: MAC: 08002720F078, Attachment: Generic 'UDPTunnel' { dest='127.0.0.1', dport='10012', sport='20912' }, Cable connected: on, Trace: off (file: none), Type: 82545EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 6: MAC: 080027A9FC82, Attachment: Generic 'UDPTunnel' { dest='127.0.0.1', dport='10013', sport='20913' }, Cable connected: on, Trace: off (file: none), Type: 82545EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 7: MAC: 0800272931C2, Attachment: Generic 'UDPTunnel' { dest='127.0.0.1', dport='10014', sport='20914' }, Cable connected: on, Trace: off (file: none), Type: 82545EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 8: MAC: 08002744A6C0, Attachment: Generic 'UDPTunnel' { dest='127.0.0.1', dport='10015', sport='20915' }, Cable connected: on, Trace: off (file: none), Type: 82545EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none

As you can see the results are, to say the least, inconsistent.

On the other hand if you ONLY start the VM outside GNS3 the results are ALWAYS equal to the first results I copied here.

The conclusion I took is the GNS3 is doing something to the NICs configuration of the VM.

It seems to me that you have just confirmed what I suspected

I am running it in :

-VirtualBox 4.3.8
-GNS3 0.8.6
-Windows 7 Professional SP1 64b
-Lenovo W540 32G RAM



_________________
Success is the ability to go from one failure to another with no loss of enthusiasm - Sir Winston Churchill


Top
 Profile  
 
 Post subject: Re: Cisco IOS XRv Software
PostPosted: Sun Mar 02, 2014 5:01 am 
Offline

Joined: Sun Mar 02, 2014 3:51 am
Posts: 5
Thank you very much. But When I cannot start VM outside GNS3, Because If I start VM outside GNS3, I cannot console this device .I can not ping beacause NIC of VM is changed .Can you use Teamviewer to this support me? Please Help me , I very thank you.


Top
 Profile  
 
 Post subject: Re: Cisco IOS XRv Software
PostPosted: Sun Mar 02, 2014 6:32 pm 
Offline

Joined: Tue Aug 03, 2010 2:44 am
Posts: 22
Tried on Windows 8.1 (x64) and Windows 7 (x64) / Virtualbox 4.3.8 / GNS 0.86

Watched all the videos but still no ping between devices...Not sure what trickery was done besides removing links and re-connecting them, but it is not working.

Tried XRv to XRv, XRv-Switch-Xrv, XRv to 7200, XRv-Switch-7200


Top
 Profile  
 
 Post subject: Re: Cisco IOS XRv Software
PostPosted: Sun Mar 02, 2014 7:17 pm 
Offline

Joined: Thu Feb 13, 2014 12:16 pm
Posts: 4
Location: Portugal
nguyen_vuptit wrote:
Thank you very much. But When I cannot start VM outside GNS3, Because If I start VM outside GNS3, I cannot console this device .I can not ping beacause NIC of VM is changed .Can you use Teamviewer to this support me? Please Help me , I very thank you.



It is very easy to configure console access.
You have to configure a pipes access to the serial port.
Just look at the picture:

Attachment:
VM Serial Port.png
VM Serial Port.png [ 64.66 KiB | Viewed 14549 times ]


The image is from VMWare but the technique is exactly the same in VirtualBox
XRv1 is the name I gave to this port because it is also the name of my VM.

Then you just have to configure how to access it from Putty:

Attachment:
Putty Serial configuration for VM.png
Putty Serial configuration for VM.png [ 39.27 KiB | Viewed 14549 times ]


You are now ready to access the XRv virtual machine via serial port !!

Also, I gave up using VBox. I'm now using VMWare workstation.

_________________
Success is the ability to go from one failure to another with no loss of enthusiasm - Sir Winston Churchill


Top
 Profile  
 
 Post subject: Re: Cisco IOS XRv Software
PostPosted: Mon Mar 03, 2014 12:03 am 
Offline

Joined: Wed Feb 19, 2014 11:07 am
Posts: 9
burnburger wrote:
Tried on Windows 8.1 (x64) and Windows 7 (x64) / Virtualbox 4.3.8 / GNS 0.86

Watched all the videos but still no ping between devices...Not sure what trickery was done besides removing links and re-connecting them, but it is not working.

Tried XRv to XRv, XRv-Switch-Xrv, XRv to 7200, XRv-Switch-7200


I've been using XRv for about a week now very reliably, in the beginning it was hit or miss but now I've figured things out for myself.

When adding the VB image within GNS3's VB Guest tab, I choose 8 Ethernet ports, and only check 'Enable console support and Start in headless mode'.

Add two XRvs to GNS3's work space, Add an Ethernet connection between e1 <-> e1, start both, console to both, let them boot and once the config fully loads, could be about a minute after you're able to log into them. Make sure you can ping your own interface:

Code:
RP/0/0/CPU0:XR3#ping 10.0.0.3
Sun Mar  2 14:48:21.310 UTC
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
RP/0/0/CPU0:XR3#


Then ping the other XR or another L3 interface with a count of 100:

Code:
RP/0/0/CPU0:XR3#ping 10.0.0.4 count 100
Sun Mar  2 14:48:26.440 UTC
Type escape sequence to abort.
Sending 100, 100-byte ICMP Echos to 10.0.0.4, timeout is 2 seconds:
...........!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Success rate is 89 percent (89/100), round-trip min/avg/max = 1/1/9 ms
RP/0/0/CPU0:XR3#


The timing doesn't need to be exact, but counting things out, this is what I did. After I began pinging, I deleted the Ethernet link at about ping #2, waited about 5 - 10 seconds and then readded the Ethernet link between the e1's. 2-3 more ICMPs will fail, then you'll get a pause as if there is high latency and then the ICMP echos will come through.

When I first started using the IOS-XRv last week, I would remote and immediately readd the Ethernet connection and the traffic would never pass. I've left my IOS-XRvs along with a dozen 7200s up and running for days without issue. Even the Pause/Resume GNS3 feature works really well with the IOS-XRv.

e0 is MgmtEth0/0/CPU0/0
e1 is GigabitEthernet0/0/0/0
...
e7 is GigabitEthernet0/0/0/6

Code:
RP/0/0/CPU0:XR3#sh cdp nei
Sun Mar  2 14:59:06.096 UTC
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater

Device ID       Local Intrfce    Holdtme Capability Platform  Port ID
XR4             Gi0/0/0/0        139     R          IOS XRv S Gi0/0/0/0       
RP/0/0/CPU0:XR3#


My 2 XR config is:

Code:
XR3:
RP/0/0/CPU0:XR3#sh run
Sun Mar  2 14:54:49.433 UTC
Building configuration...
!! IOS XR Configuration 5.1.1
!! Last configuration change at Sun Mar  2 14:36:09 2014 by bdk
!
hostname XR3
logging console debugging
logging buffered debugging
cdp
line console
exec-timeout 0 0
!
interface Loopback0
description Hello there!!
ipv4 address 33.33.33.33 255.255.255.255
!
interface MgmtEth0/0/CPU0/0
shutdown
!
interface GigabitEthernet0/0/0/0
cdp
ipv4 address 10.0.0.3 255.255.255.0
!
interface GigabitEthernet0/0/0/1
shutdown
!
interface GigabitEthernet0/0/0/2
shutdown
!
interface GigabitEthernet0/0/0/3
shutdown
!
interface GigabitEthernet0/0/0/4
shutdown
!
interface GigabitEthernet0/0/0/5
!
interface GigabitEthernet0/0/0/6
!
end

RP/0/0/CPU0:XR3#


Code:
XR4:
RP/0/0/CPU0:XR4#sh run
Sun Mar  2 14:55:31.261 UTC
Building configuration...
!! IOS XR Configuration 5.1.1
!! Last configuration change at Sun Mar  2 14:36:28 2014 by bdk
!
hostname XR4
logging console debugging
logging buffered debugging
cdp
line console
exec-timeout 0 0
!
interface Loopback0
description Hello there!!
ipv4 address 44.44.44.44 255.255.255.255
!
interface MgmtEth0/0/CPU0/0
shutdown
!
interface GigabitEthernet0/0/0/0
cdp
ipv4 address 10.0.0.4 255.255.255.0
!
interface GigabitEthernet0/0/0/1
shutdown
!
interface GigabitEthernet0/0/0/2
shutdown
!
interface GigabitEthernet0/0/0/3
shutdown
!
interface GigabitEthernet0/0/0/4
shutdown
!
interface GigabitEthernet0/0/0/5
!
interface GigabitEthernet0/0/0/6
!
end


I hope that helps. I was very frustrated in the beginning when I couldn't get the IOS-XRv to pass any traffic but now after a week, the ONLY abnormal things is pinging, remove, and add Ethernet to get things working when I start a lab. This seems to be a PER interface issue. ie. if you've got e1, e2 & e3 connected to other devices, you'll need to do the "extended ping, remove, add" to get things working again.

-bdk


Top
 Profile  
 
 Post subject: Re: Cisco IOS XRv Software
PostPosted: Mon Mar 03, 2014 10:11 pm 
Offline

Joined: Wed Feb 19, 2014 11:07 am
Posts: 9
So a quick update...

I started my lab which included 2 IOS-XRv's and got distracted by life. 40 minutes later I came back and tried to just remove the IOS-XR links without running a continuous ping and traffic started passing.

I removed the link between IOS-XR1 & IOS-XR2, waited 5 seconds, hooked it back up and the OSPF adjacency formed nearly immediately. I then removed the link between IOS-XR1 & SW2, counted to 5 and added it back and the IS-IS adjacency formed as well.

Image

Wait until you see the "SYSTEM CONFIGURATION COMPLETED" message from within the IOS-XRv console, then remove, count to 5 and add the link back. I think that there needs to be continuous traffic being sent over the links before and after the links are removed and added back, mine was multicast.

-bdk


Top
 Profile  
 
 Post subject: Re: Cisco IOS XRv Software
PostPosted: Tue Mar 04, 2014 2:31 pm 
Offline

Joined: Tue Aug 03, 2010 2:44 am
Posts: 22
Thanks bdk, but it still does not work for me. I will have to wait for a patch/fix...if any. For now I am using VMware workstation trial. It works fine there.


Top
 Profile  
 
 Post subject: Re: Cisco IOS XRv Software
PostPosted: Tue Mar 04, 2014 3:40 pm 
Offline

Joined: Sun Mar 02, 2014 3:51 am
Posts: 5
When I configure a pipes access to the serial port, I already access IOSXRv.After I connected IOS 7200 to IOSXRv,but I can't ping together.
Just look picture:
Attachment:
IOSXRv.png
IOSXRv.png [ 258.75 KiB | Viewed 14491 times ]


ppsilva2 wrote:
nguyen_vuptit wrote:
Thank you very much. But When I cannot start VM outside GNS3, Because If I start VM outside GNS3, I cannot console this device .I can not ping beacause NIC of VM is changed .Can you use Teamviewer to this support me? Please Help me , I very thank you.



It is very easy to configure console access.
You have to configure a pipes access to the serial port.
Just look at the picture:

Attachment:
The attachment VM Serial Port.png is no longer available


The image is from VMWare but the technique is exactly the same in VirtualBox
XRv1 is the name I gave to this port because it is also the name of my VM.

Then you just have to configure how to access it from Putty:

Attachment:
The attachment Putty Serial configuration for VM.png is no longer available


You are now ready to access the XRv virtual machine via serial port !!

Also, I gave up using VBox. I'm now using VMWare workstation.


Top
 Profile  
 
 Post subject: Re: Cisco IOS XRv Software
PostPosted: Tue Mar 04, 2014 8:47 pm 
Offline

Joined: Thu Feb 13, 2014 12:16 pm
Posts: 4
Location: Portugal
@nguyen_vuptit

Well, the "ping problem" is a normal behavior of the GNS3/VBox/XRv combination.

The way to solve it is to make a continuous ping from one side of the connection and then remove the link and reconnect the link again.

I personally have no patience for such a kind of solution. My lab has more than 20 c0nnections ....

What I did was to virtualize XRv in VMWare workstation and connect it to GNS3 via a cloud.
That way it works perfectly and has no "ping problem"

If I had time I would try to virtualize it in Hyper-V because the limit of NICs per virtual machine is 12 and VMWare solutions (whether Workstation or ESXi have a limit of 10).

_________________
Success is the ability to go from one failure to another with no loss of enthusiasm - Sir Winston Churchill


Top
 Profile  
 
 Post subject: Re: Cisco IOS XRv Software
PostPosted: Wed Mar 05, 2014 12:01 am 
Offline

Joined: Sun Mar 02, 2014 3:51 am
Posts: 5
@ ppsilva2
Can you give me skypeID?
We can exchange experience together.Thank you very much!
ppsilva2 wrote:
@nguyen_vuptit

Well, the "ping problem" is a normal behavior of the GNS3/VBox/XRv combination.

The way to solve it is to make a continuous ping from one side of the connection and then remove the link and reconnect the link again.

I personally have no patience for such a kind of solution. My lab has more than 20 c0nnections ....

What I did was to virtualize XRv in VMWare workstation and connect it to GNS3 via a cloud.
That way it works perfectly and has no "ping problem"

If I had time I would try to virtualize it in Hyper-V because the limit of NICs per virtual machine is 12 and VMWare solutions (whether Workstation or ESXi have a limit of 10).




Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 71 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 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