[Openstack] RDO, Can't ping Gateway, etc.

Remo Mattei remo at italy1.com
Mon May 30 04:37:45 UTC 2016


if that’s your external network then  yes. restart network and see if you machine can go out..
> On May 30, 2016, at 07:36, Thales <thaleslv at yahoo.com> wrote:
> 
> Hello Remo,
> 
> I changed them as follows.  Is this what you meant?
> 
> DEVICE=br-ex
> DEVICETYPE=ovs
> TYPE=OVSBridge
> IPADDR=192.168.1.12
> PREFIX=27
> GATEWAY=192.168.1.1
> DNS1=8.8.8.8
> DNS2=8.8.4.4
> ONBOOT=yes
> 
> DEFROUTE=yes
> DEVICE="enp0s3"
> NAME="enp0s3"
> TYPE=OVSPort
> DEVICETYPE=ovs
> OVS_BRIDGE=br-ex
> ONBOOT="yes
> 
> 
> Nothing has changed.  I'm still not able to ping the gateway from the virtual router namespace.
> 
> ...John
> 
> 
> 
> On Sunday, May 29, 2016 9:49 PM, Remo Mattei <Remo at Italy1.com> wrote:
> 
> 
> Replace the ips with yours of course but keep the lines of what I sent you 
> 
> Inviato da iPhone
> 
> Il giorno 30 mag 2016, alle ore 05:45, Thales <thaleslv at yahoo.com <mailto:thaleslv at yahoo.com>> ha scritto:
> 
>> Thanks, Remo.
>> 
>> I'm confused, though.   Isn't your gateway a netmask?   Or do you want me to substitute my gateway into it?  Also, I should use enp0s3 instead of eth1?    And the ipaddr should be my machine's ipaddress?
>> 
>> 
>> 
>> ...John
>> 
>> 
>> On Sunday, May 29, 2016 3:42 PM, Remo Mattei <remo at italy1.com <mailto:remo at italy1.com>> wrote:
>> 
>> 
>> try this
>> 
>> 
>> DEVICE=br-ex
>> TYPE=OVSBridge
>> DEVICETYPE=ovs
>> ONBOOT=yes
>> IPADDR=200.100.100.100
>> GATEWAY=255.255.255.254
>> PREFIX=27
>> DNS1=8.8.8.8
>> 
>> 
>> DEFROUTE=yes
>> NAME="System eth1"
>> DEVICE=eth1
>> TYPE=OVSPort
>> DEVICETYPE=ovs
>> OVS_BRIDGE=br-ex
>> ONBOOT=yes
>> 
>> 
>>> On May 29, 2016, at 21:59, Thales <thaleslv at yahoo.com <mailto:thaleslv at yahoo.com>> wrote:
>>> 
>>> Remo,
>>> 
>>> Okay!
>>> 
>>> Here is the ifcfg-enp0s3 file:
>>> 
>>> 
>>> DEVICE="enp0s3"
>>> NAME="enp0s3"
>>> HWADDR=08:00:27:3F:5C:38
>>> BOOTPROTO="none"
>>> TYPE=OVSPort
>>> DEVICETYPE=ovs
>>> OVS_BRIDGE=br-ex
>>> ONBOOT="yes"
>>> NM_CONTROLLED=no
>>> UUID=564f39b1-c69f-46d0-a728-54f667b922f
>>> 
>>> 
>>> 
>>> Here is the ifcfg-br-ex file:
>>> 
>>> DEVICE=br-ex
>>> DEVICETYPE=ovs
>>> TYPE=OVSBridge
>>> BOOTPROTO=static
>>> IPADDR=192.168.1.12
>>> NETMASK=255.255.255.0
>>> GATEWAY=192.168.1.1
>>> DNS1=205.171.3.66
>>> DNS2=205.171.202.166
>>> ONBOOT=yes
>>> NM_CONTROLLED=no
>>> IPV6INIT=n
>>> 
>>> 
>>> 
>>> ...John
>>> 
>>> 
>>> On Sunday, May 29, 2016 3:07 AM, Remo Mattei <remo at italy1.com <mailto:remo at italy1.com>> wrote:
>>> 
>>> 
>>> can you share the ifcfg-enp0s3 and the ifcfg-br-ex?
>>> 
>>> Thanks..
>>> 
>>> 
>>>> On May 29, 2016, at 08:20, Thales <thaleslv at yahoo.com <mailto:thaleslv at yahoo.com>> wrote:
>>>> 
>>>> Remo,
>>>> 
>>>> I ran ovs-vsctl show
>>>> 
>>>> Here is the output for br-ex:
>>>> 
>>>>     Bridge br-ex
>>>>         Port "enp0s3"
>>>>             Interface "enp0s3"
>>>>         Port "qg-eb921913-b5"
>>>>             Interface "qg-eb921913-b5"
>>>>                 type: internal
>>>>         Port phy-br-ex
>>>>             Interface phy-br-ex
>>>>                 type: patch
>>>>                 options: {peer=int-br-ex}
>>>>         Port br-ex
>>>>             Interface br-ex
>>>>                 type: internal
>>>> 
>>>> It's connected to the enp0s3 interface (Centos 7's interface), the br-ex interface, and to the virtual router.
>>>> 
>>>> 
>>>> About the output of ovs:
>>>> 
>>>> I'm not sure what you mean exactly.  If I ping from the virtual router namespace, I can reach 192.168.1.11 (host os) and 192.168.1.12 (guest os).    
>>>> 
>>>> tcpdump shows that the enp0S3 port detects the 192.168.1.11 ping.
>>>> The br-ex port detects the 192.168.1.12 ping.
>>>> 
>>>> 
>>>> ...John
>>>> 
>>>> On Saturday, May 28, 2016 10:18 PM, Remo Mattei <Remo at Italy1.com <mailto:Remo at italy1.com>> wrote:
>>>> 
>>>> 
>>>> What's the config on your external bridge and the output of your ovs?
>>>> 
>>>> Inviato da iPhone
>>>> 
>>>> Il giorno 29 mag 2016, alle ore 02:23, Thales <thaleslv at yahoo.com <mailto:thaleslv at yahoo.com>> ha scritto:
>>>> 
>>>>> When I ping 192.168.1.1 from my root namespace, there is a reply.     Pinging 193.128.1.2 gets no reply.   Also, my physical router is reachable at 192.168.1.1, because I configure it via browser with that local IP.
>>>>> 
>>>>> Thanks for your reply, Remo!
>>>>> 
>>>>> ...John
>>>>> 
>>>>> On Saturday, May 28, 2016 2:49 PM, Remo Mattei <Remo at Italy1.com <mailto:Remo at italy1.com>> wrote:
>>>>> 
>>>>> 
>>>>> Maybe your gateway is .2 and not .1 did you try that. If that's the case you need to change that in your openstack config so you can get out 
>>>>> 
>>>>> Inviato da iPhone
>>>>> 
>>>>> Il giorno 28 mag 2016, alle ore 12:38, Thales <thaleslv at yahoo.com <mailto:thaleslv at yahoo.com>> ha scritto:
>>>>> 
>>>>>> Hello,
>>>>>> 
>>>>>>    I have RDO ALL-In-One installed.    I set up a private network and a public (external) network.     I set up a virtual router to connect the private network to the external network.    I have RDO installed on Centos 7 as a guest.  Windows 10 is my host OS.
>>>>>> 
>>>>>> When I move into the virtual router's namespace, I can ping the guest os's IP address (192.168.1.12) and I can ping the host os's address (192.168.1.11), but when I try to ping the gateway (192.168.1.1) it tells me it is unreachable.  It also fails when I try to ping google.com <http://google.com/>
>>>>>> 
>>>>>>   I can ping the gateway and google.com <http://google.com/> from the root namespace of the guest os, centos 7.
>>>>>> 
>>>>>>    RDO uses Open vSwitch.
>>>>>> 
>>>>>>  I'd appreciate any help on this problem!
>>>>>> 
>>>>>>   Thanks!
>>>>>>   ...John
>>>>>> _______________________________________________
>>>>>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>
>>>>>> Post to     : openstack at lists.openstack.org <mailto:openstack at lists.openstack.org>
>>>>>> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>
>>>>>> 
>>>>>> 
>>>>>> 
>>>>> 
>>>>> 
>>>> 
>>>> 
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> 
>>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>
>>> Post to     : openstack at lists.openstack.org <mailto:openstack at lists.openstack.org>
>>> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>
>>> 
>>> 
>>> !DSPAM:1,574b4059265991592320407!
>>> 
>> 
>> 
>> 
>> 
>> !DSPAM:1,574ba956261066828414661!
> 
> 
> !DSPAM:1,574bc3603361444919808!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160530/d3ca02fd/attachment.html>


More information about the Openstack mailing list