Ask Your Question
0

Verify communication in chain network topology

asked 2018-01-03 06:55:55 -0500

garyphone gravatar image

updated 2018-01-09 04:18:04 -0500

Dear guys, I have built a chain topology in OpenStack. A simple example is 3 nodes and 2 edges connection like below:

O1--X--O2--X--O3

O1, O2, O3 are networks, X means router.

By using the VM(cirros image) I could verify O1 and O2, O2 and O3 are communicated. (ping the ip addresses for each other)

But I could not verify the communication between O1 and O3, theoretically they should be connected for each other.

Update(9.1.2018):

About aforementioned chain O1--X--O2--X--O3, I have solved this problem by setting gateway in router config.

But when the chain topology likes below:

O1--X--O2--X--O3--X--O4,

I have tried to set the gateways in router X1, X2, X3, but I could not ping the O4 ip address.

I guess the method should be similar. But it does not work.

I do not know why, and how to verify O1 could communicate to O4.

I am looking for your help to explain. Thanks.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-01-04 02:16:16 -0500

Need to configure routes in first router X1 to redirect traffic from O1 to O3 though X2 gateway, same reverse traffic X2 -> X1 gateway

Assuming:

01 network 192.168.1.0/24
02 network 192.168.2.0/24
03 network 192.168.3.0/24
X1 router 192.168.1.1 and 192.168.2.1 interfaces
X2 router 192.168.2.3 and 192.168.3.1 interfaces

O1 (ping 192.168.3.4) -> X1 router (route to X2 gateway 192.168.2.1) -> X2 -> 192.168.3.4

In routers config network routes:

X1:

192.168.3.0/24 to 192.168.2.3 router's gateway through 192.168.2.1 interface

X2:

192.168.1.0/24 to 192.168.2.3 router's gateway 192.168.2.1 through 192.168.2.3 interface

Regards

edit flag offensive delete link more

Comments

thanks for your reply, eduardo. I know how to do that. It works..

garyphone gravatar imagegaryphone ( 2018-01-04 02:52:48 -0500 )edit

dear @Eduardo Gonzalez, may i ask additionally about the routing loop problem, like this https://ask.openstack.org/en/question/111779/routing-loop-problem-in-cube-network-topology/ (question) Thanks deeply.

garyphone gravatar imagegaryphone ( 2018-01-08 03:55:00 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2018-01-03 06:55:55 -0500

Seen: 50 times

Last updated: Jan 09