Ping works only one-way to host in VM virtualbox


Userlevel 1
I am running EXOS VM's in Oracle VirtualBox.

I have a topology in this order: host1-sw1-sw2-host2.

I can ping from host2 to host1, but when I try to ping host1 to host2 the ping fails. I can't ping host2 from sw2 either. Here is snapshot of host1 and sw1:



Here is a snapshot of sw2 and host2:



Switch 1 and 2 are connected through OSPF.
What is the correct way to connect hosts in virtualized network?

I know there is no route to host from 192.168.11.3, but it still reaches 192.168.12.0/24 network, shouldn't it reach to the host also?

Thanks

- Petteri

32 replies

Userlevel 7
Hi Petteri,
At first glance, I noticed in your config that ports 1 and 2 on each switch were deleted from VR VR-Default. They'll need to be added to a virtual router for all of the interfaces to work properly.
Try this:
code:
configure vr vr-default add ports 1-2


I may be missing something else, but I wanted to get a response out to you before my next meeting :)

-Drew
Userlevel 1
Hi Drew

Thanks for the quick reply. All ports are assigned to virtual-router named "vrtesti", so disabling default VR was intentional. :)

- Petteri
Userlevel 7
Hi Drew

Thanks for the quick reply. All ports are assigned to virtual-router named "vrtesti", so disabling default VR was intentional. :)

- Petteri
I completely missed the add line just below it. I guess that's what I get for giving it a quick glance instead of studying :)
Maybe someone else will have a better idea.

If you can post your OSPF config (and any other relevant config pieces), I can get one of our lab interns to test it out.

-Drew
Userlevel 1
Hi Drew

Thanks for the quick reply. All ports are assigned to virtual-router named "vrtesti", so disabling default VR was intentional. :)

- Petteri
Sure, here they are:

Switch1:
virtual-router vrtesti
configure ospf routerid 1.1.1.1
enable ospf
configure ospf add vlan switch1 area 0.0.0.0 link-type point-to-point
virtual-router VR-Default

Switch2:
virtual-router vrtesticonfigure ospf routerid 2.2.2.2
enable ospf
configure ospf restart planned
configure ospf add vlan switch2 area 0.0.0.0 link-type point-to-point
configure ospf add vlan switch2host area 0.0.0.0 link-type point-to-point
virtual-router VR-Default

And here is output from show ospf area 0.0.0.0 from sw2:

Area: 0.0.0.0 Type: Normal
Router Id: 2.2.2.2
Spf Runs: 13 Num ABR: 0 Num ASBR: 0 Num LSA: 2 LSA Chksum:0x8c54
Interfaces:
IP addr Ospf State DR IP addr BDR IP addr
192.168.11.3 /24 E P2P 0.0.0.0 0.0.0.0
192.168.12.1 /24 E P2P 0.0.0.0 0.0.0.0
Inter-Area route Filter:
External route Filter:
Configured Address Ranges:

IP addressing for hosts and configs can be seen from the snapshot.

Thanks!
Userlevel 6
Petteri,

There must be some typo somewhere.

I've just fired 4 EXOS-VMs (SW0 and SW3 acting as your host PCs) and everything is working OK.

Here are the configs:

Switch0 (acting as PC 192.168.11.7)

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan default delete ports 2-7
configure vlan Default add ports 1 untagged
configure vlan Default ipaddress 192.168.11.7 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.11 255.255.255.0

#
# Module rtmgr configuration.
#
configure iproute add default 192.168.11.2
[/code]
Switch1

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch1" vr vrtesti
configure vlan switch1 tag 5
configure vlan switch1 add ports 2 tagged
configure vlan switch1 add ports 1 untagged
configure vlan Mgmt ipaddress 172.16.56.12 255.255.255.0
configure vlan switch1 ipaddress 192.168.11.2 255.255.255.0
enable ipforwarding vlan switch1
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 1.1.1.1
enable ospf
configure ospf add vlan switch1 area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]
Switch2

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch2" vr vrtesti
configure vlan switch2 tag 5
create vlan "switch2hosti" vr vrtesti
configure vlan switch2 add ports 1 tagged
configure vlan switch2hosti add ports 2 untagged
configure vlan Mgmt ipaddress 172.16.56.13 255.255.255.0
configure vlan switch2 ipaddress 192.168.11.3 255.255.255.0
enable ipforwarding vlan switch2
configure vlan switch2hosti ipaddress 192.168.12.1 255.255.255.0
enable ipforwarding vlan switch2hosti
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 2.2.2.2
enable ospf
configure ospf add vlan switch2 area 0.0.0.0 link-type point-to-point
configure ospf add vlan switch2hosti area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]

Switch3 (acting as PC 192.168.12.9)
*
#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan Default add ports 1-7 untagged
configure vlan Default ipaddress 192.168.12.9 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.14 255.255.255.0

[/code]Switch1 OSPF & Routes info

* (vr vrtesti) lab9.sw1.3 # sh ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 1.1.1.1 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 5 ReceivedNewLSA : 6
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw1.4 # sh ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
2.2.2.2 1 FULL /DROTHER 00:00:55:34/00:00:00:04 192.168.11.3 switch1
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw1.5 # sh iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.2 1 U------um--f- switch1 0d:1h:45m:17s
#oa 192.168.12.0/24 192.168.11.3 10 UG-D---um--f- switch1 0d:0h:56m:8s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
1 routes from Direct 1 routes from OSPFIntra

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw1.6 #
[/code]
Switch2 OSPF & Routes info
* (vr vrtesti) lab9.sw2.4 # show ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 2.2.2.2 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 6 ReceivedNewLSA : 5
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw2.5 # show ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
1.1.1.1 1 FULL /DROTHER 00:00:59:40/00:00:00:04 192.168.11.2 switch2
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw2.6 # show iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.3 1 U------um--f- switch2 0d:1h:45m:34s
#d 192.168.12.0/24 192.168.12.1 1 U------um--f- switch2hosti 0d:1h:33m:30s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
2 routes from Direct

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw2.7 #

[/code]
Userlevel 1
Petteri,

There must be some typo somewhere.

I've just fired 4 EXOS-VMs (SW0 and SW3 acting as your host PCs) and everything is working OK.

Here are the configs:

Switch0 (acting as PC 192.168.11.7)

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan default delete ports 2-7
configure vlan Default add ports 1 untagged
configure vlan Default ipaddress 192.168.11.7 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.11 255.255.255.0

#
# Module rtmgr configuration.
#
configure iproute add default 192.168.11.2
[/code]
Switch1

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch1" vr vrtesti
configure vlan switch1 tag 5
configure vlan switch1 add ports 2 tagged
configure vlan switch1 add ports 1 untagged
configure vlan Mgmt ipaddress 172.16.56.12 255.255.255.0
configure vlan switch1 ipaddress 192.168.11.2 255.255.255.0
enable ipforwarding vlan switch1
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 1.1.1.1
enable ospf
configure ospf add vlan switch1 area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]
Switch2

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch2" vr vrtesti
configure vlan switch2 tag 5
create vlan "switch2hosti" vr vrtesti
configure vlan switch2 add ports 1 tagged
configure vlan switch2hosti add ports 2 untagged
configure vlan Mgmt ipaddress 172.16.56.13 255.255.255.0
configure vlan switch2 ipaddress 192.168.11.3 255.255.255.0
enable ipforwarding vlan switch2
configure vlan switch2hosti ipaddress 192.168.12.1 255.255.255.0
enable ipforwarding vlan switch2hosti
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 2.2.2.2
enable ospf
configure ospf add vlan switch2 area 0.0.0.0 link-type point-to-point
configure ospf add vlan switch2hosti area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]

Switch3 (acting as PC 192.168.12.9)
*
#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan Default add ports 1-7 untagged
configure vlan Default ipaddress 192.168.12.9 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.14 255.255.255.0

[/code]Switch1 OSPF & Routes info

* (vr vrtesti) lab9.sw1.3 # sh ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 1.1.1.1 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 5 ReceivedNewLSA : 6
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw1.4 # sh ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
2.2.2.2 1 FULL /DROTHER 00:00:55:34/00:00:00:04 192.168.11.3 switch1
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw1.5 # sh iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.2 1 U------um--f- switch1 0d:1h:45m:17s
#oa 192.168.12.0/24 192.168.11.3 10 UG-D---um--f- switch1 0d:0h:56m:8s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
1 routes from Direct 1 routes from OSPFIntra

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw1.6 #
[/code]
Switch2 OSPF & Routes info
* (vr vrtesti) lab9.sw2.4 # show ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 2.2.2.2 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 6 ReceivedNewLSA : 5
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw2.5 # show ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
1.1.1.1 1 FULL /DROTHER 00:00:59:40/00:00:00:04 192.168.11.2 switch2
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw2.6 # show iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.3 1 U------um--f- switch2 0d:1h:45m:34s
#d 192.168.12.0/24 192.168.12.1 1 U------um--f- switch2hosti 0d:1h:33m:30s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
2 routes from Direct

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw2.7 #

[/code]
Hi Daniel

Awesome that you did all of this. So now you can ping from SW0 to SW3? I have exactly same settings, and it is a no-go. If I put them all under the same subnet, the ping works between hosts.
Userlevel 6
Petteri,

There must be some typo somewhere.

I've just fired 4 EXOS-VMs (SW0 and SW3 acting as your host PCs) and everything is working OK.

Here are the configs:

Switch0 (acting as PC 192.168.11.7)

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan default delete ports 2-7
configure vlan Default add ports 1 untagged
configure vlan Default ipaddress 192.168.11.7 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.11 255.255.255.0

#
# Module rtmgr configuration.
#
configure iproute add default 192.168.11.2
[/code]
Switch1

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch1" vr vrtesti
configure vlan switch1 tag 5
configure vlan switch1 add ports 2 tagged
configure vlan switch1 add ports 1 untagged
configure vlan Mgmt ipaddress 172.16.56.12 255.255.255.0
configure vlan switch1 ipaddress 192.168.11.2 255.255.255.0
enable ipforwarding vlan switch1
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 1.1.1.1
enable ospf
configure ospf add vlan switch1 area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]
Switch2

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch2" vr vrtesti
configure vlan switch2 tag 5
create vlan "switch2hosti" vr vrtesti
configure vlan switch2 add ports 1 tagged
configure vlan switch2hosti add ports 2 untagged
configure vlan Mgmt ipaddress 172.16.56.13 255.255.255.0
configure vlan switch2 ipaddress 192.168.11.3 255.255.255.0
enable ipforwarding vlan switch2
configure vlan switch2hosti ipaddress 192.168.12.1 255.255.255.0
enable ipforwarding vlan switch2hosti
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 2.2.2.2
enable ospf
configure ospf add vlan switch2 area 0.0.0.0 link-type point-to-point
configure ospf add vlan switch2hosti area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]

Switch3 (acting as PC 192.168.12.9)
*
#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan Default add ports 1-7 untagged
configure vlan Default ipaddress 192.168.12.9 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.14 255.255.255.0

[/code]Switch1 OSPF & Routes info

* (vr vrtesti) lab9.sw1.3 # sh ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 1.1.1.1 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 5 ReceivedNewLSA : 6
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw1.4 # sh ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
2.2.2.2 1 FULL /DROTHER 00:00:55:34/00:00:00:04 192.168.11.3 switch1
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw1.5 # sh iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.2 1 U------um--f- switch1 0d:1h:45m:17s
#oa 192.168.12.0/24 192.168.11.3 10 UG-D---um--f- switch1 0d:0h:56m:8s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
1 routes from Direct 1 routes from OSPFIntra

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw1.6 #
[/code]
Switch2 OSPF & Routes info
* (vr vrtesti) lab9.sw2.4 # show ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 2.2.2.2 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 6 ReceivedNewLSA : 5
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw2.5 # show ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
1.1.1.1 1 FULL /DROTHER 00:00:59:40/00:00:00:04 192.168.11.2 switch2
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw2.6 # show iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.3 1 U------um--f- switch2 0d:1h:45m:34s
#d 192.168.12.0/24 192.168.12.1 1 U------um--f- switch2hosti 0d:1h:33m:30s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
2 routes from Direct

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw2.7 #

[/code]
There may be problems with your VBox adapter settings.

Can you please run the following command on every VM? I'm particularly interested in the NIC X part of it...

vboxmanage showvminfo [/code]
Here's a sample output of the NIC part from my switch SW1. Your's should look similar.
NIC 1: MAC: 000130DF0902, Attachment: Host-only Interface 'vboxnet0', Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow-all, Bandwidth group: none
NIC 2: MAC: 000130DF0902, Attachment: Internal Network 'l1', Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow-all, Bandwidth group: none
NIC 3: MAC: 000130DF0902, Attachment: Internal Network 'l2', Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow-all, Bandwidth group: none
NIC 4: MAC: 000130DF0902, Attachment: Internal Network 'vlab.base-3', Cable connected: off, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow-all, Bandwidth group: none
NIC 5: MAC: 000130DF0000, Attachment: Internal Network 'vlab.base-4', Cable connected: off, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow-all, Bandwidth group: none
NIC 6: MAC: 000130DF0000, Attachment: Internal Network 'vlab.base-5', Cable connected: off, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow-all, Bandwidth group: none
NIC 7: MAC: 000130DF0000, Attachment: Internal Network 'vlab.base-6', Cable connected: off, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow-all, Bandwidth group: none
NIC 8: MAC: 000130DF0000, Attachment: Internal Network 'vlab.base-7', Cable connected: off, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow-all, Bandwidth group: none

[/code]

If you're running VBox undes OS X, the command will execute right away. If you're running VBox under Windows you'll have to go to the VBox directory or add it to the path...
Userlevel 1
Petteri,

There must be some typo somewhere.

I've just fired 4 EXOS-VMs (SW0 and SW3 acting as your host PCs) and everything is working OK.

Here are the configs:

Switch0 (acting as PC 192.168.11.7)

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan default delete ports 2-7
configure vlan Default add ports 1 untagged
configure vlan Default ipaddress 192.168.11.7 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.11 255.255.255.0

#
# Module rtmgr configuration.
#
configure iproute add default 192.168.11.2
[/code]
Switch1

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch1" vr vrtesti
configure vlan switch1 tag 5
configure vlan switch1 add ports 2 tagged
configure vlan switch1 add ports 1 untagged
configure vlan Mgmt ipaddress 172.16.56.12 255.255.255.0
configure vlan switch1 ipaddress 192.168.11.2 255.255.255.0
enable ipforwarding vlan switch1
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 1.1.1.1
enable ospf
configure ospf add vlan switch1 area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]
Switch2

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch2" vr vrtesti
configure vlan switch2 tag 5
create vlan "switch2hosti" vr vrtesti
configure vlan switch2 add ports 1 tagged
configure vlan switch2hosti add ports 2 untagged
configure vlan Mgmt ipaddress 172.16.56.13 255.255.255.0
configure vlan switch2 ipaddress 192.168.11.3 255.255.255.0
enable ipforwarding vlan switch2
configure vlan switch2hosti ipaddress 192.168.12.1 255.255.255.0
enable ipforwarding vlan switch2hosti
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 2.2.2.2
enable ospf
configure ospf add vlan switch2 area 0.0.0.0 link-type point-to-point
configure ospf add vlan switch2hosti area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]

Switch3 (acting as PC 192.168.12.9)
*
#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan Default add ports 1-7 untagged
configure vlan Default ipaddress 192.168.12.9 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.14 255.255.255.0

[/code]Switch1 OSPF & Routes info

* (vr vrtesti) lab9.sw1.3 # sh ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 1.1.1.1 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 5 ReceivedNewLSA : 6
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw1.4 # sh ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
2.2.2.2 1 FULL /DROTHER 00:00:55:34/00:00:00:04 192.168.11.3 switch1
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw1.5 # sh iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.2 1 U------um--f- switch1 0d:1h:45m:17s
#oa 192.168.12.0/24 192.168.11.3 10 UG-D---um--f- switch1 0d:0h:56m:8s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
1 routes from Direct 1 routes from OSPFIntra

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw1.6 #
[/code]
Switch2 OSPF & Routes info
* (vr vrtesti) lab9.sw2.4 # show ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 2.2.2.2 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 6 ReceivedNewLSA : 5
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw2.5 # show ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
1.1.1.1 1 FULL /DROTHER 00:00:59:40/00:00:00:04 192.168.11.2 switch2
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw2.6 # show iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.3 1 U------um--f- switch2 0d:1h:45m:34s
#d 192.168.12.0/24 192.168.12.1 1 U------um--f- switch2hosti 0d:1h:33m:30s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
2 routes from Direct

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw2.7 #

[/code]
Yes. Here is the output:

Switch1:
NIC 1: MAC: 080027A8E1D9, Attachment: Host-only Interface 'VirtualBox Host-Only Ethernet Adapter', Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps, Bootpriority: 0, Promisc Policy: allow-all, Bandwidth group: none
NIC 2: MAC: 080027FFEB8C, Attachment: Internal Network 'link11', Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow
-all, Bandwidth group: none
NIC 3: MAC: 080027128323, Attachment: Internal Network 'link12', Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow
-all, Bandwidth group: none
NIC 4: MAC: 080027F9BBE3, Attachment: Internal Network 'link13', Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow
-all, Bandwidth group: none

Switch2:
NIC 1: MAC: 0800279CB519, Attachment: Host-only Interface 'VirtualBox Host-Only Ethernet Adapter', Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps, Bootpriority: 0, Promisc Policy: allow-all, Bandwidth group: none
NIC 2: MAC: 080027185BAE, Attachment: Internal Network 'link21', Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow
-all, Bandwidth group: none
NIC 3: MAC: 080027BD9FAC, Attachment: Internal Network 'link22', Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow
-all, Bandwidth group: none
NIC 4: MAC: 080027BC098A, Attachment: Internal Network 'link23', Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow
-all, Bandwidth group: none

Router1:
NIC 1: MAC: 080027909C86, Attachment: Host-only Interface 'VirtualBox Host-Only Ethernet Adapter', Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps, Bootpriority: 0, Promisc Policy: allow-all, Bandwidth group: none
NIC 2: MAC: 080027CBAD8B, Attachment: Internal Network 'link11', Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow
-all, Bandwidth group: none
NIC 3: MAC: 080027F1B83E, Attachment: Internal Network 'link12', Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow
-all, Bandwidth group: none
NIC 4: MAC: 080027A8CFF7, Attachment: Internal Network 'link21', Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow
-all, Bandwidth group: none

I have changed the network topology, but it is basically the same settings, and the problem is the same even in this setup. I tried with Windows-host and with Switch that acts as a host. I can ping from one host to another's default gateway, but can't reach the host.

Userlevel 1
Petteri,

There must be some typo somewhere.

I've just fired 4 EXOS-VMs (SW0 and SW3 acting as your host PCs) and everything is working OK.

Here are the configs:

Switch0 (acting as PC 192.168.11.7)

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan default delete ports 2-7
configure vlan Default add ports 1 untagged
configure vlan Default ipaddress 192.168.11.7 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.11 255.255.255.0

#
# Module rtmgr configuration.
#
configure iproute add default 192.168.11.2
[/code]
Switch1

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch1" vr vrtesti
configure vlan switch1 tag 5
configure vlan switch1 add ports 2 tagged
configure vlan switch1 add ports 1 untagged
configure vlan Mgmt ipaddress 172.16.56.12 255.255.255.0
configure vlan switch1 ipaddress 192.168.11.2 255.255.255.0
enable ipforwarding vlan switch1
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 1.1.1.1
enable ospf
configure ospf add vlan switch1 area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]
Switch2

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch2" vr vrtesti
configure vlan switch2 tag 5
create vlan "switch2hosti" vr vrtesti
configure vlan switch2 add ports 1 tagged
configure vlan switch2hosti add ports 2 untagged
configure vlan Mgmt ipaddress 172.16.56.13 255.255.255.0
configure vlan switch2 ipaddress 192.168.11.3 255.255.255.0
enable ipforwarding vlan switch2
configure vlan switch2hosti ipaddress 192.168.12.1 255.255.255.0
enable ipforwarding vlan switch2hosti
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 2.2.2.2
enable ospf
configure ospf add vlan switch2 area 0.0.0.0 link-type point-to-point
configure ospf add vlan switch2hosti area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]

Switch3 (acting as PC 192.168.12.9)
*
#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan Default add ports 1-7 untagged
configure vlan Default ipaddress 192.168.12.9 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.14 255.255.255.0

[/code]Switch1 OSPF & Routes info

* (vr vrtesti) lab9.sw1.3 # sh ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 1.1.1.1 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 5 ReceivedNewLSA : 6
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw1.4 # sh ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
2.2.2.2 1 FULL /DROTHER 00:00:55:34/00:00:00:04 192.168.11.3 switch1
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw1.5 # sh iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.2 1 U------um--f- switch1 0d:1h:45m:17s
#oa 192.168.12.0/24 192.168.11.3 10 UG-D---um--f- switch1 0d:0h:56m:8s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
1 routes from Direct 1 routes from OSPFIntra

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw1.6 #
[/code]
Switch2 OSPF & Routes info
* (vr vrtesti) lab9.sw2.4 # show ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 2.2.2.2 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 6 ReceivedNewLSA : 5
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw2.5 # show ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
1.1.1.1 1 FULL /DROTHER 00:00:59:40/00:00:00:04 192.168.11.2 switch2
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw2.6 # show iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.3 1 U------um--f- switch2 0d:1h:45m:34s
#d 192.168.12.0/24 192.168.12.1 1 U------um--f- switch2hosti 0d:1h:33m:30s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
2 routes from Direct

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw2.7 #

[/code]
Here is output on switch1host:
NIC 1: MAC: 080027F61F8C, Attachment: Host-only Interface 'VirtualBox Host-Only Ethernet Adapter', Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps, Bootpriority: 0, Promisc Policy: allow-all, Bandwidth group: none
NIC 2: disabled
NIC 3: MAC: 080027CB5B31, Attachment: Internal Network 'link12', Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow
-all, Bandwidth group: none

And here switch2host:
NIC 1: MAC: 080027913AFE, Attachment: Host-only Interface 'VirtualBox Host-Only Ethernet Adapter', Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps, Bootpriority: 0, Promisc Policy: allow-all, Bandwidth group: none
NIC 2: disabled
NIC 3: MAC: 080027D1B51B, Attachment: Internal Network 'link22', Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow
-all, Bandwidth group: none
Userlevel 6
Petteri,

There must be some typo somewhere.

I've just fired 4 EXOS-VMs (SW0 and SW3 acting as your host PCs) and everything is working OK.

Here are the configs:

Switch0 (acting as PC 192.168.11.7)

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan default delete ports 2-7
configure vlan Default add ports 1 untagged
configure vlan Default ipaddress 192.168.11.7 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.11 255.255.255.0

#
# Module rtmgr configuration.
#
configure iproute add default 192.168.11.2
[/code]
Switch1

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch1" vr vrtesti
configure vlan switch1 tag 5
configure vlan switch1 add ports 2 tagged
configure vlan switch1 add ports 1 untagged
configure vlan Mgmt ipaddress 172.16.56.12 255.255.255.0
configure vlan switch1 ipaddress 192.168.11.2 255.255.255.0
enable ipforwarding vlan switch1
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 1.1.1.1
enable ospf
configure ospf add vlan switch1 area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]
Switch2

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch2" vr vrtesti
configure vlan switch2 tag 5
create vlan "switch2hosti" vr vrtesti
configure vlan switch2 add ports 1 tagged
configure vlan switch2hosti add ports 2 untagged
configure vlan Mgmt ipaddress 172.16.56.13 255.255.255.0
configure vlan switch2 ipaddress 192.168.11.3 255.255.255.0
enable ipforwarding vlan switch2
configure vlan switch2hosti ipaddress 192.168.12.1 255.255.255.0
enable ipforwarding vlan switch2hosti
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 2.2.2.2
enable ospf
configure ospf add vlan switch2 area 0.0.0.0 link-type point-to-point
configure ospf add vlan switch2hosti area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]

Switch3 (acting as PC 192.168.12.9)
*
#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan Default add ports 1-7 untagged
configure vlan Default ipaddress 192.168.12.9 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.14 255.255.255.0

[/code]Switch1 OSPF & Routes info

* (vr vrtesti) lab9.sw1.3 # sh ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 1.1.1.1 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 5 ReceivedNewLSA : 6
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw1.4 # sh ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
2.2.2.2 1 FULL /DROTHER 00:00:55:34/00:00:00:04 192.168.11.3 switch1
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw1.5 # sh iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.2 1 U------um--f- switch1 0d:1h:45m:17s
#oa 192.168.12.0/24 192.168.11.3 10 UG-D---um--f- switch1 0d:0h:56m:8s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
1 routes from Direct 1 routes from OSPFIntra

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw1.6 #
[/code]
Switch2 OSPF & Routes info
* (vr vrtesti) lab9.sw2.4 # show ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 2.2.2.2 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 6 ReceivedNewLSA : 5
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw2.5 # show ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
1.1.1.1 1 FULL /DROTHER 00:00:59:40/00:00:00:04 192.168.11.2 switch2
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw2.6 # show iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.3 1 U------um--f- switch2 0d:1h:45m:34s
#d 192.168.12.0/24 192.168.12.1 1 U------um--f- switch2hosti 0d:1h:33m:30s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
2 routes from Direct

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw2.7 #

[/code]
Why have you disabled NIC 2 in switch1host and switch2host?

By doing so adapter 3 now becomes port 1 in each one of those switches...

Can you post the VLAN and OSPF configs of all switches?
Userlevel 1
Petteri,

There must be some typo somewhere.

I've just fired 4 EXOS-VMs (SW0 and SW3 acting as your host PCs) and everything is working OK.

Here are the configs:

Switch0 (acting as PC 192.168.11.7)

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan default delete ports 2-7
configure vlan Default add ports 1 untagged
configure vlan Default ipaddress 192.168.11.7 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.11 255.255.255.0

#
# Module rtmgr configuration.
#
configure iproute add default 192.168.11.2
[/code]
Switch1

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch1" vr vrtesti
configure vlan switch1 tag 5
configure vlan switch1 add ports 2 tagged
configure vlan switch1 add ports 1 untagged
configure vlan Mgmt ipaddress 172.16.56.12 255.255.255.0
configure vlan switch1 ipaddress 192.168.11.2 255.255.255.0
enable ipforwarding vlan switch1
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 1.1.1.1
enable ospf
configure ospf add vlan switch1 area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]
Switch2

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch2" vr vrtesti
configure vlan switch2 tag 5
create vlan "switch2hosti" vr vrtesti
configure vlan switch2 add ports 1 tagged
configure vlan switch2hosti add ports 2 untagged
configure vlan Mgmt ipaddress 172.16.56.13 255.255.255.0
configure vlan switch2 ipaddress 192.168.11.3 255.255.255.0
enable ipforwarding vlan switch2
configure vlan switch2hosti ipaddress 192.168.12.1 255.255.255.0
enable ipforwarding vlan switch2hosti
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 2.2.2.2
enable ospf
configure ospf add vlan switch2 area 0.0.0.0 link-type point-to-point
configure ospf add vlan switch2hosti area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]

Switch3 (acting as PC 192.168.12.9)
*
#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan Default add ports 1-7 untagged
configure vlan Default ipaddress 192.168.12.9 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.14 255.255.255.0

[/code]Switch1 OSPF & Routes info

* (vr vrtesti) lab9.sw1.3 # sh ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 1.1.1.1 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 5 ReceivedNewLSA : 6
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw1.4 # sh ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
2.2.2.2 1 FULL /DROTHER 00:00:55:34/00:00:00:04 192.168.11.3 switch1
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw1.5 # sh iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.2 1 U------um--f- switch1 0d:1h:45m:17s
#oa 192.168.12.0/24 192.168.11.3 10 UG-D---um--f- switch1 0d:0h:56m:8s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
1 routes from Direct 1 routes from OSPFIntra

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw1.6 #
[/code]
Switch2 OSPF & Routes info
* (vr vrtesti) lab9.sw2.4 # show ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 2.2.2.2 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 6 ReceivedNewLSA : 5
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw2.5 # show ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
1.1.1.1 1 FULL /DROTHER 00:00:59:40/00:00:00:04 192.168.11.2 switch2
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw2.6 # show iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.3 1 U------um--f- switch2 0d:1h:45m:34s
#d 192.168.12.0/24 192.168.12.1 1 U------um--f- switch2hosti 0d:1h:33m:30s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
2 routes from Direct

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw2.7 #

[/code]
I did it from a clone. But yes, adapter 3 is the port number 1 in this case. And I actually don't have all the ports for all the hosts in topology because I can't get them working.

Switch1:
configure vlan default delete ports all
configure vr VR-Default delete ports 1-3
create vr "vroppari"
configure vr vroppari add ports 1-3
configure vlan default delete ports 1-3
create vlan "kerros_1" vr vroppari
create vlan "kerros_1_ulos" vr vroppari
configure vlan kerros_1_ulos tag 10
configure vlan kerros_1 add ports 2-3 untagged
configure vlan kerros_1_ulos add ports 1 tagged
configure vlan Mgmt ipaddress 192.168.56.73 255.255.255.0
configure vlan kerros_1_ulos ipaddress 192.168.1.2 255.255.255.0
enable ipforwarding vlan kerros_1_ulos
configure vlan kerros_1 ipaddress 192.168.10.1 255.255.255.0
enable ipforwarding vlan kerros_1
configure vr vroppari add protocol ospf
--
virtual-router vroppariconfigure 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
configure ospf add vlan kerros_1_ulos area 1.2.3.4 link-type point-to-point

Router1:
configure vlan default delete ports all
configure vr VR-Default delete ports 1-3
create vr "vroppari"
configure vr vroppari add ports 1-3
configure vlan default delete ports 1-3
create vlan "internet" vr vroppari
enable loopback-mode vlan internet
create vlan "kerros_1r" vr vroppari
configure vlan kerros_1r tag 10
create vlan "kerros_2r" vr vroppari
configure vlan kerros_2r tag 20
configure vlan internet add ports 2 untagged
configure vlan kerros_1r add ports 1 tagged
configure vlan kerros_2r add ports 3 tagged
configure vlan Mgmt ipaddress 192.168.56.74 255.255.255.0
configure vlan kerros_2r ipaddress 192.168.2.1 255.255.255.0
enable ipforwarding vlan kerros_2r
configure vlan kerros_1r ipaddress 192.168.1.1 255.255.255.0
enable ipforwarding vlan kerros_1r
configure vlan internet ipaddress 10.10.10.10 255.255.255.255
enable ipforwarding vlan internet
configure vr vroppari add protocol ospf
--
virtual-router vroppariconfigure 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 kerros_1r area 1.2.3.4 link-type point-to-point
configure ospf add vlan kerros_2r area 1.2.3.4 link-type point-to-point

Switch2:
configure vlan default delete ports all
configure vr VR-Default delete ports 1-3
create vr "vroppari"
configure vr vroppari add ports 1-3
configure vlan default delete ports 1-3
create vlan "kerros_2" vr vroppari
create vlan "kerros_2_ulos" vr vroppari
configure vlan kerros_2_ulos tag 20
configure vlan kerros_2 add ports 2-3 untagged
configure vlan kerros_2_ulos add ports 1 tagged
configure vlan Mgmt ipaddress 192.168.56.75 255.255.255.0
configure vlan kerros_2_ulos ipaddress 192.168.2.2 255.255.255.0
enable ipforwarding vlan kerros_2_ulos
configure vlan kerros_2 ipaddress 192.168.20.1 255.255.255.0
enable ipforwarding vlan kerros_2
configure vr vroppari add protocol ospf
--
virtual-router vroppariconfigure 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
configure ospf add vlan kerros_2_ulos area 1.2.3.4 link-type point-to-point

Hosts have the same configs as you posted earlier.

Switch1HOST:
configure vlan default delete ports all
configure vr VR-Default delete ports 1
configure vr VR-Default add ports 1
configure vlan Default add ports 1 untagged
configure vlan Default ipaddress 192.168.10.5 255.255.255.0
configure vlan Mgmt ipaddress 192.168.56.73 255.255.255.0
--
configure iproute add default 192.168.10.1

Switch2HOST:
configure vlan default delete ports allconfigure vr VR-Default delete ports 1
configure vr VR-Default add ports 1
configure vlan Default add ports 1 untagged
configure vlan Default ipaddress 192.168.20.5 255.255.255.0
configure vlan Mgmt ipaddress 192.168.56.73 255.255.255.0
--
configure iproute add default 192.168.20.1
Userlevel 6
Petteri,

There must be some typo somewhere.

I've just fired 4 EXOS-VMs (SW0 and SW3 acting as your host PCs) and everything is working OK.

Here are the configs:

Switch0 (acting as PC 192.168.11.7)

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan default delete ports 2-7
configure vlan Default add ports 1 untagged
configure vlan Default ipaddress 192.168.11.7 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.11 255.255.255.0

#
# Module rtmgr configuration.
#
configure iproute add default 192.168.11.2
[/code]
Switch1

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch1" vr vrtesti
configure vlan switch1 tag 5
configure vlan switch1 add ports 2 tagged
configure vlan switch1 add ports 1 untagged
configure vlan Mgmt ipaddress 172.16.56.12 255.255.255.0
configure vlan switch1 ipaddress 192.168.11.2 255.255.255.0
enable ipforwarding vlan switch1
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 1.1.1.1
enable ospf
configure ospf add vlan switch1 area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]
Switch2

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch2" vr vrtesti
configure vlan switch2 tag 5
create vlan "switch2hosti" vr vrtesti
configure vlan switch2 add ports 1 tagged
configure vlan switch2hosti add ports 2 untagged
configure vlan Mgmt ipaddress 172.16.56.13 255.255.255.0
configure vlan switch2 ipaddress 192.168.11.3 255.255.255.0
enable ipforwarding vlan switch2
configure vlan switch2hosti ipaddress 192.168.12.1 255.255.255.0
enable ipforwarding vlan switch2hosti
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 2.2.2.2
enable ospf
configure ospf add vlan switch2 area 0.0.0.0 link-type point-to-point
configure ospf add vlan switch2hosti area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]

Switch3 (acting as PC 192.168.12.9)
*
#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan Default add ports 1-7 untagged
configure vlan Default ipaddress 192.168.12.9 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.14 255.255.255.0

[/code]Switch1 OSPF & Routes info

* (vr vrtesti) lab9.sw1.3 # sh ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 1.1.1.1 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 5 ReceivedNewLSA : 6
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw1.4 # sh ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
2.2.2.2 1 FULL /DROTHER 00:00:55:34/00:00:00:04 192.168.11.3 switch1
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw1.5 # sh iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.2 1 U------um--f- switch1 0d:1h:45m:17s
#oa 192.168.12.0/24 192.168.11.3 10 UG-D---um--f- switch1 0d:0h:56m:8s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
1 routes from Direct 1 routes from OSPFIntra

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw1.6 #
[/code]
Switch2 OSPF & Routes info
* (vr vrtesti) lab9.sw2.4 # show ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 2.2.2.2 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 6 ReceivedNewLSA : 5
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw2.5 # show ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
1.1.1.1 1 FULL /DROTHER 00:00:59:40/00:00:00:04 192.168.11.2 switch2
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw2.6 # show iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.3 1 U------um--f- switch2 0d:1h:45m:34s
#d 192.168.12.0/24 192.168.12.1 1 U------um--f- switch2hosti 0d:1h:33m:30s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
2 routes from Direct

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw2.7 #

[/code]
I'm recreating your lab, but I think the problem might be here...

Router1:

NIC 3: MAC: 080027F1B83E, Attachment: Internal Network 'link12', Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: allow
-all, Bandwidth group: none

the central router is sharing the connection between switch1 and host1. the internal network adapter acts as a switch...
Userlevel 6
Petteri,

There must be some typo somewhere.

I've just fired 4 EXOS-VMs (SW0 and SW3 acting as your host PCs) and everything is working OK.

Here are the configs:

Switch0 (acting as PC 192.168.11.7)

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan default delete ports 2-7
configure vlan Default add ports 1 untagged
configure vlan Default ipaddress 192.168.11.7 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.11 255.255.255.0

#
# Module rtmgr configuration.
#
configure iproute add default 192.168.11.2
[/code]
Switch1

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch1" vr vrtesti
configure vlan switch1 tag 5
configure vlan switch1 add ports 2 tagged
configure vlan switch1 add ports 1 untagged
configure vlan Mgmt ipaddress 172.16.56.12 255.255.255.0
configure vlan switch1 ipaddress 192.168.11.2 255.255.255.0
enable ipforwarding vlan switch1
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 1.1.1.1
enable ospf
configure ospf add vlan switch1 area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]
Switch2

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch2" vr vrtesti
configure vlan switch2 tag 5
create vlan "switch2hosti" vr vrtesti
configure vlan switch2 add ports 1 tagged
configure vlan switch2hosti add ports 2 untagged
configure vlan Mgmt ipaddress 172.16.56.13 255.255.255.0
configure vlan switch2 ipaddress 192.168.11.3 255.255.255.0
enable ipforwarding vlan switch2
configure vlan switch2hosti ipaddress 192.168.12.1 255.255.255.0
enable ipforwarding vlan switch2hosti
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 2.2.2.2
enable ospf
configure ospf add vlan switch2 area 0.0.0.0 link-type point-to-point
configure ospf add vlan switch2hosti area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]

Switch3 (acting as PC 192.168.12.9)
*
#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan Default add ports 1-7 untagged
configure vlan Default ipaddress 192.168.12.9 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.14 255.255.255.0

[/code]Switch1 OSPF & Routes info

* (vr vrtesti) lab9.sw1.3 # sh ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 1.1.1.1 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 5 ReceivedNewLSA : 6
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw1.4 # sh ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
2.2.2.2 1 FULL /DROTHER 00:00:55:34/00:00:00:04 192.168.11.3 switch1
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw1.5 # sh iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.2 1 U------um--f- switch1 0d:1h:45m:17s
#oa 192.168.12.0/24 192.168.11.3 10 UG-D---um--f- switch1 0d:0h:56m:8s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
1 routes from Direct 1 routes from OSPFIntra

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw1.6 #
[/code]
Switch2 OSPF & Routes info
* (vr vrtesti) lab9.sw2.4 # show ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 2.2.2.2 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 6 ReceivedNewLSA : 5
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw2.5 # show ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
1.1.1.1 1 FULL /DROTHER 00:00:59:40/00:00:00:04 192.168.11.2 switch2
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw2.6 # show iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.3 1 U------um--f- switch2 0d:1h:45m:34s
#d 192.168.12.0/24 192.168.12.1 1 U------um--f- switch2hosti 0d:1h:33m:30s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
2 routes from Direct

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw2.7 #

[/code]
Yep, that's probably it.

When I disconnected the port everything worked OK. When I reconnected the port the pings from host1 started doing funny things.

Change the link name to link31 and you should be all set...
Userlevel 1
Petteri,

There must be some typo somewhere.

I've just fired 4 EXOS-VMs (SW0 and SW3 acting as your host PCs) and everything is working OK.

Here are the configs:

Switch0 (acting as PC 192.168.11.7)

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan default delete ports 2-7
configure vlan Default add ports 1 untagged
configure vlan Default ipaddress 192.168.11.7 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.11 255.255.255.0

#
# Module rtmgr configuration.
#
configure iproute add default 192.168.11.2
[/code]
Switch1

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch1" vr vrtesti
configure vlan switch1 tag 5
configure vlan switch1 add ports 2 tagged
configure vlan switch1 add ports 1 untagged
configure vlan Mgmt ipaddress 172.16.56.12 255.255.255.0
configure vlan switch1 ipaddress 192.168.11.2 255.255.255.0
enable ipforwarding vlan switch1
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 1.1.1.1
enable ospf
configure ospf add vlan switch1 area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]
Switch2

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch2" vr vrtesti
configure vlan switch2 tag 5
create vlan "switch2hosti" vr vrtesti
configure vlan switch2 add ports 1 tagged
configure vlan switch2hosti add ports 2 untagged
configure vlan Mgmt ipaddress 172.16.56.13 255.255.255.0
configure vlan switch2 ipaddress 192.168.11.3 255.255.255.0
enable ipforwarding vlan switch2
configure vlan switch2hosti ipaddress 192.168.12.1 255.255.255.0
enable ipforwarding vlan switch2hosti
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 2.2.2.2
enable ospf
configure ospf add vlan switch2 area 0.0.0.0 link-type point-to-point
configure ospf add vlan switch2hosti area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]

Switch3 (acting as PC 192.168.12.9)
*
#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan Default add ports 1-7 untagged
configure vlan Default ipaddress 192.168.12.9 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.14 255.255.255.0

[/code]Switch1 OSPF & Routes info

* (vr vrtesti) lab9.sw1.3 # sh ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 1.1.1.1 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 5 ReceivedNewLSA : 6
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw1.4 # sh ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
2.2.2.2 1 FULL /DROTHER 00:00:55:34/00:00:00:04 192.168.11.3 switch1
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw1.5 # sh iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.2 1 U------um--f- switch1 0d:1h:45m:17s
#oa 192.168.12.0/24 192.168.11.3 10 UG-D---um--f- switch1 0d:0h:56m:8s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
1 routes from Direct 1 routes from OSPFIntra

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw1.6 #
[/code]
Switch2 OSPF & Routes info
* (vr vrtesti) lab9.sw2.4 # show ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 2.2.2.2 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 6 ReceivedNewLSA : 5
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw2.5 # show ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
1.1.1.1 1 FULL /DROTHER 00:00:59:40/00:00:00:04 192.168.11.2 switch2
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw2.6 # show iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.3 1 U------um--f- switch2 0d:1h:45m:34s
#d 192.168.12.0/24 192.168.12.1 1 U------um--f- switch2hosti 0d:1h:33m:30s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
2 routes from Direct

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw2.7 #

[/code]
WHAT THE HELL!!!! HOW DID I MISS THAT??!?!?! I will try right away to fix that. Damn. I feel stupid.
Userlevel 1
Petteri,

There must be some typo somewhere.

I've just fired 4 EXOS-VMs (SW0 and SW3 acting as your host PCs) and everything is working OK.

Here are the configs:

Switch0 (acting as PC 192.168.11.7)

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan default delete ports 2-7
configure vlan Default add ports 1 untagged
configure vlan Default ipaddress 192.168.11.7 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.11 255.255.255.0

#
# Module rtmgr configuration.
#
configure iproute add default 192.168.11.2
[/code]
Switch1

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch1" vr vrtesti
configure vlan switch1 tag 5
configure vlan switch1 add ports 2 tagged
configure vlan switch1 add ports 1 untagged
configure vlan Mgmt ipaddress 172.16.56.12 255.255.255.0
configure vlan switch1 ipaddress 192.168.11.2 255.255.255.0
enable ipforwarding vlan switch1
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 1.1.1.1
enable ospf
configure ospf add vlan switch1 area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]
Switch2

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch2" vr vrtesti
configure vlan switch2 tag 5
create vlan "switch2hosti" vr vrtesti
configure vlan switch2 add ports 1 tagged
configure vlan switch2hosti add ports 2 untagged
configure vlan Mgmt ipaddress 172.16.56.13 255.255.255.0
configure vlan switch2 ipaddress 192.168.11.3 255.255.255.0
enable ipforwarding vlan switch2
configure vlan switch2hosti ipaddress 192.168.12.1 255.255.255.0
enable ipforwarding vlan switch2hosti
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 2.2.2.2
enable ospf
configure ospf add vlan switch2 area 0.0.0.0 link-type point-to-point
configure ospf add vlan switch2hosti area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]

Switch3 (acting as PC 192.168.12.9)
*
#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan Default add ports 1-7 untagged
configure vlan Default ipaddress 192.168.12.9 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.14 255.255.255.0

[/code]Switch1 OSPF & Routes info

* (vr vrtesti) lab9.sw1.3 # sh ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 1.1.1.1 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 5 ReceivedNewLSA : 6
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw1.4 # sh ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
2.2.2.2 1 FULL /DROTHER 00:00:55:34/00:00:00:04 192.168.11.3 switch1
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw1.5 # sh iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.2 1 U------um--f- switch1 0d:1h:45m:17s
#oa 192.168.12.0/24 192.168.11.3 10 UG-D---um--f- switch1 0d:0h:56m:8s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
1 routes from Direct 1 routes from OSPFIntra

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw1.6 #
[/code]
Switch2 OSPF & Routes info
* (vr vrtesti) lab9.sw2.4 # show ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 2.2.2.2 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 6 ReceivedNewLSA : 5
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw2.5 # show ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
1.1.1.1 1 FULL /DROTHER 00:00:59:40/00:00:00:04 192.168.11.2 switch2
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw2.6 # show iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.3 1 U------um--f- switch2 0d:1h:45m:34s
#d 192.168.12.0/24 192.168.12.1 1 U------um--f- switch2hosti 0d:1h:33m:30s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
2 routes from Direct

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw2.7 #

[/code]
Oh right, that must've been from the testing that I did with LAG. I will test the ping now with right cabling.
Userlevel 1
Petteri,

There must be some typo somewhere.

I've just fired 4 EXOS-VMs (SW0 and SW3 acting as your host PCs) and everything is working OK.

Here are the configs:

Switch0 (acting as PC 192.168.11.7)

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan default delete ports 2-7
configure vlan Default add ports 1 untagged
configure vlan Default ipaddress 192.168.11.7 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.11 255.255.255.0

#
# Module rtmgr configuration.
#
configure iproute add default 192.168.11.2
[/code]
Switch1

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch1" vr vrtesti
configure vlan switch1 tag 5
configure vlan switch1 add ports 2 tagged
configure vlan switch1 add ports 1 untagged
configure vlan Mgmt ipaddress 172.16.56.12 255.255.255.0
configure vlan switch1 ipaddress 192.168.11.2 255.255.255.0
enable ipforwarding vlan switch1
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 1.1.1.1
enable ospf
configure ospf add vlan switch1 area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]
Switch2

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch2" vr vrtesti
configure vlan switch2 tag 5
create vlan "switch2hosti" vr vrtesti
configure vlan switch2 add ports 1 tagged
configure vlan switch2hosti add ports 2 untagged
configure vlan Mgmt ipaddress 172.16.56.13 255.255.255.0
configure vlan switch2 ipaddress 192.168.11.3 255.255.255.0
enable ipforwarding vlan switch2
configure vlan switch2hosti ipaddress 192.168.12.1 255.255.255.0
enable ipforwarding vlan switch2hosti
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 2.2.2.2
enable ospf
configure ospf add vlan switch2 area 0.0.0.0 link-type point-to-point
configure ospf add vlan switch2hosti area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]

Switch3 (acting as PC 192.168.12.9)
*
#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan Default add ports 1-7 untagged
configure vlan Default ipaddress 192.168.12.9 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.14 255.255.255.0

[/code]Switch1 OSPF & Routes info

* (vr vrtesti) lab9.sw1.3 # sh ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 1.1.1.1 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 5 ReceivedNewLSA : 6
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw1.4 # sh ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
2.2.2.2 1 FULL /DROTHER 00:00:55:34/00:00:00:04 192.168.11.3 switch1
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw1.5 # sh iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.2 1 U------um--f- switch1 0d:1h:45m:17s
#oa 192.168.12.0/24 192.168.11.3 10 UG-D---um--f- switch1 0d:0h:56m:8s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
1 routes from Direct 1 routes from OSPFIntra

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw1.6 #
[/code]
Switch2 OSPF & Routes info
* (vr vrtesti) lab9.sw2.4 # show ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 2.2.2.2 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 6 ReceivedNewLSA : 5
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw2.5 # show ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
1.1.1.1 1 FULL /DROTHER 00:00:59:40/00:00:00:04 192.168.11.2 switch2
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw2.6 # show iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.3 1 U------um--f- switch2 0d:1h:45m:34s
#d 192.168.12.0/24 192.168.12.1 1 U------um--f- switch2hosti 0d:1h:33m:30s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
2 routes from Direct

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw2.7 #

[/code]
Okay now I redid the cabling and this is the sad output on windows machines :(

Userlevel 1
Petteri,

There must be some typo somewhere.

I've just fired 4 EXOS-VMs (SW0 and SW3 acting as your host PCs) and everything is working OK.

Here are the configs:

Switch0 (acting as PC 192.168.11.7)

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan default delete ports 2-7
configure vlan Default add ports 1 untagged
configure vlan Default ipaddress 192.168.11.7 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.11 255.255.255.0

#
# Module rtmgr configuration.
#
configure iproute add default 192.168.11.2
[/code]
Switch1

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch1" vr vrtesti
configure vlan switch1 tag 5
configure vlan switch1 add ports 2 tagged
configure vlan switch1 add ports 1 untagged
configure vlan Mgmt ipaddress 172.16.56.12 255.255.255.0
configure vlan switch1 ipaddress 192.168.11.2 255.255.255.0
enable ipforwarding vlan switch1
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 1.1.1.1
enable ospf
configure ospf add vlan switch1 area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]
Switch2

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch2" vr vrtesti
configure vlan switch2 tag 5
create vlan "switch2hosti" vr vrtesti
configure vlan switch2 add ports 1 tagged
configure vlan switch2hosti add ports 2 untagged
configure vlan Mgmt ipaddress 172.16.56.13 255.255.255.0
configure vlan switch2 ipaddress 192.168.11.3 255.255.255.0
enable ipforwarding vlan switch2
configure vlan switch2hosti ipaddress 192.168.12.1 255.255.255.0
enable ipforwarding vlan switch2hosti
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 2.2.2.2
enable ospf
configure ospf add vlan switch2 area 0.0.0.0 link-type point-to-point
configure ospf add vlan switch2hosti area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]

Switch3 (acting as PC 192.168.12.9)
*
#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan Default add ports 1-7 untagged
configure vlan Default ipaddress 192.168.12.9 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.14 255.255.255.0

[/code]Switch1 OSPF & Routes info

* (vr vrtesti) lab9.sw1.3 # sh ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 1.1.1.1 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 5 ReceivedNewLSA : 6
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw1.4 # sh ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
2.2.2.2 1 FULL /DROTHER 00:00:55:34/00:00:00:04 192.168.11.3 switch1
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw1.5 # sh iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.2 1 U------um--f- switch1 0d:1h:45m:17s
#oa 192.168.12.0/24 192.168.11.3 10 UG-D---um--f- switch1 0d:0h:56m:8s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
1 routes from Direct 1 routes from OSPFIntra

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw1.6 #
[/code]
Switch2 OSPF & Routes info
* (vr vrtesti) lab9.sw2.4 # show ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 2.2.2.2 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 6 ReceivedNewLSA : 5
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw2.5 # show ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
1.1.1.1 1 FULL /DROTHER 00:00:59:40/00:00:00:04 192.168.11.2 switch2
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw2.6 # show iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.3 1 U------um--f- switch2 0d:1h:45m:34s
#d 192.168.12.0/24 192.168.12.1 1 U------um--f- switch2hosti 0d:1h:33m:30s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
2 routes from Direct

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw2.7 #

[/code]
I could install wireshark on those windows machines and track what happens in there.
Userlevel 1
Petteri,

There must be some typo somewhere.

I've just fired 4 EXOS-VMs (SW0 and SW3 acting as your host PCs) and everything is working OK.

Here are the configs:

Switch0 (acting as PC 192.168.11.7)

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan default delete ports 2-7
configure vlan Default add ports 1 untagged
configure vlan Default ipaddress 192.168.11.7 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.11 255.255.255.0

#
# Module rtmgr configuration.
#
configure iproute add default 192.168.11.2
[/code]
Switch1

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch1" vr vrtesti
configure vlan switch1 tag 5
configure vlan switch1 add ports 2 tagged
configure vlan switch1 add ports 1 untagged
configure vlan Mgmt ipaddress 172.16.56.12 255.255.255.0
configure vlan switch1 ipaddress 192.168.11.2 255.255.255.0
enable ipforwarding vlan switch1
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 1.1.1.1
enable ospf
configure ospf add vlan switch1 area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]
Switch2

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch2" vr vrtesti
configure vlan switch2 tag 5
create vlan "switch2hosti" vr vrtesti
configure vlan switch2 add ports 1 tagged
configure vlan switch2hosti add ports 2 untagged
configure vlan Mgmt ipaddress 172.16.56.13 255.255.255.0
configure vlan switch2 ipaddress 192.168.11.3 255.255.255.0
enable ipforwarding vlan switch2
configure vlan switch2hosti ipaddress 192.168.12.1 255.255.255.0
enable ipforwarding vlan switch2hosti
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 2.2.2.2
enable ospf
configure ospf add vlan switch2 area 0.0.0.0 link-type point-to-point
configure ospf add vlan switch2hosti area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]

Switch3 (acting as PC 192.168.12.9)
*
#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan Default add ports 1-7 untagged
configure vlan Default ipaddress 192.168.12.9 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.14 255.255.255.0

[/code]Switch1 OSPF & Routes info

* (vr vrtesti) lab9.sw1.3 # sh ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 1.1.1.1 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 5 ReceivedNewLSA : 6
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw1.4 # sh ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
2.2.2.2 1 FULL /DROTHER 00:00:55:34/00:00:00:04 192.168.11.3 switch1
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw1.5 # sh iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.2 1 U------um--f- switch1 0d:1h:45m:17s
#oa 192.168.12.0/24 192.168.11.3 10 UG-D---um--f- switch1 0d:0h:56m:8s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
1 routes from Direct 1 routes from OSPFIntra

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw1.6 #
[/code]
Switch2 OSPF & Routes info
* (vr vrtesti) lab9.sw2.4 # show ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 2.2.2.2 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 6 ReceivedNewLSA : 5
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw2.5 # show ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
1.1.1.1 1 FULL /DROTHER 00:00:59:40/00:00:00:04 192.168.11.2 switch2
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw2.6 # show iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.3 1 U------um--f- switch2 0d:1h:45m:34s
#d 192.168.12.0/24 192.168.12.1 1 U------um--f- switch2hosti 0d:1h:33m:30s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
2 routes from Direct

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw2.7 #

[/code]
Ok, wireshark can see the incoming packet, but says no response is found. Pretty confused what is causing this.

Userlevel 6
Petteri,

There must be some typo somewhere.

I've just fired 4 EXOS-VMs (SW0 and SW3 acting as your host PCs) and everything is working OK.

Here are the configs:

Switch0 (acting as PC 192.168.11.7)

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan default delete ports 2-7
configure vlan Default add ports 1 untagged
configure vlan Default ipaddress 192.168.11.7 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.11 255.255.255.0

#
# Module rtmgr configuration.
#
configure iproute add default 192.168.11.2
[/code]
Switch1

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch1" vr vrtesti
configure vlan switch1 tag 5
configure vlan switch1 add ports 2 tagged
configure vlan switch1 add ports 1 untagged
configure vlan Mgmt ipaddress 172.16.56.12 255.255.255.0
configure vlan switch1 ipaddress 192.168.11.2 255.255.255.0
enable ipforwarding vlan switch1
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 1.1.1.1
enable ospf
configure ospf add vlan switch1 area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]
Switch2

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch2" vr vrtesti
configure vlan switch2 tag 5
create vlan "switch2hosti" vr vrtesti
configure vlan switch2 add ports 1 tagged
configure vlan switch2hosti add ports 2 untagged
configure vlan Mgmt ipaddress 172.16.56.13 255.255.255.0
configure vlan switch2 ipaddress 192.168.11.3 255.255.255.0
enable ipforwarding vlan switch2
configure vlan switch2hosti ipaddress 192.168.12.1 255.255.255.0
enable ipforwarding vlan switch2hosti
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 2.2.2.2
enable ospf
configure ospf add vlan switch2 area 0.0.0.0 link-type point-to-point
configure ospf add vlan switch2hosti area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]

Switch3 (acting as PC 192.168.12.9)
*
#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan Default add ports 1-7 untagged
configure vlan Default ipaddress 192.168.12.9 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.14 255.255.255.0

[/code]Switch1 OSPF & Routes info

* (vr vrtesti) lab9.sw1.3 # sh ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 1.1.1.1 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 5 ReceivedNewLSA : 6
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw1.4 # sh ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
2.2.2.2 1 FULL /DROTHER 00:00:55:34/00:00:00:04 192.168.11.3 switch1
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw1.5 # sh iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.2 1 U------um--f- switch1 0d:1h:45m:17s
#oa 192.168.12.0/24 192.168.11.3 10 UG-D---um--f- switch1 0d:0h:56m:8s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
1 routes from Direct 1 routes from OSPFIntra

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw1.6 #
[/code]
Switch2 OSPF & Routes info
* (vr vrtesti) lab9.sw2.4 # show ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 2.2.2.2 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 6 ReceivedNewLSA : 5
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw2.5 # show ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
1.1.1.1 1 FULL /DROTHER 00:00:59:40/00:00:00:04 192.168.11.2 switch2
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw2.6 # show iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.3 1 U------um--f- switch2 0d:1h:45m:34s
#d 192.168.12.0/24 192.168.12.1 1 U------um--f- switch2hosti 0d:1h:33m:30s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
2 routes from Direct

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw2.7 #

[/code]
Are those VMs also or are they physical PCs?
Userlevel 1
Petteri,

There must be some typo somewhere.

I've just fired 4 EXOS-VMs (SW0 and SW3 acting as your host PCs) and everything is working OK.

Here are the configs:

Switch0 (acting as PC 192.168.11.7)

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan default delete ports 2-7
configure vlan Default add ports 1 untagged
configure vlan Default ipaddress 192.168.11.7 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.11 255.255.255.0

#
# Module rtmgr configuration.
#
configure iproute add default 192.168.11.2
[/code]
Switch1

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch1" vr vrtesti
configure vlan switch1 tag 5
configure vlan switch1 add ports 2 tagged
configure vlan switch1 add ports 1 untagged
configure vlan Mgmt ipaddress 172.16.56.12 255.255.255.0
configure vlan switch1 ipaddress 192.168.11.2 255.255.255.0
enable ipforwarding vlan switch1
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 1.1.1.1
enable ospf
configure ospf add vlan switch1 area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]
Switch2

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch2" vr vrtesti
configure vlan switch2 tag 5
create vlan "switch2hosti" vr vrtesti
configure vlan switch2 add ports 1 tagged
configure vlan switch2hosti add ports 2 untagged
configure vlan Mgmt ipaddress 172.16.56.13 255.255.255.0
configure vlan switch2 ipaddress 192.168.11.3 255.255.255.0
enable ipforwarding vlan switch2
configure vlan switch2hosti ipaddress 192.168.12.1 255.255.255.0
enable ipforwarding vlan switch2hosti
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 2.2.2.2
enable ospf
configure ospf add vlan switch2 area 0.0.0.0 link-type point-to-point
configure ospf add vlan switch2hosti area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]

Switch3 (acting as PC 192.168.12.9)
*
#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan Default add ports 1-7 untagged
configure vlan Default ipaddress 192.168.12.9 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.14 255.255.255.0

[/code]Switch1 OSPF & Routes info

* (vr vrtesti) lab9.sw1.3 # sh ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 1.1.1.1 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 5 ReceivedNewLSA : 6
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw1.4 # sh ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
2.2.2.2 1 FULL /DROTHER 00:00:55:34/00:00:00:04 192.168.11.3 switch1
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw1.5 # sh iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.2 1 U------um--f- switch1 0d:1h:45m:17s
#oa 192.168.12.0/24 192.168.11.3 10 UG-D---um--f- switch1 0d:0h:56m:8s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
1 routes from Direct 1 routes from OSPFIntra

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw1.6 #
[/code]
Switch2 OSPF & Routes info
* (vr vrtesti) lab9.sw2.4 # show ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 2.2.2.2 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 6 ReceivedNewLSA : 5
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw2.5 # show ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
1.1.1.1 1 FULL /DROTHER 00:00:59:40/00:00:00:04 192.168.11.2 switch2
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw2.6 # show iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.3 1 U------um--f- switch2 0d:1h:45m:34s
#d 192.168.12.0/24 192.168.12.1 1 U------um--f- switch2hosti 0d:1h:33m:30s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
2 routes from Direct

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw2.7 #

[/code]
They are VM's
Userlevel 6
Petteri,

There must be some typo somewhere.

I've just fired 4 EXOS-VMs (SW0 and SW3 acting as your host PCs) and everything is working OK.

Here are the configs:

Switch0 (acting as PC 192.168.11.7)

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan default delete ports 2-7
configure vlan Default add ports 1 untagged
configure vlan Default ipaddress 192.168.11.7 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.11 255.255.255.0

#
# Module rtmgr configuration.
#
configure iproute add default 192.168.11.2
[/code]
Switch1

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch1" vr vrtesti
configure vlan switch1 tag 5
configure vlan switch1 add ports 2 tagged
configure vlan switch1 add ports 1 untagged
configure vlan Mgmt ipaddress 172.16.56.12 255.255.255.0
configure vlan switch1 ipaddress 192.168.11.2 255.255.255.0
enable ipforwarding vlan switch1
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 1.1.1.1
enable ospf
configure ospf add vlan switch1 area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]
Switch2

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch2" vr vrtesti
configure vlan switch2 tag 5
create vlan "switch2hosti" vr vrtesti
configure vlan switch2 add ports 1 tagged
configure vlan switch2hosti add ports 2 untagged
configure vlan Mgmt ipaddress 172.16.56.13 255.255.255.0
configure vlan switch2 ipaddress 192.168.11.3 255.255.255.0
enable ipforwarding vlan switch2
configure vlan switch2hosti ipaddress 192.168.12.1 255.255.255.0
enable ipforwarding vlan switch2hosti
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 2.2.2.2
enable ospf
configure ospf add vlan switch2 area 0.0.0.0 link-type point-to-point
configure ospf add vlan switch2hosti area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]

Switch3 (acting as PC 192.168.12.9)
*
#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan Default add ports 1-7 untagged
configure vlan Default ipaddress 192.168.12.9 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.14 255.255.255.0

[/code]Switch1 OSPF & Routes info

* (vr vrtesti) lab9.sw1.3 # sh ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 1.1.1.1 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 5 ReceivedNewLSA : 6
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw1.4 # sh ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
2.2.2.2 1 FULL /DROTHER 00:00:55:34/00:00:00:04 192.168.11.3 switch1
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw1.5 # sh iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.2 1 U------um--f- switch1 0d:1h:45m:17s
#oa 192.168.12.0/24 192.168.11.3 10 UG-D---um--f- switch1 0d:0h:56m:8s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
1 routes from Direct 1 routes from OSPFIntra

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw1.6 #
[/code]
Switch2 OSPF & Routes info
* (vr vrtesti) lab9.sw2.4 # show ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 2.2.2.2 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 6 ReceivedNewLSA : 5
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw2.5 # show ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
1.1.1.1 1 FULL /DROTHER 00:00:59:40/00:00:00:04 192.168.11.2 switch2
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw2.6 # show iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.3 1 U------um--f- switch2 0d:1h:45m:34s
#d 192.168.12.0/24 192.168.12.1 1 U------um--f- switch2hosti 0d:1h:33m:30s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
2 routes from Direct

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw2.7 #

[/code]
Do you know that you can capture traffic inside VirtualBox?

You can configure what VB calls network tracing with the following command:
vboxmanage modifyvm --nictraceX on --nictracefileX .pcap

To disable it use:
vboxmanage modifyvm --nictraceX off

That way you can check what's going on at different places in your network...

Can you also post the vboxmanage showvminfo of your Windows PCs?
Userlevel 1
Petteri,

There must be some typo somewhere.

I've just fired 4 EXOS-VMs (SW0 and SW3 acting as your host PCs) and everything is working OK.

Here are the configs:

Switch0 (acting as PC 192.168.11.7)

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan default delete ports 2-7
configure vlan Default add ports 1 untagged
configure vlan Default ipaddress 192.168.11.7 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.11 255.255.255.0

#
# Module rtmgr configuration.
#
configure iproute add default 192.168.11.2
[/code]
Switch1

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch1" vr vrtesti
configure vlan switch1 tag 5
configure vlan switch1 add ports 2 tagged
configure vlan switch1 add ports 1 untagged
configure vlan Mgmt ipaddress 172.16.56.12 255.255.255.0
configure vlan switch1 ipaddress 192.168.11.2 255.255.255.0
enable ipforwarding vlan switch1
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 1.1.1.1
enable ospf
configure ospf add vlan switch1 area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]
Switch2

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch2" vr vrtesti
configure vlan switch2 tag 5
create vlan "switch2hosti" vr vrtesti
configure vlan switch2 add ports 1 tagged
configure vlan switch2hosti add ports 2 untagged
configure vlan Mgmt ipaddress 172.16.56.13 255.255.255.0
configure vlan switch2 ipaddress 192.168.11.3 255.255.255.0
enable ipforwarding vlan switch2
configure vlan switch2hosti ipaddress 192.168.12.1 255.255.255.0
enable ipforwarding vlan switch2hosti
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 2.2.2.2
enable ospf
configure ospf add vlan switch2 area 0.0.0.0 link-type point-to-point
configure ospf add vlan switch2hosti area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]

Switch3 (acting as PC 192.168.12.9)
*
#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan Default add ports 1-7 untagged
configure vlan Default ipaddress 192.168.12.9 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.14 255.255.255.0

[/code]Switch1 OSPF & Routes info

* (vr vrtesti) lab9.sw1.3 # sh ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 1.1.1.1 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 5 ReceivedNewLSA : 6
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw1.4 # sh ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
2.2.2.2 1 FULL /DROTHER 00:00:55:34/00:00:00:04 192.168.11.3 switch1
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw1.5 # sh iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.2 1 U------um--f- switch1 0d:1h:45m:17s
#oa 192.168.12.0/24 192.168.11.3 10 UG-D---um--f- switch1 0d:0h:56m:8s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
1 routes from Direct 1 routes from OSPFIntra

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw1.6 #
[/code]
Switch2 OSPF & Routes info
* (vr vrtesti) lab9.sw2.4 # show ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 2.2.2.2 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 6 ReceivedNewLSA : 5
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw2.5 # show ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
1.1.1.1 1 FULL /DROTHER 00:00:59:40/00:00:00:04 192.168.11.2 switch2
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw2.6 # show iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.3 1 U------um--f- switch2 0d:1h:45m:34s
#d 192.168.12.0/24 192.168.12.1 1 U------um--f- switch2hosti 0d:1h:33m:30s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
2 routes from Direct

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw2.7 #

[/code]
OK, I got it. It was windows firewall in the VM :)

I totally forgot that they have integrated firewall's since I have used F-Secure for ages.

Now the windows machines can communicate.

Actually I was not aware that it is possible to capture traffic in virtualbox, that is very handy indeed!
Userlevel 6
Petteri,

There must be some typo somewhere.

I've just fired 4 EXOS-VMs (SW0 and SW3 acting as your host PCs) and everything is working OK.

Here are the configs:

Switch0 (acting as PC 192.168.11.7)

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan default delete ports 2-7
configure vlan Default add ports 1 untagged
configure vlan Default ipaddress 192.168.11.7 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.11 255.255.255.0

#
# Module rtmgr configuration.
#
configure iproute add default 192.168.11.2
[/code]
Switch1

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch1" vr vrtesti
configure vlan switch1 tag 5
configure vlan switch1 add ports 2 tagged
configure vlan switch1 add ports 1 untagged
configure vlan Mgmt ipaddress 172.16.56.12 255.255.255.0
configure vlan switch1 ipaddress 192.168.11.2 255.255.255.0
enable ipforwarding vlan switch1
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 1.1.1.1
enable ospf
configure ospf add vlan switch1 area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]
Switch2

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch2" vr vrtesti
configure vlan switch2 tag 5
create vlan "switch2hosti" vr vrtesti
configure vlan switch2 add ports 1 tagged
configure vlan switch2hosti add ports 2 untagged
configure vlan Mgmt ipaddress 172.16.56.13 255.255.255.0
configure vlan switch2 ipaddress 192.168.11.3 255.255.255.0
enable ipforwarding vlan switch2
configure vlan switch2hosti ipaddress 192.168.12.1 255.255.255.0
enable ipforwarding vlan switch2hosti
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 2.2.2.2
enable ospf
configure ospf add vlan switch2 area 0.0.0.0 link-type point-to-point
configure ospf add vlan switch2hosti area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]

Switch3 (acting as PC 192.168.12.9)
*
#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan Default add ports 1-7 untagged
configure vlan Default ipaddress 192.168.12.9 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.14 255.255.255.0

[/code]Switch1 OSPF & Routes info

* (vr vrtesti) lab9.sw1.3 # sh ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 1.1.1.1 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 5 ReceivedNewLSA : 6
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw1.4 # sh ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
2.2.2.2 1 FULL /DROTHER 00:00:55:34/00:00:00:04 192.168.11.3 switch1
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw1.5 # sh iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.2 1 U------um--f- switch1 0d:1h:45m:17s
#oa 192.168.12.0/24 192.168.11.3 10 UG-D---um--f- switch1 0d:0h:56m:8s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
1 routes from Direct 1 routes from OSPFIntra

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw1.6 #
[/code]
Switch2 OSPF & Routes info
* (vr vrtesti) lab9.sw2.4 # show ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 2.2.2.2 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 6 ReceivedNewLSA : 5
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw2.5 # show ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
1.1.1.1 1 FULL /DROTHER 00:00:59:40/00:00:00:04 192.168.11.2 switch2
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw2.6 # show iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.3 1 U------um--f- switch2 0d:1h:45m:34s
#d 192.168.12.0/24 192.168.12.1 1 U------um--f- switch2hosti 0d:1h:33m:30s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
2 routes from Direct

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw2.7 #

[/code]
Good to know things are working ok now.

This is great troubleshooting practice! THat's why I love these little things.
Userlevel 1
Petteri,

There must be some typo somewhere.

I've just fired 4 EXOS-VMs (SW0 and SW3 acting as your host PCs) and everything is working OK.

Here are the configs:

Switch0 (acting as PC 192.168.11.7)

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan default delete ports 2-7
configure vlan Default add ports 1 untagged
configure vlan Default ipaddress 192.168.11.7 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.11 255.255.255.0

#
# Module rtmgr configuration.
#
configure iproute add default 192.168.11.2
[/code]
Switch1

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch1" vr vrtesti
configure vlan switch1 tag 5
configure vlan switch1 add ports 2 tagged
configure vlan switch1 add ports 1 untagged
configure vlan Mgmt ipaddress 172.16.56.12 255.255.255.0
configure vlan switch1 ipaddress 192.168.11.2 255.255.255.0
enable ipforwarding vlan switch1
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 1.1.1.1
enable ospf
configure ospf add vlan switch1 area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]
Switch2

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 3-7
create vr "vrtesti"
configure vr vrtesti add ports 1-2
configure vlan default delete ports 1-7
create vlan "switch2" vr vrtesti
configure vlan switch2 tag 5
create vlan "switch2hosti" vr vrtesti
configure vlan switch2 add ports 1 tagged
configure vlan switch2hosti add ports 2 untagged
configure vlan Mgmt ipaddress 172.16.56.13 255.255.255.0
configure vlan switch2 ipaddress 192.168.11.3 255.255.255.0
enable ipforwarding vlan switch2
configure vlan switch2hosti ipaddress 192.168.12.1 255.255.255.0
enable ipforwarding vlan switch2hosti
configure vr vrtesti add protocol ospf

#
# Module ospf configuration on virtual router vrtesti.
#
virtual-router vrtesti
configure ospf routerid 2.2.2.2
enable ospf
configure ospf add vlan switch2 area 0.0.0.0 link-type point-to-point
configure ospf add vlan switch2hosti area 0.0.0.0 link-type point-to-point
virtual-router VR-Default
[/code]

Switch3 (acting as PC 192.168.12.9)
*
#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-7
configure vr VR-Default add ports 1-7
configure vlan Default add ports 1-7 untagged
configure vlan Default ipaddress 192.168.12.9 255.255.255.0
configure vlan Mgmt ipaddress 172.16.56.14 255.255.255.0

[/code]Switch1 OSPF & Routes info

* (vr vrtesti) lab9.sw1.3 # sh ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 1.1.1.1 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 5 ReceivedNewLSA : 6
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw1.4 # sh ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
2.2.2.2 1 FULL /DROTHER 00:00:55:34/00:00:00:04 192.168.11.3 switch1
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw1.5 # sh iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.2 1 U------um--f- switch1 0d:1h:45m:17s
#oa 192.168.12.0/24 192.168.11.3 10 UG-D---um--f- switch1 0d:0h:56m:8s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
1 routes from Direct 1 routes from OSPFIntra

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw1.6 #
[/code]
Switch2 OSPF & Routes info
* (vr vrtesti) lab9.sw2.4 # show ospf

OSPF : Enabled MPLS LSP as Next-Hop: No
RouterId : 2.2.2.2 RouterId Selection : Configured
ASBR : No ABR : No
ExtLSA : 0 ExtLSAChecksum : 0x0
OriginateNewLSA : 6 ReceivedNewLSA : 5
SpfHoldTime : 3 Lsa Batch Interval : 30s
CapabilityOpaqueLSA : Enabled
10M Cost : 10 100M Cost : 5
1000M Cost (1G) : 4 10000M Cost (10G) : 2
40000M Cost (40G) : 2
100000M Cost (100G) : 1
Router Alert : Disabled Import Policy File :
ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0)
Originate Default : Disabled
SNMP Traps : Disabled
Redistribute:
Protocol Status cost Type Tag Policy
direct Disabled 0 0 0 None
static Disabled 0 0 0 None
rip Disabled 0 0 0 None
e-bgp Disabled 0 0 0 None
i-bgp Disabled 0 0 0 None
isis-level-1 Disabled 0 0 0 None
isis-level-2 Disabled 0 0 0 None
isis-level-1-external Disabled 0 0 0 None
isis-level-2-external Disabled 0 0 0 None
* (vr vrtesti) lab9.sw2.5 # show ospf neighbor
Neighbor ID Pri State Up/Dead Time Address Interface
BFD Session State
==========================================================================================
1.1.1.1 1 FULL /DROTHER 00:00:59:40/00:00:00:04 192.168.11.2 switch2
None

Total number of neighbors: 1 (All neighbors in Full state)

* (vr vrtesti) lab9.sw2.6 # show iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#d 192.168.11.0/24 192.168.11.3 1 U------um--f- switch2 0d:1h:45m:34s
#d 192.168.12.0/24 192.168.12.1 1 U------um--f- switch2hosti 0d:1h:33m:30s

(mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2,
(oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM,
(r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (un) UnKnown,
(*) Preferred unicast route (@) Preferred multicast route,
(#) Preferred unicast and multicast route.

Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic,
(f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP,
(L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing,
(R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP,
(T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route.

MPLS Label: (S) Bottom of Label Stack
Mask distribution:
2 routes at length 24

Route Origin distribution:
2 routes from Direct

Total number of routes = 2
Total number of compressed routes = 0

* (vr vrtesti) lab9.sw2.7 #

[/code]
Indeed! Thanks, you were very helpful 🙂
Userlevel 7
if you can ping host1 to host2, and not vice-versa, the issue must be in some typo (wrong addressing somewhere in between so you're not actually pinging host2, but something else) or wrong link configuration on VB.

Reply