cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmad Emneina <Ahmad.Emne...@citrix.com>
Subject Re: How to set up Bridged Network?
Date Mon, 17 Sep 2012 22:07:36 GMT
Can you show me the output of brctl for the hosts. Were you able to ping the gateway from within
the vm?

On 9/16/12 9:34 PM, "이창만" <cm224.lee@samsung.com<mailto:cm224.lee@samsung.com>>
wrote:

Dear, Ahmad.

Sorry, I don’t know well network. I’m beginner concerning Network.
I report $ ip route show command.
Do you have any clue?

lcm@lcm:~$ ip route show
default via xx.xx.xxx.1 dev eth0  proto static
default via 192.168.2.1 dev eth1  metric 100
xx.xx.xxx.0/23 dev eth0  proto kernel  scope link  src xx.xx.xxx.xxx  metric 1
169.254.0.0/16 dev eth1  scope link  metric 1000
192.168.2.0/24 dev eth1  proto kernel  scope link  src 192.168.2.1


zeus@manager:~$ ip route show
192.168.2.0/24 dev eth1  proto kernel  scope link  src 192.168.2.2
192.168.122.0/24 dev virbr0  proto kernel  scope link  src 192.168.122.1
169.254.0.0/16 dev eth1  scope link  metric 1000
default via 192.168.2.1 dev eth1  metric 100


zeus@node1:~$ ip route show
192.168.2.0/24 dev cloudbr0  proto kernel  scope link  src 192.168.2.10
192.168.122.0/24 dev virbr0  proto kernel  scope link  src 192.168.122.1
169.254.0.0/16 dev cloud0  proto kernel  scope link  src 169.254.0.1
default via 192.168.2.1 dev cloudbr0  metric 100


zeus@node2:~$ ip route show
192.168.2.0/24 dev cloudbr0  proto kernel  scope link  src 192.168.2.11
192.168.122.0/24 dev virbr0  proto kernel  scope link  src 192.168.122.1
169.254.0.0/16 dev cloud0  proto kernel  scope link  src 169.254.0.1
default via 192.168.2.1 dev cloudbr0  metric 100


zeus@vm1:~$ ip route show
192.168.2.0/24 dev eth0 proto kernel scope link src 192.168.2.22 metric 1
169.254.0.0/16 dev eth0 scope link metric 1000
default via 192.168.2.1 dev eth0 proto static





Regards.



------- Original Message -------

Sender : Ahmad Emneina<Ahmad.Emneina@citrix.com<mailto:Ahmad.Emneina@citrix.com>>

Date : 2012-09-15 01:39 (GMT+09:00)

Title : Re: How to set up Bridged Network?



Is the shared network 192.168.2.x/24 on a vlan? If so is that trunked to host2? Can you log
into that vm2, make sure the guest has an ip and can ping its respective gateway?

On 9/14/12 2:19 AM, "이창만" <cm224.lee@samsung.com<mailto:cm224.lee@samsung.com>>
wrote:


Thanks, Ahmad.

My test VM1 is running on Host2.

I've tried to connect VM1 from Host1 using ssh but I've failed.

Of course, connection from Host2 is successful.

My test VM1 has setting of NICs such as

IP addr : 192.168.2.22

Type : Shared

Gateway : 192.168.2.1

Netmask : 255.255.255.0

Is Default : Yes

Why can't I connect to VM1 from External?

I think that VM1 is connected to cloudbr0 (192.168.2.11) on Host2 where is running VM1.

So on Host2 I can connect to VM1 but can't connect to VM1 from Host1. Right?

Regard.



------- Original Message -------

Sender : Ahmad Emneina<Ahmad.Emneina@citrix.com<mailto:Ahmad.Emneina@citrix.com>>

Date : 2012-09-14 09:41 (GMT+09:00)

Title : Re: How to set up Bridged Network?



You want everything on a routable l2 network? Is that the understanding?
If so you might want to research 'basic zones' and/or shared networks.
Bridged networking is not needed from my understanding.

On 9/13/12 4:04 PM, "Changman Lee" wrote:

>Hello.
>
>I want to connect to VMs using ssh from External (e.g. another VM or My
>PC).
>My plan is hadoop installation on VMs.
>
>I know that bridged network is needed.
>
>My network configuration is following:
>
>     My PC
>(eth0: public IP)
>(eth1: 192.168.2.1) <---->   HUB   <----> Management Server (ip:
>192.168.2.2, gw: 192.168.2.1)
>                                             <-----> Host1 (ip:
>192.168.2.10, gw: 192.168.2.1)
>                                             <-----> Host2 (ip:
>192.168.2.11, gw: 192.168.2.1)
>
>
>Could you tell me how to setup bridged network?
>
>
>Regard.
>
>


--
Æ













--
Æ







[cid:Z5JE7EUABGFC@namo.co.kr]





--
Æ
Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message