![]() |
ViewsOpenFlow AP with PC EngineFrom OpenFlow Wiki
HardwareThe PCEngine box we use in our deployment is custom built from the following components. We buy most of our component from Mini-box and/or Netgate, as linked below. Do let us know if any link is broken.
Setup and Installation
ConfigurationAP Configuration(1) AP images. You can get NOX Image from [1] (2) Configuration changes on OpenFlow
Comment out "DEFAUTL_NOX" in /etc/noxbox.conf #DEFAULT_NOX="./nox_core -i ptcp: pyswitch monitorsui"
CONTROLLER_ADDR=xxx.yyy.zzz.uuu:ppp
/etc/noxbox.conf OPENFLOW_INTERFACES="ath0 ath1 eth0"
File: /etc/noxbox.conf
ON_IP_ADDR=dhcp
ON_IP_ADDR=192.168.0.1 ON_NETMASK=255.255.255.0 ON_GATEWAY=192.168.0.254
File: ath0: /etc/hostapd/hostapd.ath0.conf File: ath1: /etc/hostapd/hostapd.ath1.conf Set "ssid" to your ssid.
/etc/network/interfaces iface ath0 inet manual .. pre-up iwpriv ath0 hide_ssid 1 pre-up iwconfig ath0 channel 3 .. Upgrading OpenFlow(1) Compile new OpenFlow source code on x86 machine (2) Replace /root/current/openflow on AP to the complied directory tree (3) Reboot the AP Multiple SSIDs(1) Create multiple virtual interface. For example, two virtual interface vath00 vath01 on physical interface wifi0 wlanconfig vath00 create wlandev wifi0 wlanmode ap wlanconfig vath01 create wlandev wifi0 wlanmode ap (2) You can now treat vath00 and vath01 as a independent interface (3) Run hostapd on both vath00 and vath01 (you can assign different SSID on each interface). (4) On the ethernet side, you can create vlan inteface like this /sbin/vconfig add eth0 0 /sbin/vconfig add eth0 1 Now you have two interface eth0.0 and eth0.1, each has vlan tag 0 and 1 respectively. (5) You can run multiple OpenFlow instances using any combination of those crated virtual interfaces (eth0.0, eth0.1, vath00, vath01). |
Quick NavigationOpenFlow White PaperOpenFlow Demo Video![]() Watch the Demo that received the best demo award at SIGCOMM 2008. About OpenFlow OpenFlow is supported bythe Stanford Clean Slate Program. Wiki ToolsPersonal toolsProjects |