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

Thales thaleslv at yahoo.com
Mon May 30 04:42:08 UTC 2016


I did restart and try.    Remember, I can ping out from the root namespace, but I can't ping out from the virtual router namespace, except to the host and guest OSs.   This has always been the problem.    I hope that was clear?

Thanks!...John 

    On Sunday, May 29, 2016 11:37 PM, Remo Mattei <remo at italy1.com> wrote:
 

 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-exDEVICETYPE=ovsTYPE=OVSBridgeIPADDR=192.168.1.12PREFIX=27GATEWAY=192.168.1.1DNS1=8.8.8.8DNS2=8.8.4.4ONBOOT=yes
DEFROUTE=yesDEVICE="enp0s3"NAME="enp0s3"TYPE=OVSPortDEVICETYPE=ovsOVS_BRIDGE=br-exONBOOT="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> 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> wrote:
 

 try this

DEVICE=br-exTYPE=OVSBridgeDEVICETYPE=ovsONBOOT=yesIPADDR=200.100.100.100GATEWAY=255.255.255.254PREFIX=27DNS1=8.8.8.8

DEFROUTE=yesNAME="System eth1"DEVICE=eth1TYPE=OVSPortDEVICETYPE=ovsOVS_BRIDGE=br-exONBOOT=yes


On May 29, 2016, at 21:59, Thales <thaleslv at yahoo.com> wrote:
Remo,
Okay!
Here is the ifcfg-enp0s3 file:

DEVICE="enp0s3"NAME="enp0s3"HWADDR=08:00:27:3F:5C:38BOOTPROTO="none"TYPE=OVSPortDEVICETYPE=ovsOVS_BRIDGE=br-exONBOOT="yes"NM_CONTROLLED=noUUID=564f39b1-c69f-46d0-a728-54f667b922f


Here is the ifcfg-br-ex file:
DEVICE=br-exDEVICETYPE=ovsTYPE=OVSBridgeBOOTPROTO=staticIPADDR=192.168.1.12NETMASK=255.255.255.0GATEWAY=192.168.1.1DNS1=205.171.3.66DNS2=205.171.202.166ONBOOT=yesNM_CONTROLLED=noIPV6INIT=n


...John 

    On Sunday, May 29, 2016 3:07 AM, Remo Mattei <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> 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> 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> 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> 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> 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
  I can ping the gateway and 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
Post to     : openstack at lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack






   


   



   _______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org
Unsubscribe : 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/5b5024b6/attachment.html>


More information about the Openstack mailing list