On 05/07/2015 09:13 AM, Yedidyah Bar David wrote:
(Ccing users list)
----- Original Message -----
> From: "mike" <mike(a)inguera.com>
> To: "Yedidyah Bar David" <didi(a)redhat.com>
> Sent: Thursday, May 7, 2015 4:16:54 AM
> Subject: Re: hosted engine vm network access
>
> Hello
>
>
> Thank you for your answers.
>
> i tried everything from the beginning with the same probleme, i can ping
> my Centos7 Server but i cannot not have internet access neither to my GW
> on the created vm by hosted-engine --deploy. i can ONLY ping my centos 7
> server
>
>
> I have one Centos7 server installed and updated
>
> 1 NIC eth0 at 192.168.42.114/24
But you wrote below that you have also eth1 ?
i have no more eth1 because i reinstall everything from the beginning
with no eth1. ust once NIC eth0
> i installed the ovirt repo
>
> i run hosted-engine, follow the questions, i set bridge at eth0 and set
> the FQDN of the vm at hevm.lab.lan (which is present in the /etc/hosts
> file of my Centos7 server with ip 192.168.42.116)
>
> i can see on my Centos7 Server that i have a new interface named
> ovirtmgmgt with the the ip previously set for eth0 and now eth0 has no
> ip address but i can still ssh to my centos7 serverthrough ovirtmgmt
> interface i presume...
Indeed - this is a normal linux bridge
>
> here is my bridge conf of my centos7 server
>
> #brctl show
> bridge name bridge id STP enabled interfaces
> ;vdsmdummy; 8000.000000000000 no
> ovirtmgmt 8000.000c29de8495 no eth0
>
>
>
> Once my VM is created (hevm.lab.lan), i connect to it again through vnc
> and i set an ip address manualy like:
> # ifconfig eth0 192.168.42.116/24
> # route add default gw 192.168.42.254
>
>
> to resume, i can only ping my centos7 server and no other host on the
> same subnet and no internet access.
I assume you can only ping the address of the ovirtmgmt bridge (192.168.42.114).
Right
Can you ping the address of eth1?
i have no eth1
>
> i hope i explained my problemin a maner that you could help me.
Still not enough details.
Where are eth0 and eth1 connected?
i have a GW @192.168.42.254
my centosServer7 @192.168.42.114 (eth0)
my CentosServer7-2 @192.168.42.115 (eth0) for the clustering but no yet
configured.....i will set it up after i have installed the hosted-engine vm
nothing more
Please provide the details I asked for below. Thanks!
Best regards,
>
> sorry for my english
>
>
> thank you for the help.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On 05/06/2015 07:37 AM, Yedidyah Bar David wrote:
>> ----- Original Message -----
>>> From: "mike" <mike(a)inguera.com>
>>> To: sbonazzo(a)redhat.com
>>> Cc: didi(a)redhat.com
>>> Sent: Tuesday, May 5, 2015 7:29:48 PM
>>> Subject: hosted engine vm network access
>>>
>>> Hie.
>>>
>>> i've been asked to email you instead of asking on the #ovirt channel.
>> That's fine, but usually in such cases people are supposed/advised to
>> email users(a)ovirt.org, Ccing specific people if needed/relevant :-)
>>
>>> i have followed this instructions:
>>>
http://community.redhat.com/blog/2014/10/up-and-running-with-ovirt-3-5/
>>>
>>> the only differences are the IP addresse/mapping names of the begining
>>>
>>> _once i have installed the hosted engine through hosted-engine --deploy,
>>> i connect to it using vnc but i cannot have internet access to install
>>> the engine from ovirt repo neither ping my Main host_
>>>
>>> i have:
>>>
>>> 192.168.42.116 virt1 virt1.lab.lan nfsmount nfsmount.lab.lan
>>> 192.168.42.117 hevm hevm.lab.lan # this is the ip i would like
>>> to set for the hosted engine VM
>> You mean, you have this in /etc/hosts of all relevant machines?
>>
>>> on my Main Host cento7, i have
>>>
>>> eth1-> 192.168.42.116 (managment NIC for ssh access and nfs server)
>>> eth0-> with nothing
>>> ovirtmgmt-> 192.168.42.114
>> Which includes eth0? What's the output of 'brctl show'?
>>
>> Are eth0 and eth1 on the same switch/segment?
>>
>> What's the subnet of each?
>>
>>> bond0-> with nothing
>> That's normal
>>
>>> can you please help me?
>> What do you have on the engine VM?
>>
>> Can you ssh to the engine from the host? Or the other direction?
>>
>> Please check both addresses of the host.
>>
>> I am not sure, but for the engine VM to access 192.168.42.116, you might
>> need to add some routing somewhere.
>>
>> I'd say this isn't related to hosted-engine, but some general networking
>> issue. If you fail to diagnose this at this point, you can try to simply
>> boot some live cd in a VM (e.g. using virt-install or even qemu directly)
>> and debug from there. Once you have it working, start hosted-engine again.
>>
>> Please check (or post, if you want us to help) all relevant information,
>> including the above, and also things such as:
>>
>> Routing table of host/vm, and of all relevant routers
>>
>> Do you use dhcp? Does it work? On host/engine?
>>
>> Did you enable ip forwarding on the host (cat
>> /proc/sys/net/ipv4/ip_forward)?
>>
>> After you try ssh/ping, arp table on host/engine (arp -an)
>>
>> Check iptables config/logs
>>
>> Etc.
>>
>> Good luck.
>>
>> If you fail to solve this yourself, please Cc users@ with your reply.
>>
>> Thanks!
>>
>> Best,
>