Network fell down and removed a vr?

  • 0
  • 1
  • Problem
  • Updated 4 years ago
  • Not a Problem
So I had this network which topology is this:



And I had OSPF up and running and everything seemed to be well. I fired up a windows 7 32-bit host machine under Switch1, enabled port 2, added vlan to it as untagged and suddenly Switch1 gave this error:



I shut down the host and rebooted everything, and everything was fine. I fired up host once again and this same error occurred in under one minute. I rebooted everything once again and took the host down so the situation would calm down.

Now I noticed in Router1 had my VR and vlan "internet" removed?? I had "vr-corporation" and everything under it. Both default vlan and vr-default were "disabled". Now I watch Router1 configs and everything is preserved but vlan "internet" and vr "vr-corporation" has completely vanished. I tried to load my configurations again but they did not appear.

Now I tried to load the configurations again and it only says:
"This command cannot be executed during configuration load."

What is happening??
Photo of Petteri Oksanen

Petteri Oksanen

  • 380 Points 250 badge 2x thumb
  • sad

Posted 4 years ago

  • 0
  • 1
Photo of andreas

andreas

  • 1,218 Points 1k badge 2x thumb
Very strange what version are you using in thé routers?
Photo of Petteri Oksanen

Petteri Oksanen

  • 380 Points 250 badge 2x thumb
I am running these in Oracle Virtualbox.

Show version:

Switch      : PN:1N2039    SN:123456   Rev 0.1 BootROM: 1.2
IMG: 15.3.1.4PSUCTRL-1   : PN:MEAD      SN:MD1 Rev 0.1 BootROM: 2.1
PSUCTRL-2   : PN:MEAD      SN:MD2      Rev 1.1 BootROM: 2.3
mouse-usb   : PN:MOUSE     SN:4321     Rev 1.1 BootROM: 4.3
PSU-1       : Stack PS Slot # 2 PN:1N2039 SN:1234 Rev 0.1
PSU-2       : Stack PS Slot # 3 PN:1N2039 SN:1234 Rev 0.1
Image   : ExtremeXOS version 15.3.1.4 v1531b4 by release-manager on Mon Feb 4 18:47:57 EST 2013
BootROM : 1.2

Actually all vlan's were removed, there were 3 of them. I am right now configuring everything again and cannot enable ospf. It says:

"Warning: No IP interface is in routing mode. ERROR: Failed to enable OSPF"
and
"Ospf is not running in VR vr-corporation."

I have vlan's, tags, ipforwarding enabled, ipaddresses and ports assigned. What am I not seeing in here?

Also, if I execute the commant "virtual-router xxxxxx" and make configurations, how do I exit from the vr instance?
Photo of Grosjean, Stephane

Grosjean, Stephane, Employee

  • 13,676 Points 10k badge 2x thumb
Hi,

to return to the default VR, simply type "VR", or "virtual-router vr-default", to change the context to it (just like any other VR).

When creating a VR, no routing protocols are in it. You need to add the one you want manually. Something like "config vr vr-corporation add protocol ospf".

You also have to include interfaces to the VR. By default, every ports are in VR-Default. So either you remove some from VR-Default to add them in your VR, or you use logical port in different VR.

As for your initial problem, I don't know. Did you try with a more recent code?

Best Regards,
Stephane
Photo of Petteri Oksanen

Petteri Oksanen

  • 380 Points 250 badge 2x thumb
Hi Stephane

Thanks for the tips. Of course I forgot that ospf had to be added in the vr. It has been couple of weeks since I last did that.

I have downloaded the VM's from xkit: https://xkit.extremenetworks.com/app/v/extremexosvm.
They are not the most recent, but are most popular. I figured there could not be huge differences in the latest version and this one since they were released within a couple of month or so.

I guess this downfall was somehow caused by ospf, because every vlan that had ospf running in it got deleted, including vr. I guess there has been some kind of loop? The vlan "internet" interface was running inside ospf in loopback mode, is it normal practice to have loopback's running inside ospf? ALSO the loopback was addressed 10.10.10.10/32. Could there be some kind of broadcast problem since my subnet is 255.255.255.255? I will now try with /24.

The virtual host machines were downloaded from here: https://www.modern.ie/en-us/virtualization-tools#downloads
Basically they are free win-machines for IE-developers. I figured they are suitable for this purpose since they have normal windows environment with networking enabled. Please correct me if I'm wrong. I would be delighted to have any tips for free win-machine images.

- Petteri
(Edited)
Photo of Petteri Oksanen

Petteri Oksanen

  • 380 Points 250 badge 2x thumb
I did the configurations again and here they are:

Router1
configure vlan default delete ports all
configure vr VR-Default delete ports 1-3
create vr "vr-corporation"
configure vr vr-corporation add ports 1-3
configure vlan default delete ports 1-3
create vlan "internet" vr vr-corporation
configure vlan internet tag 42
configure vlan "internet" qosprofile QP1
create vlan "r_kerros_1" vr vr-corporation
configure vlan r_kerros_1 tag 11
configure vlan "r_kerros_1" qosprofile QP1
create vlan "r_kerros_2" vr vr-corporation
configure vlan r_kerros_2 tag 12
configure vlan "r_kerros_2" qosprofile QP1
configure vlan internet add ports 3 tagged
configure vlan r_kerros_1 add ports 1 tagged
configure vlan r_kerros_2 add ports 2 tagged
configure vlan Mgmt ipaddress 192.168.56.100 255.255.255.0
configure vlan internet ipaddress 10.10.10.10 255.255.255.0
enable ipforwarding vlan internet
configure vlan r_kerros_1 ipaddress 192.168.10.1 255.255.255.0
enable ipforwarding vlan r_kerros_1
configure vlan r_kerros_2 ipaddress 192.168.20.1 255.255.255.0
enable ipforwarding vlan r_kerros_2
configure vr vr-corporation add protocol ospf

#
# Module ospf configuration on virtual router vr-corporation.
#
virtual-router vr-corporation
configure ospf routerid 1.1.1.1
enable ospf
create ospf area 1.2.3.4
configure ospf add vlan internet area 1.2.3.4 link-type point-to-point
configure ospf add vlan r_kerros_1 area 1.2.3.4 link-type point-to-point
configure ospf add vlan r_kerros_2 area 1.2.3.4 link-type point-to-point
virtual-router VR-Default

---------------------------------------------------------

Switch1
configure vlan default delete ports all
configure vr VR-Default delete ports 1-5
create vr "vr-corporation"
configure vr vr-corporation add ports 1-2
configure vlan default delete ports 1-5
create vlan "kerros_1" vr vr-corporation
configure vlan kerros_1 tag 11
configure vlan "kerros_1" qosprofile QP1
disable port 2
disable port 3
disable port 4
disable port 5
configure vlan kerros_1 add ports 1 tagged
configure vlan kerros_1 add ports 2 untagged
configure vlan Mgmt ipaddress 192.168.56.101 255.255.255.0
configure vlan kerros_1 ipaddress 192.168.10.2 255.255.255.0
enable ipforwarding vlan kerros_1
configure vr vr-corporation add protocol ospf

#
# Module ospf configuration on virtual router vr-corporation.
#
virtual-router vr-corporation
configure ospf routerid 2.2.2.2
enable ospf
create ospf area 1.2.3.4
configure ospf add vlan kerros_1 area 1.2.3.4 link-type point-to-point
virtual-router VR-Default

---------------------------------------------------------

Switch2
configure vlan default delete ports all
configure vr VR-Default delete ports 1-5
create vr "vr-corporation"
configure vr vr-corporation add ports 1-2
configure vlan default delete ports 1-5
create vlan "kerros_2" vr vr-corporation
configure vlan kerros_2 tag 12
disable port 2
disable port 3
disable port 4
configure vlan kerros_2 add ports 1 tagged
configure vlan Mgmt ipaddress 192.168.56.102 255.255.255.0
configure vlan kerros_2 ipaddress 192.168.20.2 255.255.255.0
enable ipforwarding vlan kerros_2
configure vr vr-corporation add protocol ospf

#
# Module ospf configuration on virtual router vr-corporation.
#
virtual-router vr-corporation
configure ospf routerid 3.3.3.3
enable ospf
create ospf area 1.2.3.4
configure ospf add vlan kerros_2 area 1.2.3.4 link-type point-to-point
virtual-router VR-Default

---------------------------------------------------------

.. I tried again to open the host (win7 with ip 192.168.10.5/24) and it all fell down again. Is there anyone who can make any sense in this? Have I added the ports correctly?

Thanks

edit: I have purposely disabled the port on switch1 to prevent the crash. Port 2 has the host attached in it.
(Edited)
Photo of Grosjean, Stephane

Grosjean, Stephane, Employee

  • 13,676 Points 10k badge 2x thumb
At first look, I don't see an obvious issue in your config. Remember that this is VM, so there's no dataplane, it's (partially) emulated through software. The process crashing is HAL, and while we could see a correlation here with 2001 a space odyssey in the sense it's hurting you, this is the Hardware Abstraction Layer. So maybe a small hint.

I'll try to find time to check your config on my VM setup.

But I have already ran many VM with user created VR, MPLS, BGP and OSPF running in it without issues.

What version of VirtualBox do you have?
Photo of Petteri Oksanen

Petteri Oksanen

  • 380 Points 250 badge 2x thumb
Thanks. This evil HAL is taking over me :( last night while I was making configs it told me to give up.
I am using VirtualBox v4.3.26 r98988 with extension pack (aka the latest one).
The problem can also be in the host itself, since without it everything works well. I will try with other kinds of hosts also.
(Edited)
Photo of Petteri Oksanen

Petteri Oksanen

  • 380 Points 250 badge 2x thumb
Would like to know why this thread has been marked as "Solved"?

The problem still consists.

This conversation is no longer open for comments or replies.