unable to ping from b1 to b2

237 views
Skip to first unread message

Santosh Bollam

unread,
May 3, 2013, 3:36:34 AM5/3/13
to routeflo...@googlegroups.com
Hi all,
       
       when i am trying to run the rftest1, unable to ping to b2. the output of ./rftest1 is as below.

Note:- I am using RouteFlow-master code. so i am not using any topology and everything in one system only.

 -> Starting rftest1
 -> Stopping and resetting LXC VMs...
rfvm1 is not running
b1 is not running
b2 is not running
-> Deleting data from previous runs...
MongoDB shell version: 2.0.4
connecting to: db
false
-> Setting up the management bridge (lxcbr0)...
-> Setting up MongoDB...
mongodb stop/waiting
mongodb start/running, process 25506
.-> Starting the rfvm1 virtual machine...
cp: cannot stat `build/rfclient': No such file or directory
-> Starting the controller and RFPRoxy...
/home/ravindar/routeFlow/RouteFlow-master
..POX 0.1.0 (betta) / Copyright 2011-2013 James McCauley, et al.
..INFO:rfproxy:RFProxy running.
INFO:core:POX 0.1.0 (betta) is up.
-> Starting RFServer...
-> Starting the control plane network (dp0 VS)...
INFO:openflow.of_01:[None 1] closed
-> Starting the sample network...
WARNING:openflow.of_01:<class 'pox.openflow.PacketIn'> raised on dummy OpenFlow nexus
WARNING:openflow.of_01:<class 'pox.openflow.PortStatus'> raised on dummy OpenFlow nexus
INFO:openflow.of_01:[76-73-72-66-76-73|29286 2] connected
INFO:openflow.topology:Switch 76-73-72-66-76-73|29286 connected
INFO:rfproxy:Registering datapath port (dp_id=0x7266767372667673, dp_port=1)
INFO:rfproxy:Registering datapath port (dp_id=0x7266767372667673, dp_port=2)
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 504, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/ravindar/routeFlow/RouteFlow-master/rflib/ipc/MongoIPC.py", line 89, in _listen_worker
    processor.process(envelope[FROM_FIELD], envelope[TO_FIELD], channel_id, msg);
  File "./rfserver/rfserver.py", line 62, in process
    msg.get_dp_port())
  File "./rfserver/rfserver.py", line 192, in register_dp_port
    stop = self.config_dp(ct_id, dp_id)
  File "./rfserver/rfserver.py", line 342, in config_dp
    self.send_datapath_config_message(ct_id, dp_id, DC_ALL)
  File "./rfserver/rfserver.py", line 332, in send_datapath_config_message
    rm.add_action(Action.CONTROLLER())
  File "/home/ravindar/routeFlow/RouteFlow-master/rflib/types/Action.py", line 66, in CONTROLLER
    return cls(RFAT_OUTPUT, OFPP_CONTROLLER)
  File "/home/ravindar/routeFlow/RouteFlow-master/rflib/types/Action.py", line 27, in __init__
    super(Action, self).__init__(actionType, self.type_to_bin(actionType, value))
  File "/home/ravindar/routeFlow/RouteFlow-master/rflib/types/Action.py", line 78, in type_to_bin
    return int_to_bin(value, 32)
  File "/home/ravindar/routeFlow/RouteFlow-master/rflib/types/TLV.py", line 32, in int_to_bin
    return a2b_hex(hex_int_extend(hexnum, length))
TypeError: Non-hexadecimal digit found

---
This test is up and running.
Try pinging host b2 from host b1:
  $ sudo lxc-console -n b1
Login and run:
  $ ping 172.31.2.2
You can stop this test by pressing Ctrl+C.
---
INFO:openflow.of_01:[00-00-00-00-00-99 3] connected
INFO:openflow.topology:Switch 00-00-00-00-00-99 connected
INFO:rfproxy:Registering datapath port (dp_id=0x99, dp_port=1)
INFO:rfproxy:Registering datapath port (dp_id=0x99, dp_port=2)


Regards,
santosh

Joe Stringer

unread,
May 3, 2013, 6:22:28 AM5/3/13
to routeflo...@googlegroups.com
Hi Santosh,

It seems like the rftest1 script couldn't find the rfclient binary. Can you tell us how you built RouteFlow, and which directory you ran rftest1 from?


--
You received this message because you are subscribed to the Google Groups "RouteFlow" group.
To unsubscribe from this group and stop receiving emails from it, send an email to routeflow-disc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Santosh Bollam

unread,
May 3, 2013, 6:37:20 AM5/3/13
to routeflo...@googlegroups.com

Hi Joe Stringer,

Thank you for your quick reply...
i have built the routeflow as

1.
./build.sh -c in RouteFlow-master folder
2. ./create in rftest
3. finally i ran ./rftest1 in rftest folder
4.now i have opened "sudo lxc-console -n b1" and trying to ping for b2, but unable to ping

Regards,
santosh

Santosh Bollam

unread,
May 3, 2013, 9:31:35 AM5/3/13
to routeflo...@googlegroups.com


Hi Joe stringer,

                  The below steps are the procedure for the both build and ran of rftest1


 1.  ./build.sh -c in RouteFlow-master folder
 2.  ./create in RouteFlow-master/RouteFlow/Rrftest
 3.  finally i ran ./rftest1 in RouteFlow-master/RouteFlow/Rrftest folder
 4.  now i have opened "sudo lxc-console -n b1" and trying to ping for b2, but unable to ping

Regards,
santosh

Allan Vidal

unread,
May 3, 2013, 9:46:14 AM5/3/13
to routeflo...@googlegroups.com
Hi Santosh,

We will need the output of ./build.sh -c to see what's happening.
Also, did you run all these commands with sudo?


Allan




Regards,
santosh

--

Blake Young

unread,
May 4, 2013, 7:12:09 AM5/4/13
to routeflo...@googlegroups.com
Hi Joe & Allan,

I faced the same problem like Santosh when doing the "sudo ./rftest1" or "sudo ./rftest2":

blakeyoung@Blake-PC:~/RouteFlow/rftest$ sudo ./rftest1

-> Starting rftest1
-> Stopping and resetting LXC VMs...
rfvm1 is not running
b1 is not running
b2 is not running
-> Deleting data from previous runs...
MongoDB shell version: 2.0.4
connecting to: db
false
-> Setting up the management bridge (lxcbr0)...
-> Setting up MongoDB...
mongodb stop/waiting
mongodb start/running, process 6970

.-> Starting the rfvm1 virtual machine...
-> Starting the controller and RFPRoxy...
/home/blakeyoung/RouteFlow

.POX 0.1.0 (betta) / Copyright 2011-2013 James McCauley, et al.
INFO:rfproxy:RFProxy running.
INFO:core:POX 0.1.0 (betta) is up.
-> Starting RFServer...
-> Starting the control plane network (dp0 VS)...
-> Starting the sample network...
INFO:openflow.of_01:[None 1] closed
INFO:openflow.of_01:[None 2] disconnected
INFO:openflow.of_01:[None 2] closed
INFO:openflow.of_01:[76-73-72-66-76-73|29286 3] connected

INFO:openflow.topology:Switch 76-73-72-66-76-73|29286 connected
INFO:rfproxy:Registering datapath port (dp_id=0x7266767372667673, dp_port=1)
INFO:rfproxy:Registering datapath port (dp_id=0x7266767372667673, dp_port=2)
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 504, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/blakeyoung/RouteFlow/rflib/ipc/MongoIPC.py", line 89, in _listen_worker

    processor.process(envelope[FROM_FIELD], envelope[TO_FIELD], channel_id, msg);
  File "./rfserver/rfserver.py", line 62, in process
    msg.get_dp_port())
  File "./rfserver/rfserver.py", line 192, in register_dp_port
    stop = self.config_dp(ct_id, dp_id)
  File "./rfserver/rfserver.py", line 342, in config_dp
    self.send_datapath_config_message(ct_id, dp_id, DC_ALL)
  File "./rfserver/rfserver.py", line 332, in send_datapath_config_message
    rm.add_action(Action.CONTROLLER())
  File "/home/blakeyoung/RouteFlow/rflib/types/Action.py", line 66, in CONTROLLER
    return cls(RFAT_OUTPUT, OFPP_CONTROLLER)
  File "/home/blakeyoung/RouteFlow/rflib/types/Action.py", line 27, in __init__
    super(Action, self).__init__(actionType, self.type_to_bin(actionType, value))
  File "/home/blakeyoung/RouteFlow/rflib/types/Action.py", line 78, in type_to_bin
    return int_to_bin(value, 32)
  File "/home/blakeyoung/RouteFlow/rflib/types/TLV.py", line 32, in int_to_bin

    return a2b_hex(hex_int_extend(hexnum, length))
TypeError: Non-hexadecimal digit found

---
This test is up and running.
Try pinging host b2 from host b1:
  $ sudo lxc-console -n b1
Login and run:
  $ ping 172.31.2.2
You can stop this test by pressing Ctrl+C.
---
INFO:openflow.of_01:[00-00-00-00-00-99 4] connected

INFO:openflow.topology:Switch 00-00-00-00-00-99 connected
INFO:rfproxy:Registering datapath port (dp_id=0x99, dp_port=1)
INFO:rfproxy:Registering datapath port (dp_id=0x99, dp_port=2)
INFO:rfserver:Registering client port as idle (vm_id=0x12a0a0a0a0a0, vm_port=1, eth_addr=12:a1:a1:a1:a1:a1)
INFO:rfserver:Registering client port as idle (vm_id=0x12a0a0a0a0a0, vm_port=2, eth_addr=12:a2:a2:a2:a2:a2)


Just like Allan said, I also added  "sudo" in each command like "./build.sh -c", still can't work it out.
Here is my output of ./build.sh -c:

blakeyoung@Blake-PC:~/RouteFlow$ sudo ./build.sh -c
[sudo] password for blakeyoung:
Fetching dependencies...
Requirement already satisfied (use --upgrade to upgrade): pymongo in /usr/local/lib/python2.7/dist-packages
Cleaning up...

Updated infos about 1 packages
Getting source for kernel version: 3.5.0-23-generic
Kernel headers available in /usr/src/linux-headers-3.5.0-23-generic
Creating symlink...
apt-get install build-essential
Reading package lists... Done
Building dependency tree      
Reading state information... Done
build-essential is already the newest version.
The following packages were automatically installed and are no longer required:
  python-bson python-gridfs
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 217 not upgraded.

Done!
unpack
Extracting the package tarball, /usr/src/openvswitch-datapath.tar.bz2, please wait...
"/usr/share/modass/packages/default.sh" build KVERS=3.5.0-23-generic KSRC=/usr/src/linux KDREV=3.5.0-23.35~precise1 kdist_image
Done with /usr/src/openvswitch-datapath-module-3.5.0-23-generic_1.4.0-1ubuntu1.5_i386.deb .
dpkg -Ei /usr/src/openvswitch-datapath-module-3.5.0-23-generic_1.4.0-1ubuntu1.5_i386.deb
Version 1.4.0-1ubuntu1.5 of openvswitch-datapath-module-3.5.0-23-generic already installed, skipping.
Building RouteFlow...
Compiling Library Dependency (ipc)...
make[1]: Entering directory `/home/blakeyoung/RouteFlow/rflib/ipc'
g++ -Wall -W -I/home/blakeyoung/RouteFlow/rflib -I/home/blakeyoung/RouteFlow/rflib/ipc -I/home/blakeyoung/RouteFlow/rflib/types -I/usr/local/include/mongo -c  IPC.cc -o /home/blakeyoung/RouteFlow/build/obj/ipc/IPC.o
g++ -Wall -W -I/home/blakeyoung/RouteFlow/rflib -I/home/blakeyoung/RouteFlow/rflib/ipc -I/home/blakeyoung/RouteFlow/rflib/types -I/usr/local/include/mongo -c  MongoIPC.cc -o /home/blakeyoung/RouteFlow/build/obj/ipc/MongoIPC.o
g++ -Wall -W -I/home/blakeyoung/RouteFlow/rflib -I/home/blakeyoung/RouteFlow/rflib/ipc -I/home/blakeyoung/RouteFlow/rflib/types -I/usr/local/include/mongo -c  RFProtocol.cc -o /home/blakeyoung/RouteFlow/build/obj/ipc/RFProtocol.o
g++ -Wall -W -I/home/blakeyoung/RouteFlow/rflib -I/home/blakeyoung/RouteFlow/rflib/ipc -I/home/blakeyoung/RouteFlow/rflib/types -I/usr/local/include/mongo -c  RFProtocolFactory.cc -o /home/blakeyoung/RouteFlow/build/obj/ipc/RFProtocolFactory.o
make[1]: Leaving directory `/home/blakeyoung/RouteFlow/rflib/ipc'
done.
Compiling Library Dependency (types)...
make[1]: Entering directory `/home/blakeyoung/RouteFlow/rflib/types'
g++ -Wall -W -I/home/blakeyoung/RouteFlow/rflib -I/home/blakeyoung/RouteFlow/rflib/ipc -I/home/blakeyoung/RouteFlow/rflib/types -I/usr/local/include/mongo -c  Action.cc -o /home/blakeyoung/RouteFlow/build/obj/types/Action.o
g++ -Wall -W -I/home/blakeyoung/RouteFlow/rflib -I/home/blakeyoung/RouteFlow/rflib/ipc -I/home/blakeyoung/RouteFlow/rflib/types -I/usr/local/include/mongo -c  IPAddress.cc -o /home/blakeyoung/RouteFlow/build/obj/types/IPAddress.o
g++ -Wall -W -I/home/blakeyoung/RouteFlow/rflib -I/home/blakeyoung/RouteFlow/rflib/ipc -I/home/blakeyoung/RouteFlow/rflib/types -I/usr/local/include/mongo -c  MACAddress.cc -o /home/blakeyoung/RouteFlow/build/obj/types/MACAddress.o
g++ -Wall -W -I/home/blakeyoung/RouteFlow/rflib -I/home/blakeyoung/RouteFlow/rflib/ipc -I/home/blakeyoung/RouteFlow/rflib/types -I/usr/local/include/mongo -c  Match.cc -o /home/blakeyoung/RouteFlow/build/obj/types/Match.o
g++ -Wall -W -I/home/blakeyoung/RouteFlow/rflib -I/home/blakeyoung/RouteFlow/rflib/ipc -I/home/blakeyoung/RouteFlow/rflib/types -I/usr/local/include/mongo -c  Option.cc -o /home/blakeyoung/RouteFlow/build/obj/types/Option.o
g++ -Wall -W -I/home/blakeyoung/RouteFlow/rflib -I/home/blakeyoung/RouteFlow/rflib/ipc -I/home/blakeyoung/RouteFlow/rflib/types -I/usr/local/include/mongo -c  TLV.cc -o /home/blakeyoung/RouteFlow/build/obj/types/TLV.o
make[1]: Leaving directory `/home/blakeyoung/RouteFlow/rflib/types'
done.
Generating Library
make -C /home/blakeyoung/RouteFlow/rflib all;
make[1]: Entering directory `/home/blakeyoung/RouteFlow/rflib'
ar r /home/blakeyoung/RouteFlow/build/lib/rflib.a /home/blakeyoung/RouteFlow/build/obj/ipc/IPC.o /home/blakeyoung/RouteFlow/build/obj/ipc/MongoIPC.o /home/blakeyoung/RouteFlow/build/obj/ipc/RFProtocolFactory.o /home/blakeyoung/RouteFlow/build/obj/ipc/RFProtocol.o /home/blakeyoung/RouteFlow/build/obj/types/Action.o /home/blakeyoung/RouteFlow/build/obj/types/IPAddress.o /home/blakeyoung/RouteFlow/build/obj/types/MACAddress.o /home/blakeyoung/RouteFlow/build/obj/types/Match.o /home/blakeyoung/RouteFlow/build/obj/types/Option.o /home/blakeyoung/RouteFlow/build/obj/types/TLV.o
ar: creating /home/blakeyoung/RouteFlow/build/lib/rflib.a
make[1]: Leaving directory `/home/blakeyoung/RouteFlow/rflib'
Compiling Application rfclient...
make[1]: Entering directory `/home/blakeyoung/RouteFlow/rfclient'
g++ -Wall -W -I/home/blakeyoung/RouteFlow/rflib -I/home/blakeyoung/RouteFlow/rflib/ipc -I/home/blakeyoung/RouteFlow/rflib/types -I/usr/local/include/mongo -c  FlowTable.cc -o /home/blakeyoung/RouteFlow/build/obj/rfclient/FlowTable.o
g++ -Wall -W -I/home/blakeyoung/RouteFlow/rflib -I/home/blakeyoung/RouteFlow/rflib/ipc -I/home/blakeyoung/RouteFlow/rflib/types -I/usr/local/include/mongo -c  FPMServer.cc -o /home/blakeyoung/RouteFlow/build/obj/rfclient/FPMServer.o
g++ -Wall -W -I/home/blakeyoung/RouteFlow/rflib -I/home/blakeyoung/RouteFlow/rflib/ipc -I/home/blakeyoung/RouteFlow/rflib/types -I/usr/local/include/mongo -c  RFClient.cc -o /home/blakeyoung/RouteFlow/build/obj/rfclient/RFClient.o
ar r /home/blakeyoung/RouteFlow/build/lib/rflib.a /home/blakeyoung/RouteFlow/build/obj/rfclient/FlowTable.o /home/blakeyoung/RouteFlow/build/obj/rfclient/FPMServer.o /home/blakeyoung/RouteFlow/build/obj/rfclient/RFClient.o
g++ -I/home/blakeyoung/RouteFlow/rflib -I/home/blakeyoung/RouteFlow/rflib/ipc -I/home/blakeyoung/RouteFlow/rflib/types -I/usr/local/include/mongo -o /home/blakeyoung/RouteFlow/build/rfclient /home/blakeyoung/RouteFlow/build/obj/rfclient/FlowTable.o /home/blakeyoung/RouteFlow/build/obj/rfclient/FPMServer.o /home/blakeyoung/RouteFlow/build/obj/rfclient/RFClient.o /home/blakeyoung/RouteFlow/build/lib/rflib.a -lrt -lnetlink -lutil -lpthread -lmongoclient -lboost_thread -lboost_system -lboost_filesystem -lboost_program_options;
make[1]: Leaving directory `/home/blakeyoung/RouteFlow/rfclient'
done.
Finishing up...


Looking forword for your reply,
thanx!

Blake Young

Joe Stringer

unread,
May 5, 2013, 1:16:25 AM5/5/13
to routeflo...@googlegroups.com
Can either of you verify the versions of RouteFlow (using 'git log -1') and Ubuntu ('lsb_release -a') that you are working on?

I can't seem to reproduce this issue. It seems as though an incorrect OFPP_CONTROLLER value is being passed to the Action class constructor. When Action attempts to store this value internally, it cannot convert the value into the internal binary hex string format, so crashes. Although this is an expected behaviour of the a2b_hex() function (binascii library in python), I cannot follow how this happens in the rfserver code. You may be able to get more information by wrapping a try/except: call around the offending line in rflib/types/TLV.py and throwing a more informative message, including details such as the value of 'hexnum' and OFPP_CONTROLLER.

Blake Young

unread,
May 5, 2013, 10:02:23 PM5/5/13
to routeflo...@googlegroups.com
Hi Joe, here is my output of 'git log -1' & 'lsb_release -a':

lmm@lmm-EG41M-S2H:~/RouteFlow$ git log -1
commit e79113ab2e801106dfb2651ce988c733ef328b27
Merge: 4e86e03 0a75cfe
Author: Allan <all...@cpqd.com.br>
Date:   Thu May 2 16:49:05 2013 -0300

    Merge branch 'master' of https://github.com/CPqD/RouteFlow

lmm@lmm-EG41M-S2H:~/RouteFlow$ lsb_release -a
No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 12.04.2 LTS
Release:    12.04
Codename:    precise

ps. I've tried this on several pcs in our lab, still faced the same problem on all of them.
looking forward to your reply, thax!

Santosh Bollam

unread,
May 6, 2013, 2:12:23 AM5/6/13
to routeflo...@googlegroups.com
















Hi sir,
Here is the output of the commands suggested by you...in sudo mode only..

root@ravindar-desktop:/home/ravindar/routeFlow/RouteFlow-master/RouteFlow# ls
build  build.sh  COPYING  dist  LICENSE  Makefile  Make.rules  pox  pox_old  README.md  rfclient  rflib  rfserver  rftest  rfweb
root@ravindar-desktop:/home/ravindar/routeFlow/RouteFlow-master/RouteFlow# sudo ./build.sh -c

Fetching dependencies...
Requirement already satisfied (use --upgrade to upgrade): pymongo in /usr/local/lib/python2.7/dist-packages
Cleaning up...

Updated infos about 1 packages
Getting source for kernel version: 3.2.0-41-generic-pae
Kernel headers available in /usr/src/linux-headers-3.2.0-41-generic-pae

Creating symlink...
apt-get install build-essential
Reading package lists... Done
Building dependency tree      
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 519 not upgraded.


Done!
unpack
Extracting the package tarball, /usr/src/openvswitch-datapath.tar.bz2, please wait...
"/usr/share/modass/packages/default.sh" build KVERS=3.2.0-41-generic-pae KSRC=/usr/src/linux KDREV=3.2.0-41.66 kdist_image
Done with /usr/src/openvswitch-datapath-module-3.2.0-41-generic-pae_1.4.0-1ubuntu1.5_i386.deb .
dpkg -Ei /usr/src/openvswitch-datapath-module-3.2.0-41-generic-pae_1.4.0-1ubuntu1.5_i386.deb
Version 1.4.0-1ubuntu1.5 of openvswitch-datapath-module-3.2.0-41-generic-pae already installed, skipping.

Building RouteFlow...
Compiling Library Dependency (ipc)...
make[1]: Entering directory `/home/ravindar/routeFlow/RouteFlow-master/RouteFlow/rflib/ipc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ravindar/routeFlow/RouteFlow-master/RouteFlow/rflib/ipc'

done.
Compiling Library Dependency (types)...
make[1]: Entering directory `/home/ravindar/routeFlow/RouteFlow-master/RouteFlow/rflib/types'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ravindar/routeFlow/RouteFlow-master/RouteFlow/rflib/types'
done.
Generating Library
make -C /home/ravindar/routeFlow/RouteFlow-master/RouteFlow/rflib all;
make[1]: Entering directory `/home/ravindar/routeFlow/RouteFlow-master/RouteFlow/rflib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ravindar/routeFlow/RouteFlow-master/RouteFlow/rflib'
Compiling Application rfclient...
make[1]: Entering directory `/home/ravindar/routeFlow/RouteFlow-master/RouteFlow/rfclient'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ravindar/routeFlow/RouteFlow-master/RouteFlow/rfclient'
done.
Finishing up...

root@ravindar-desktop:/home/ravindar/routeFlow/RouteFlow-master/RouteFlow# ls
build  build.sh  COPYING  dist  LICENSE  Makefile  Make.rules  pox  pox_old  README.md  rfclient  rflib  rfserver  rftest  rfweb
root@ravindar-desktop:/home/ravindar/routeFlow/RouteFlow-master/RouteFlow# git log -1

commit e79113ab2e801106dfb2651ce988c733ef328b27
Merge: 4e86e03 0a75cfe
Author: Allan <all...@cpqd.com.br>
Date:   Thu May 2 16:49:05 2013 -0300

    Merge branch 'master' of https://github.com/CPqD/RouteFlow


root@ravindar-desktop:/home/ravindar/routeFlow/RouteFlow-master/RouteFlow# lsb_release -a

No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 12.04 LTS
Release:    12.04
Codename:    precise

Joe Stringer

unread,
May 6, 2013, 3:58:21 AM5/6/13
to routeflo...@googlegroups.com
I had another look over this today with Chris Lorier, and we found a potential flaw on 32-bit systems. Can you confirm whether your machine is 32-bit with the results of 'uname -m'?

Below is a patch that may fix this particular issue. Let us know if it fixes the issue, or if you have further issues.


You can download and use 'git am 4bd68dbc0a4fc26963bfe879d51806a4d0f2d1bc.patch' to apply.


--

Blake Young

unread,
May 7, 2013, 4:04:56 AM5/7/13
to routeflo...@googlegroups.com
Hi, Joe, I changed my system to 64-bit and download codes on https://github.com/joestringer/RouteFlow, in which you just renew few days ago. and now i can successfully run your rftest1 & rftest2 on my pc.
I guess maybe 32-bit system is the problem.
Thanx again!

Santosh Bollam

unread,
May 8, 2013, 1:21:28 AM5/8/13
to routeflo...@googlegroups.com

Hi Joe stringer,

       It's working fine both testcases for me with virtual topology. Now I want do this with the physical topology. I used to work on the below topology.

                                        
                     Quagga | RFClient  --> On Fedora8
                     RFServer                --> On Ubuntu 12.04
                     RFProxy with Nox    --> On Ubuntu 12.04
                     Openflow                --> On Ubuntu 12.04

  Is it right to work. If any changes would have to do, please tell me.

Thanks & Regards,
santosh

Joe Stringer

unread,
May 8, 2013, 1:33:16 AM5/8/13
to routeflo...@googlegroups.com
That's good to hear.

Regarding using Fedora8, you would just need to ensure that the equivalent dependencies are installed for rfclient---the debian versions of these are listed in the rftest/create script.

RFProxy with NOX --- This isn't going to work without large time investment. Nox-classic will not build on 12.04+ due to a dependency on SWIG1.3 (and perhaps other issues). Alternatives are to use the Pox or Ryu implementations.

The rfserver config would need to be modified to use the appropriate datapath IDs for your physical topology as well.



santosh

Kapil Agrawal

unread,
Jun 8, 2013, 6:43:25 PM6/8/13
to routeflo...@googlegroups.com
yeah even I had the same problem when I was running 32Bit Ubuntu 13.04
I was even unable to setup the routeflow environment on my system.
Now I switched to 64Bit Ubuntu 12.04.2 .The Routeflow setup is working perfectly fine.


Reply all
Reply to author
Forward
0 new messages