Hello ,
I have ported OF1.3 to mikrotik routerboard and trying to test if the
implementation is correct.
i am testing my setup with simple_switch_1_3.py trying to have two host
connect to the OFswitch, my OFswitch setup is set for outband and OFports
are eth0.3 eth0.4 and eth0.5.
connection to the controller is set on eth0.2.
with this setup OFswitch is able to connect to Ryu but i do not have ping
to the host, but if i include controller port to OFports i will get the
connection but with following errors.
In the switch i get
#############################################################################################
eth0.2,eth0.3,eth0.4,eth0.5
Configuring OpenFlow switch for out-of-band control
Jan 01 00:07:20|00001|dp_ports|ERR|eth0.2 device has assigned IP address
192.168.2.15
Jan 01 00:07:20|00002|dp_ports|ERR|eth0.2 device has assigned IPv6 address
fe80::d6ca:6dff:feb1:c4de
Jan 01 00:07:20|00003|dp_ports|ERR|eth0.3 device has assigned IPv6 address
fe80::d6ca:6dff:feb1:c4de
Jan 01 00:07:20|00004|dp_ports|ERR|eth0.4 device has assigned IPv6 address
fe80::d6ca:6dff:feb1:c4de
Jan 01 00:07:20|00006|dp_ports|ERR|eth0.5 device has assigned IPv6 address
fe80::d6ca:6dff:feb1:c4de
No need for further configuration for out-of-band control
root@Of14215:~# Jan 01 00:07:23|00001|vlog|INFO|opened log file
/tmp/log/ofdatapath.log
Jan 01 00:07:23|00002|secchan|INFO|OpenFlow reference implementation
version 1.3.0
Jan 01 00:07:23|00003|secchan|INFO|OpenFlow protocol version 0x04
Jan 01 00:07:23|00004|secchan|WARN|new management connection will receive
asynchronous messages
Jan 01 00:07:23|00005|rconn|INFO|tcp:127.0.0.1:6634: connecting...
Jan 01 00:07:23|00006|rconn|INFO|tcp:192.168.2.20:6633: connecting...
Jan 01 00:07:23|00007|rconn|INFO|tcp:127.0.0.1:6634: connected
Jan 01 00:07:23|00008|rconn|INFO|tcp:192.168.2.20:6633: connected
Jan 01 00:07:23|00009|port_watcher|INFO|Datapath id is 000000000003
Jan 01 00:07:24|00007|dp_acts|WARN|can't directly forward to input port.
Jan 01 00:07:24|00008|dp_acts|WARN|can't directly forward to input port.
Jan 01 00:07:24|00009|dp_acts|WARN|can't directly forward to input port.
Jan 01 02:24:36|00008|dp_acts|WARN|can't directly forward to input port.
##############################################################################################
and in Ryu i have the following.
#########################################################
EVENT ofp_event->SimpleSwitch13 EventOFPSwitchFeatures
switch features ev version: 0x4 msg_type 0x6 xid 0x87c4be85
OFPSwitchFeatures(auxiliary_id=0,capabilities=79,datapath_id=3,n_buffers=256,n_tables=64)
move onto main mode
EVENT ofp_event->SimpleSwitch13 EventOFPPacketIn
packet in 3 d4:ca:6d:b1:c4:de 90:e2:ba:49:f6:1e 1
EVENT ofp_event->SimpleSwitch13 EventOFPPacketIn
packet in 3 90:e2:ba:49:f6:1e d4:ca:6d:b1:c4:de 1
EVENT ofp_event->SimpleSwitch13 EventOFPPacketIn
packet in 3 d4:ca:6d:b1:c4:de ff:ff:ff:ff:ff:ff 4
########################################################
this is my current configuration on OFswitch
#######################################
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd1c:640f:6cb2::/48'
config interface 'lan'
option ifname 'eth0.1'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.4'
option netmask '255.255.255.0'
option ip6assign '60'
config interface 'lan2'
option proto 'static'
option ifname 'eth0.2'
option ipaddr '192.168.2.15'
option netmask '255.255.255.0'
option gateway '192.168.2.20'
option broadcast '192.168.2.255'
config interface 'lan3'
option proto 'static'
option ifname 'eth0.3'
config interface 'lan4'
option proto 'static'
option ifname 'eth0.4'
config interface 'lan5'
option proto 'static'
option ifname 'eth0.5'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1 2 3'
config switch_vlan
option device 'switch0'
option vlan '1'
option vid '1'
option ports '0t 1'
config switch_vlan
option device 'switch0'
option vlan '2'
option vid '2'
option ports '0t 2'
config switch_vlan
option device 'switch0'
option vlan '3'
option vid '3'
option ports '0t 3'
config switch_vlan
option device 'switch0'
option vlan '4'
option vid '4'
option ports '0t 4'
config switch_vlan
option device 'switch0'
option vlan '5'
option vid '5'
option ports '0t 5'
################################
config 'ofswitch'
option 'dp' 'dp0'
option 'dpid' '000000000003'
option 'ofports' 'eth0.3 eth0.4 eth0.5'
option 'ofctl' 'tcp:192.168.2.20:6633'
option 'mode' 'outofband'
################################
please if anyone can tell me if i am missing something here, as i know in
outofband configuration the connection to the controller is serrated from
the OFports.
i am newbie to Ryu and OF1.3, why does it work when the port to the
controller is part of the OFports and not working when it is separated.
Thanks.
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel