Re: [nox-dev] monitoring usage error
Hi, the resolve() function expects a string. You don't even need to import the monitoring stuff. inst.Monitoring = ctxt.resolve(nox.netapps.monitoring.monitoring.Monitoring) Of course you should ensure that the Monitoring module is resolvable, that means, it must be loaded by NOX either by issueing it on the commandline or (which is the cleaner way) it must be declared in the meta.json file of your component as a dependency. Hope that helps. Best regards, Bernd On 27.02.2012 17:53, Baraki Halefom wrote: Hello everyone, I want use the methods in the Monitoring component to send flow stats request from my own component. I did the following two variations to user the monitoring component 1. include monitoring component in the dependency list of my components meta.json file import the monitoring component as: from nox.netapps.monitoring.monitoring import Monitoring then inside my component : def __init_(self, ctxt): global inst Component.__init__(self,ctxt) inst.Monitoring = ctxt.resolve(Monitoring) and then use it like, inst.Monitoring.send_flow_ stats_request() this gives me Monitoring description not found error. 2. when I tried to use the monitoring component in the command line after the proper import as follows ./nox_core -i ptcp:6633 monitoring mycomponent it gives me again the following error. inst.Monitoring = ctxt.resolve(Monitoring) AttributeError: 'NoneType' object has not attribute 'Monitoring' please tell me where my mistake is. thanks -- Baraki H. Abay Department of Math and Computer science North Carolina Central University Durham, 27707 NC ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev
Re: [nox-dev] monitoring usage error
Hi, it complains about inst not being declared (it is of type None). You missed the inst = self in the __init__ method of your component. Maybe you should take a look at the pyswitch.py from coreapps/examples. Best regards Bernd On 28.02.2012 14:59, Baraki Halefom wrote: Thank you for your reply. but I got same same error AttributeError: 'NoneType' object has no attribute 'Monitoring' after making the changes you told me. inst.Monitoring = ctxt.resolve(nox.netapps.monitoring.monitoring.Monitoring) and run monitoring in the commandline Sincerely, On Tue, Feb 28, 2012 at 7:28 AM, Bernd Wittefeld s9bew...@stud.uni-saarland.de mailto:s9bew...@stud.uni-saarland.de wrote: Hi, the resolve() function expects a string. You don't even need to import the monitoring stuff. inst.Monitoring = ctxt.resolve(nox.netapps.monitoring.monitoring.Monitoring) Of course you should ensure that the Monitoring module is resolvable, that means, it must be loaded by NOX either by issueing it on the commandline or (which is the cleaner way) it must be declared in the meta.json file of your component as a dependency. Hope that helps. Best regards, Bernd On 27.02.2012 17 tel:27.02.2012%2017:53, Baraki Halefom wrote: Hello everyone, I want use the methods in the Monitoring component to send flow stats request from my own component. I did the following two variations to user the monitoring component 1. include monitoring component in the dependency list of my components meta.json file import the monitoring component as: from nox.netapps.monitoring.monitoring import Monitoring then inside my component : def __init_(self, ctxt): global inst Component.__init__(self,ctxt) inst.Monitoring = ctxt.resolve(Monitoring) and then use it like, inst.Monitoring.send_flow_ stats_request() this gives me Monitoring description not found error. 2. when I tried to use the monitoring component in the command line after the proper import as follows ./nox_core -i ptcp:6633 monitoring mycomponent it gives me again the following error. inst.Monitoring = ctxt.resolve(Monitoring) AttributeError: 'NoneType' object has not attribute 'Monitoring' please tell me where my mistake is. thanks -- Baraki H. Abay Department of Math and Computer science North Carolina Central University Durham, 27707 NC ___ nox-dev mailing list nox-dev@noxrepo.org mailto:nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev -- Baraki H. Abay Department of Math and Computer science North Carolina Central University Durham, 27707 NC ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev
[nox-dev] DATABASE Network view (NOX)
Hello, I would like to know if NOX use a database to store the network view. and where is it located. is it sqlite, or mysql database. otherwise how can I interface with NOX in order to look at the network view Thanks in advance, Best Regards, Marouen ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev
[nox-dev] Best way to create ARP request
What is the best way to do a quick ARP request? I'm writting a form of a switch, but it may need to do an arp request to find a single IP. I'm hoping theres a simple function I can call to do the request. The normal switch functionality should add the reply to the switch arp cache. Thanks for the help. Gabe ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev
Re: [nox-dev] Best way to create ARP request
Probably check this out: http://noxrepo.org/pipermail/nox-dev/2011-February/007223.html Aaron On Tue, Feb 28, 2012 at 12:56 PM, Gabe Bassett g...@theengineer.org wrote: What is the best way to do a quick ARP request? I'm writting a form of a switch, but it may need to do an arp request to find a single IP. I'm hoping theres a simple function I can call to do the request. The normal switch functionality should add the reply to the switch arp cache. Thanks for the help. Gabe ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev -- Aaron O. Rosen Masters Student - Network Communication 306B Fluor Daniel ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev
[nox-dev] Nox Actions
Thanks Aaron for the answer to the last question, I have another question about actions. Is there any clear documentation on how to execute specific actions? I undersand the general idea of the list of lists of actions, but am unclear on the actual actions and their variables. I'm trying to take a packet and install an flow to a different IP than the one listed as well as rewriting the packet to take follow the flow. It would also be nice to know the appropriate action to drop a packet. Thanks again for the help and please let me know if I was unclear in the description. Gabe ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev
Re: [nox-dev] Best way to create ARP request
Looks good at first glance. Is it not working or something? Aaron On Tue, Feb 28, 2012 at 5:20 PM, Gabe Bassett g...@theengineer.org wrote: Does this look about right? HONEYPOT_PORT = 5 HONEYPOT_IP = 10.0.0.5 ARP_SOURCE_MAC = 00:00:00:00:00:10 ARP_DESTINATION_MAC = FF:FF:FF:FF:FF:FF ARP_PROBE_IP = 0.0.0.0 arp_packet = arp() # how do you reference the IP address of switch/controller/fake/anything? # setting it to a fake MAC. as long as it comes back to the SW it should be fine. arp_packet.hwtype = arp.HW_TYPE_ETHERNET arp_packet.prototype = arp.PROTO_TYPE_IP arp_packet.hwsrc = octstr_to_array(ARP_SOURCE_MAC) arp_packet.hwdst = octstr_to_array(ARP_DESTINATION_MAC) arp_packet.hwlen = 6 arp_packet.opcode = arp.REQUEST arp_packet.protolen = 4 arp_packet.protosrc = ipstr_to_int(ARP_PROBE_IP) arp_packet.protodst = ipstr_to_int(HONEPOT_IP) # Create the ethernet packet, fill in the info and set as payload the arp eth_pkt = ethernet() eth_pkt.set_payload(arp_packet) eth_pkt.type = ethernet.ARP_TYPE eth_pkt.src = octstr_to_array(ARP_SOURCE_MAC) eth_pkt.dst = octstr_to_array(ARP_DESTINATION_MAC) logger.debug(arp pkt %s % str(eth_pkt)) # generate arp request for IP of honeypot on honeypot port self.send_openflow_packet( dpid, eth_pkt.tostring(), HONEPOT_PORT) From: Aaron Rosen [aro...@clemson.edu] Sent: Tuesday, February 28, 2012 12:41 PM To: Gabe Bassett Cc: nox-dev@noxrepo.org Subject: Re: [nox-dev] Best way to create ARP request Probably check this out: http://noxrepo.org/pipermail/nox-dev/2011-February/007223.html Aaron On Tue, Feb 28, 2012 at 12:56 PM, Gabe Bassett g...@theengineer.org wrote: What is the best way to do a quick ARP request? I'm writting a form of a switch, but it may need to do an arp request to find a single IP. I'm hoping theres a simple function I can call to do the request. The normal switch functionality should add the reply to the switch arp cache. Thanks for the help. Gabe ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev -- Aaron O. Rosen Masters Student - Network Communication 306B Fluor Daniel ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev -- Aaron O. Rosen Masters Student - Network Communication 306B Fluor Daniel ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev
Re: [nox-dev] Nox Actions
If your install a flow entry without any actions it should cause the datapath to drop the packet. If you check out core.py that would probably help to clarify but in general you do something like this if you want to perform rewrite: actions = [ [openflow.OFPAT_SET_DL_SRC, mac_to_int(inst.Agent[HA]['mac']) ], [openflow.OFPAT_SET_DL_DST, mac_to_int(inst.Agent[FA]['mac']) ], [openflow.OFPAT_SET_NW_SRC, inst.Agent[HA]['ip']], [openflow.OFPAT_OUTPUT, [0, inst.Agent[FA]['inport']]] ] Aaron On Tue, Feb 28, 2012 at 4:54 PM, Gabe Bassett g...@theengineer.org wrote: Thanks Aaron for the answer to the last question, I have another question about actions. Is there any clear documentation on how to execute specific actions? I undersand the general idea of the list of lists of actions, but am unclear on the actual actions and their variables. I'm trying to take a packet and install an flow to a different IP than the one listed as well as rewriting the packet to take follow the flow. It would also be nice to know the appropriate action to drop a packet. Thanks again for the help and please let me know if I was unclear in the description. Gabe ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev -- Aaron O. Rosen Masters Student - Network Communication 306B Fluor Daniel ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev
Re: [nox-dev] Best way to create ARP request
Haven't tested the arp code yet (gotta add the action code from the other issue first). I'll build off of what you suggested in the other email and try and wrap it all together. As a complete aside, my goal is to build an openflow switch that can do transparent redirect of attack traffic either to a honeypot or to an alternate port that has additional options for monitoring and response (more thorough IPS, more restrictive ACLs, etc, etc). White listed traffic would go through the main port and avoid these tools. This allows confidence that critical traffic will get through unhindered while still allowing deployment of advanced (and fallible) security measures. Unfortunately I'm much more of a security guy than I am a programmer =P. Gabe From: Aaron Rosen [aro...@clemson.edu] Sent: Tuesday, February 28, 2012 4:29 PM To: Gabe Bassett Cc: nox-dev@noxrepo.org Subject: Re: [nox-dev] Best way to create ARP request Looks good at first glance. Is it not working or something? Aaron On Tue, Feb 28, 2012 at 5:20 PM, Gabe Bassett g...@theengineer.org wrote: Does this look about right? HONEYPOT_PORT = 5 HONEYPOT_IP = 10.0.0.5 ARP_SOURCE_MAC = 00:00:00:00:00:10 ARP_DESTINATION_MAC = FF:FF:FF:FF:FF:FF ARP_PROBE_IP = 0.0.0.0 arp_packet = arp() # how do you reference the IP address of switch/controller/fake/anything? # setting it to a fake MAC. as long as it comes back to the SW it should be fine. arp_packet.hwtype = arp.HW_TYPE_ETHERNET arp_packet.prototype = arp.PROTO_TYPE_IP arp_packet.hwsrc = octstr_to_array(ARP_SOURCE_MAC) arp_packet.hwdst = octstr_to_array(ARP_DESTINATION_MAC) arp_packet.hwlen = 6 arp_packet.opcode = arp.REQUEST arp_packet.protolen = 4 arp_packet.protosrc = ipstr_to_int(ARP_PROBE_IP) arp_packet.protodst = ipstr_to_int(HONEPOT_IP) # Create the ethernet packet, fill in the info and set as payload the arp eth_pkt = ethernet() eth_pkt.set_payload(arp_packet) eth_pkt.type = ethernet.ARP_TYPE eth_pkt.src = octstr_to_array(ARP_SOURCE_MAC) eth_pkt.dst = octstr_to_array(ARP_DESTINATION_MAC) logger.debug(arp pkt %s % str(eth_pkt)) # generate arp request for IP of honeypot on honeypot port self.send_openflow_packet( dpid, eth_pkt.tostring(), HONEPOT_PORT) From: Aaron Rosen [aro...@clemson.edu] Sent: Tuesday, February 28, 2012 12:41 PM To: Gabe Bassett Cc: nox-dev@noxrepo.org Subject: Re: [nox-dev] Best way to create ARP request Probably check this out: http://noxrepo.org/pipermail/nox-dev/2011-February/007223.html Aaron On Tue, Feb 28, 2012 at 12:56 PM, Gabe Bassett g...@theengineer.org wrote: What is the best way to do a quick ARP request? I'm writting a form of a switch, but it may need to do an arp request to find a single IP. I'm hoping theres a simple function I can call to do the request. The normal switch functionality should add the reply to the switch arp cache. Thanks for the help. Gabe ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev -- Aaron O. Rosen Masters Student - Network Communication 306B Fluor Daniel ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev -- Aaron O. Rosen Masters Student - Network Communication 306B Fluor Daniel ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev
Re: [nox-dev] DATABASE Network view (NOX)
On Tue, Feb 28, 2012 at 8:17 AM, marwen mechtri mechtri.mar...@gmail.comwrote: Hello, I would like to know if NOX use a database to store the network view. and where is it located. is it sqlite, or mysql database. the network view isn't stored in a database - rather, there are a few components that are responsible for creating the network view, and making it available to other components. This is done specifically by these components: Discoveryhttp://noxrepo.org/noxwiki/index.php/Discovery , Topology http://noxrepo.org/noxwiki/index.php/Topology, Authenticatorhttp://noxrepo.org/noxwiki/index.php/Authenticator . If you want to programmatically interact with the network view, you would use the API provided by these components. otherwise how can I interface with NOX in order to look at the network view If you want to just look at the network (and get some real time information, but not manage it programatically) you can use the GUIhttp://noxrepo.org/noxwiki/index.php/NOX_GUI (currently only in the branch destiny) Thanks in advance, Best Regards, Marouen ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev
[nox-dev] Help with NOX to OpenFlow messages
Hello, I am in the beginning stages of implementing an OpenFlow network. I believe i have configured my switch correctly. I am trying to get NOX to send messages to the switch. When i send dpctl dump-tables tcp:xxx.xx.xx.xxx:6633 i get a connection refused message back. I am using NOX version 0.9.0 and OpenFlow version 2.02 Can you help me this is? Thanks Elias Elias Paz CompE Undergraduate member of HESO Hispanic Engineering and Science Organization(SHPE/MAES) nmeli...@unm.edu (505) 550-9554 ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev
Re: [nox-dev] Help with NOX to OpenFlow messages
OpenFlow version 2.02 doesn't mean anything to me. What kind of switches are you using? What IP address are you using with dpctl? The switch? In general, switches make active connections (they initiate a connection to the controller/NOX), so it's not listening on port 6633. Sometimes switches can also be configured to listen too, but it depends on the switch and on the configuration. More to the point, you say that you're trying to get NOX to send messages to the switch, but dpctl doesn't have anything to do with that. Have you configured the switches to connect to the IP that you're running NOX on? If you run NOX and set it to listen for connections, do the switches connect? What commandline are you running NOX with? -- Murphy On Feb 28, 2012, at 3:11 PM, Elias Marti Paz-Rudolph wrote: Hello, I am in the beginning stages of implementing an OpenFlow network. I believe i have configured my switch correctly. I am trying to get NOX to send messages to the switch. When i send dpctl dump-tables tcp:xxx.xx.xx.xxx:6633 i get a connection refused message back. I am using NOX version 0.9.0 and OpenFlow version 2.02 Can you help me this is? Thanks Elias Elias Paz CompE Undergraduate member of HESO Hispanic Engineering and Science Organization(SHPE/MAES) nmeli...@unm.edu (505) 550-9554 ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev
Re: [nox-dev] Help with NOX to OpenFlow messages
This sounds like a switch configuration issue; you might try whatever support channels HP provides. Is NOX configured to listen for connections on whatever port you set the switches to connect to? -- Murphy On Feb 28, 2012, at 3:36 PM, Elias Marti Paz-Rudolph wrote: I am using HP ProCurve 3500 yl switches. i have configured the switch to listen on port 6633. I am using ipv4 addresses. I also configured the switch to point to my nox controller. I was using dpctl to see if the switches connect and they dont. I am using Ubuntu to run NOX --Elias On Feb 28, 2012, at 4:25 PM, Murphy McCauley jam...@nau.edu wrote: OpenFlow version 2.02 doesn't mean anything to me. What kind of switches are you using? What IP address are you using with dpctl? The switch? In general, switches make active connections (they initiate a connection to the controller/NOX), so it's not listening on port 6633. Sometimes switches can also be configured to listen too, but it depends on the switch and on the configuration. More to the point, you say that you're trying to get NOX to send messages to the switch, but dpctl doesn't have anything to do with that. Have you configured the switches to connect to the IP that you're running NOX on? If you run NOX and set it to listen for connections, do the switches connect? What commandline are you running NOX with? -- Murphy On Feb 28, 2012, at 3:11 PM, Elias Marti Paz-Rudolph wrote: Hello, I am in the beginning stages of implementing an OpenFlow network. I believe i have configured my switch correctly. I am trying to get NOX to send messages to the switch. When i send dpctl dump-tables tcp:xxx.xx.xx.xxx:6633 i get a connection refused message back. I am using NOX version 0.9.0 and OpenFlow version 2.02 Can you help me this is? Thanks Elias Elias Paz CompE Undergraduate member of HESO Hispanic Engineering and Science Organization(SHPE/MAES) nmeli...@unm.edu (505) 550-9554 ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev
Re: [nox-dev] Help with NOX to OpenFlow messages
In order to configure the listener port on the HP you should do something like: openflow vlan listener ptcp:port Then you should be able to dpctl the switch. Though a word of warning, now everyone else can too :P . Aaron On Tue, Feb 28, 2012 at 7:05 PM, Murphy McCauley jam...@nau.edu wrote: This sounds like a switch configuration issue; you might try whatever support channels HP provides. Is NOX configured to listen for connections on whatever port you set the switches to connect to? -- Murphy On Feb 28, 2012, at 3:36 PM, Elias Marti Paz-Rudolph wrote: I am using HP ProCurve 3500 yl switches. i have configured the switch to listen on port 6633. I am using ipv4 addresses. I also configured the switch to point to my nox controller. I was using dpctl to see if the switches connect and they dont. I am using Ubuntu to run NOX --Elias On Feb 28, 2012, at 4:25 PM, Murphy McCauley jam...@nau.edu wrote: OpenFlow version 2.02 doesn't mean anything to me. What kind of switches are you using? What IP address are you using with dpctl? The switch? In general, switches make active connections (they initiate a connection to the controller/NOX), so it's not listening on port 6633. Sometimes switches can also be configured to listen too, but it depends on the switch and on the configuration. More to the point, you say that you're trying to get NOX to send messages to the switch, but dpctl doesn't have anything to do with that. Have you configured the switches to connect to the IP that you're running NOX on? If you run NOX and set it to listen for connections, do the switches connect? What commandline are you running NOX with? -- Murphy On Feb 28, 2012, at 3:11 PM, Elias Marti Paz-Rudolph wrote: Hello, I am in the beginning stages of implementing an OpenFlow network. I believe i have configured my switch correctly. I am trying to get NOX to send messages to the switch. When i send dpctl dump-tables tcp:xxx.xx.xx.xxx:6633 i get a connection refused message back. I am using NOX version 0.9.0 and OpenFlow version 2.02 Can you help me this is? Thanks Elias Elias Paz CompE Undergraduate member of HESO Hispanic Engineering and Science Organization(SHPE/MAES) nmeli...@unm.edu (505) 550-9554 ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev -- Aaron O. Rosen Masters Student - Network Communication 306B Fluor Daniel ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev
[nox-dev] How to configure an OpenFlow network in in-band mode?
Hi, I'd like to configure an OpenFlow network in in-band mode. Which document should I refre to? And if the OpenFlow network is configured in this mode how can each OFSwitch connect to the nox controller and how does NOX controller communicate to each OFSwitch?Is there any mechanism that allows OFSwitch to discover its neighbor OFSwitch? My OpenFlow network topology looks like this. clietnt1---OFSwtich2OFSwitch1---OFSwitch3---client2 \/ \ / \/ \ / OFSwitch4 | | NOX Controller client1 IP:192.168.1.1 client2 IP:192.168.1.2 NOX controller IP:192.168.1.10 The NIC of OFSwich4 connects to NOX controller IP:192.168.1.3 Other OFSwitches' NIC has no IP Address 2012-02-29 chenyangseamoon___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev
[nox-dev] How to configure an OpenFlow network in in-band mode?
Hi, I'd like to configure an OpenFlow network in in-band mode. Which document should I refre to? And if the OpenFlow network is configured in this mode how can each OFSwitch connect to the nox controller and how does NOX controller communicate to each OFSwitch?Is there any mechanism that allows OFSwitch to discover its neighbor OFSwitch? My OpenFlow network topology looks like this. clietnt1---OFSwtich2OFSwitch1---OFSwitch3---client2 | NOX Controller client1 IP:192.168.1.1 client2 IP:192.168.1.2 NOX controller IP:192.168.1.10 The NIC of OFSwich1 connects to NOX controller IP:192.168.1.3 Other OFSwitches' NIC has no IP Address 2012-02-29 chenyangseamoon___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev
Re: [nox-dev] Help with NOX to OpenFlow messages
Why would you think you could ssh to the controller on that port? Do you mean you can't dpctl that? You should be dpctl'ing the switch not the controller. Aaron On Tue, Feb 28, 2012 at 8:51 PM, Elias Paz nmeli...@unm.edu wrote: I've already done this.. openflow 9 ptcp:6633, The nox ip is 208.77.78.134, I can telnet to this from my desktop and can ssh from the switch into it however I cant ssh into 208.77.78:6633. I get a invalid input or DNS server not configured. -Original Message- From: Aaron Rosen [mailto:aro...@clemson.edu] Sent: Tuesday, February 28, 2012 5:26 PM To: Elias Marti Paz-Rudolph Cc: nox dev Subject: Re: [nox-dev] Help with NOX to OpenFlow messages In order to configure the listener port on the HP you should do something like: openflow vlan listener ptcp:port Then you should be able to dpctl the switch. Though a word of warning, now everyone else can too :P . Aaron On Tue, Feb 28, 2012 at 7:05 PM, Murphy McCauley jam...@nau.edu wrote: This sounds like a switch configuration issue; you might try whatever support channels HP provides. Is NOX configured to listen for connections on whatever port you set the switches to connect to? -- Murphy On Feb 28, 2012, at 3:36 PM, Elias Marti Paz-Rudolph wrote: I am using HP ProCurve 3500 yl switches. i have configured the switch to listen on port 6633. I am using ipv4 addresses. I also configured the switch to point to my nox controller. I was using dpctl to see if the switches connect and they dont. I am using Ubuntu to run NOX --Elias On Feb 28, 2012, at 4:25 PM, Murphy McCauley jam...@nau.edu wrote: OpenFlow version 2.02 doesn't mean anything to me. What kind of switches are you using? What IP address are you using with dpctl? The switch? In general, switches make active connections (they initiate a connection to the controller/NOX), so it's not listening on port 6633. Sometimes switches can also be configured to listen too, but it depends on the switch and on the configuration. More to the point, you say that you're trying to get NOX to send messages to the switch, but dpctl doesn't have anything to do with that. Have you configured the switches to connect to the IP that you're running NOX on? If you run NOX and set it to listen for connections, do the switches connect? What commandline are you running NOX with? -- Murphy On Feb 28, 2012, at 3:11 PM, Elias Marti Paz-Rudolph wrote: Hello, I am in the beginning stages of implementing an OpenFlow network. I believe i have configured my switch correctly. I am trying to get NOX to send messages to the switch. When i send dpctl dump-tables tcp:xxx.xx.xx.xxx:6633 i get a connection refused message back. I am using NOX version 0.9.0 and OpenFlow version 2.02 Can you help me this is? Thanks Elias Elias Paz CompE Undergraduate member of HESO Hispanic Engineering and Science Organization(SHPE/MAES) nmeli...@unm.edu (505) 550-9554 ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev -- Aaron O. Rosen Masters Student - Network Communication 306B Fluor Daniel -- Aaron O. Rosen Masters Student - Network Communication 306B Fluor Daniel ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev
Re: [nox-dev] How to configure an OpenFlow network in in-band mode?
There are multiple ways that you can set up in-band control, and I believe support varies depending on the specific type of switch you're using, so you will probably get a better response by asking the specific switch vendor. (By the way, your message was posted to the list like five or six times. I am guessing this is because you kept getting strange responses because you not only sent to nox-dev, but to nox-dev-request. Please send messages to the list only to nox-dev.) -- Murphy On Feb 28, 2012, at 5:55 PM, chenyangseamoon wrote: Hi, I'd like to configure an OpenFlow network in in-band mode. Which document should I refre to? And if the OpenFlow network is configured in this mode how can each OFSwitch connect to the nox controller and how does NOX controller communicate to each OFSwitch?Is there any mechanism that allows OFSwitch to discover its neighbor OFSwitch? My OpenFlow network topology looks like this. Only OFSwitch1 connects to NOX controller .NOX Controller... clietnt1---OFSwtich2OFSwitch1---OFSwitch3---client2 client1 IP:192.168.1.1 client2 IP:192.168.1.2 NOX controller IP:192.168.1.10 The NIC of OFSwich1 connects to NOX controller IP:192.168.1.3 Other OFSwitches' NIC has no IP Address 2012-02-29 chenyangseamoon ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev
[nox-dev] how to simulating openflow MPLS ?
hi everyone, i need information to simulating MPLS in openflow , can anyone give me some referrence or tuttorial about it? thanks, Andry Anthony___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev