Dear Murphy and all, Now I can connect to controller. The problem is because i use a port in data plane to connect to controller. Thanks Murphy for your suggestion. Chanthan
On Sat, Aug 30, 2014 at 1:45 AM, Marcus Sandri <mww...@gmail.com> wrote: > Hello, > > You told "I can't ping to controller either". Did you check > connectivity between both hosts? > > > > > 2014-08-29 13:32 GMT-03:00 Chanthan Hel <hel.chantha...@gmail.com>: > > Thanks Murphy , >> I will try it >> >> On Friday, August 29, 2014, Murphy McCauley <murphy.mccau...@gmail.com> >> wrote: >> >>> Remove eth3 from the OVS datapath and make sure it still has the IP you >>> think it should. >>> >>> Please consider not dropping this list. >>> >>> -- Murphy >>> >>> On Aug 29, 2014, at 12:16 AM, Chanthan Hel <hel.chantha...@gmail.com> >>> wrote: >>> >>> Hi Murphy >>> Eth3 that connects to controller has ip 172.16.0.1 in the same netmask >>> with controller. >>> That port is USB port, but I use USB to ethernet adapter. And about what >>> u said, in bound control! I'm not so clear . How can we assign it to in >>> bound or out bound controll. >>> Best regards >>> >>> >>> On Friday, August 29, 2014, Murphy McCauley <murphy.mccau...@gmail.com> >>> wrote: >>> >>>> It's strange that just installing OVS would cause a problem unless you >>>> assigned the port that leads to the controller to the switch without >>>> setting up in-band control. >>>> >>>> Is eth1 connected to the controller? Does it have a 172.16.x.x address >>>> or whatever? >>>> >>>> -- Murphy >>>> >>>> On Aug 28, 2014, at 1:32 AM, Chanthan Hel <hel.chantha...@gmail.com> >>>> wrote: >>>> >>>> Dear all, >>>> Please help me for this point. >>>> I install open vswitch in one PC and pox controller in another PC and i >>>> use Ethernet cable to connect. IP of controller and ovs are in same subnet >>>> mask. >>>> >>>> i install open vswitch as mentioned in installation guide >>>> >>>> http://git.openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=INSTALL;hb=HEAD >>>> >>>> i added port to switch as shown >>>> root@pc2-To-be-filled-by-O-E-M:~/openvswitch-1.9.0# ovs-ofctl show s2 >>>> OFPT_FEATURES_REPLY (xid=0x1): dpid:0000000000002201 >>>> n_tables:255, n_buffers:256 >>>> capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP >>>> actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC >>>> SET_DL_DST SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE >>>> 1(eth2): addr:00:00:00:00:22:04 >>>> config: 0 >>>> state: LINK_DOWN >>>> current: 100MB-FD AUTO_NEG >>>> advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD COPPER AUTO_NEG >>>> AUTO_PAUSE AUTO_PAUSE_ASYM >>>> supported: 10MB-HD 10MB-FD 100MB-HD 100MB-FD COPPER AUTO_NEG >>>> speed: 100 Mbps now, 100 Mbps max >>>> 2(eth3): addr:00:00:00:00:22:05 >>>> config: 0 >>>> state: 0 >>>> current: 100MB-FD AUTO_NEG >>>> advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD COPPER AUTO_NEG >>>> AUTO_PAUSE AUTO_PAUSE_ASYM >>>> supported: 10MB-HD 10MB-FD 100MB-HD 100MB-FD COPPER AUTO_NEG >>>> speed: 100 Mbps now, 100 Mbps max >>>> 3(eth4): addr:00:00:00:00:22:01 >>>> config: 0 >>>> state: LINK_DOWN >>>> current: 100MB-FD AUTO_NEG >>>> advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD COPPER AUTO_NEG >>>> AUTO_PAUSE AUTO_PAUSE_ASYM >>>> supported: 10MB-HD 10MB-FD 100MB-HD 100MB-FD COPPER AUTO_NEG >>>> speed: 100 Mbps now, 100 Mbps max >>>> LOCAL(s2): addr:00:00:00:00:22:01 >>>> config: PORT_DOWN >>>> state: LINK_DOWN >>>> speed: 100 Mbps now, 100 Mbps max >>>> OFPT_GET_CONFIG_REPLY (xid=0x3): frags=normal miss_send_len=0 >>>> >>>> but when i run pox, i check the ovs status it shows >>>> >>>> root@pc2-To-be-filled-by-O-E-M:~/openvswitch-1.9.0# ovs-vsctl show >>>> 849f606f-023d-435c-9548-1076994ec562 >>>> Bridge "s2" >>>> Controller "tcp:172.16.0.9:6633" >>>> Port "s2" >>>> Interface "s2" >>>> type: internal >>>> Port "eth3" >>>> Interface "eth3" >>>> Port "eth2" >>>> Interface "eth2" >>>> Port "eth4" >>>> Interface "eth4" >>>> It means no connection to controller and I can't ping to controller >>>> either. But before installing ovs i can ping to controller. I don't know >>>> what happen. >>>> Best regards >>>> Chanthan >>>> >>>> >>>> -- >>>> Mr. Chanthan Hel >>>> Electrical engineering, Faculty of Engineering, >>>> Chulalongkorn University (CU) >>>> >>>> *Phone: +66 81 456 84 27* >>>> >>>> >>>> >>> >>> -- >>> Mr. Chanthan Hel >>> Electrical engineering, Faculty of Engineering, >>> Chulalongkorn University (CU) >>> >>> *Phone: +66 81 456 84 27* >>> >>> >>> <IMG_0924.JPG> >>> >>> >>> >> >> -- >> Mr. Chanthan Hel >> Electrical engineering, Faculty of Engineering, >> Chulalongkorn University (CU) >> >> *Phone: +66 81 456 84 27* >> >> >> > -- Mr. Chanthan Hel Electrical engineering, Faculty of Engineering, Chulalongkorn University (CU) *Phone: +66 81 456 84 27*