[ovs-discuss] SDN setup on Real hosts
shruti rao
shrutirao88 at gmail.com
Mon Dec 1 23:50:50 UTC 2014
Hi,
I am trying to setup a local SDN network using physical hosts. My setup is
as follows:
OpenDayLight Controller (Host4)
(11.0.0.1)
|
|
(eth0: 11.0.0.2)
Host1
-------------------------------OpenvSwitch----------------------------------Host2
(11.0.0.5) (eth1: 11.0.0.3) Host3 (eth2:
11.0.0.4) (11.0.0.6)
Each of the machines have Ubuntu 14.04 Kernel version: 3.13.0. The
openvswitch version is 2.3.0.
The hosts and controller are connected to the switch via physical NIC cards.
The output of ovs-vsctl show is as follows:
Bridge "br0"
Controller "tcp:11.0.0.1:6633"
is_connected: true
Port "eth2"
Interface "eth2"
Port "br0"
Interface "br0"
type: internal
Port "eth1"
Interface "eth1"
The output of ovs-ofctl show br0:
OFPT_FEATURES_REPLY (xid=0x2): dpid:00000014d12dcd24
n_tables:254, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC SET_DL_DST
SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE
1(eth1): addr:00:14:d1:2d:cd:24
config: 0
state: 0
current: 100MB-FD AUTO_NEG
advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-HD 1GB-FD COPPER
AUTO_NEG AUTO_PAUSE AUTO_PAUSE_ASYM
supported: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-HD 1GB-FD COPPER
AUTO_NEG
speed: 100 Mbps now, 1000 Mbps max
2(eth2): addr:00:1d:09:8b:61:be
config: 0
state: 0
current: 100MB-FD COPPER AUTO_NEG
advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD COPPER AUTO_NEG
supported: 10MB-HD 10MB-FD 100MB-HD 100MB-FD COPPER AUTO_NEG
speed: 100 Mbps now, 100 Mbps max
LOCAL(br0): addr:00:14:d1:2d:cd:24
config: PORT_DOWN
state: LINK_DOWN
speed: 0 Mbps now, 0 Mbps max
OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0
After the setup is up, when I try to ping from Host2 to Host1, the ping
does not go through. I get the message "Destination Host Unreachable" and
only one flow rule is installed in the OpenvSwitch.
NXST_FLOW reply (xid=0x4):
cookie=0x0, duration=5.022s, table=0, n_packets=0, n_bytes=0, idle_age=5,
priority=1,ip,nw_dst=11.0.0.6 actions=mod_dl_dst:00:1d:09:8b:60:fa,output:2
But once Host1 starts sending some traffic, the following pings from Host2
succeeds. Same is the case other way round too.
I am unable to point where the configuration is failing.
If anybody can guide me, it would be of great help!
Thanks,
Shruti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20141201/b07f9203/attachment-0002.html>
More information about the discuss
mailing list