Ping works only one-way to host in VM virtualbox
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎04-15-2015 12:46 PM
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
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 32
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎04-15-2015 12:57 PM
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!
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!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎04-15-2015 12:57 PM
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
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎04-15-2015 12:55 PM
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:
I may be missing something else, but I wanted to get a response out to you before my next meeting 🙂
-Drew
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
