Skip to content

Instantly share code, notes, and snippets.

View marciolm's full-sized avatar

Marcio Miguel marciolm

View GitHub Profile
@marciolm
marciolm / S99bootovs
Last active December 29, 2023 07:02
Config Files for OpenVSwitch OpenWRT
#Setup variables
#My IP address is required for the ovsdb server.
MYIP=192.168.1.112
# This is the OpenFlow controller ID which we're going to load into the OVS
CTLIP=192.168.1.130
# This is our DataPath ID
DPID=0000000000000112
mkdir openwrt
cd openwrt
svn co svn://svn.openwrt.org/openwrt/branches/attitude_adjustment
./scripts/feeds update -a
./scripts/feeds install -a
make menuconfig
Select Target Profile (TP-LINK TL-WR1043N/ND) --->
Select (*) OpenFlow package under network
Select (*) tc package under network
Select kmod-tun under Kernel Modules->Network Support
@marciolm
marciolm / firewall
Created December 20, 2013 21:25
Openflow 1.3 Openwrt with Mesh control and data planes. All files must be under /etc/config
config defaults
option syn_flood 1
option input ACCEPT
option output ACCEPT
option forward ACCEPT