Hey,
       Well i am having trouble running my own client-server code on Openflow 
VMS. i have created an xml topology(giveb below) in which there are 2 clients a 
server and an openflow switch.i have stored the .c files of server and client 
in the Client1.cd and Server1.cd folder in openflow vms respectively.After 
giving the command vms-start.py i try to run the gcc-server -o server command 
after going in the /cdrom directory but it gives an error as file cannot be 
file:Read only file system.But by copying(moving) both client .c and server .c  
in a /tmp directory the command runs but the server is unable to transfer any 
data to any of the client.Running packet dump shows no packet.

Commands on Serverside                        
gcc server -o server
./server 23456(port)

Command on CLient side
gcc client -o client
./client localhost 23456(port)

Whereas if u run the same client server code on the linux terminal it works 
fine.

Thank you
Ali Hussain

XML
<network name="Handover Network">
<of_mem>32</of_mem>

<openflowswitch name="of1">
<xterm>true</xterm>
</openflowswitch>
−

<host name="Server">
<xterm>true</xterm>
<!-- <cd><dir>myhost1.cd</dir></cd> -->
−
<ip>
<static>192.168.0.1</static>
</ip>
</host>

−
<host name="Client1">
<xterm>true</xterm>
−
<ip>
<static>192.168.0.10</static>
</ip>
</host>
−

<host name="Client2">
<xterm>true</xterm>
−
<ip>
<static>192.168.0.100</static>
</ip>
</host>
−

<link end1="Client2" end2="of1"/>
<link end1="Server" end2="of1"/>
<link end1="of1" end2="Client1"/>


</network>


                                          
_______________________________________________
openflow-discuss mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to