To help give more information about my problem, I am attaching the
output log files for both vigil1 and vigil2 (vigil1 is connected to the
host)
I noticed that in vigil1.log, there is "cannot look up controller hw
address (10.0.2.2): No such device or address
And in the function in_band_local_packet_cb in secchan.c, the
get_controller_mac() function is called. Is this kind of related to my
problem?
Sorry about that I am not familiar enough with the source code. Thank
you very much for your help!
-Zheng
Zheng Cai wrote:
Hi,
I have tried both "ifconfig of0 10.0.0.5" and "secchan nl:0
tcp:10.0.2.2:975" on vigil2 too, but the behavior is still the same.
I.e., after 45 seconds, the switch tables start to contain active
flows and forward end host traffic, but still with error messages
"Could not connect to controller, failing open".
However, I found out that, on the nox_core side, warning messages
"(dhcp parse) warning DHCP packet data too short to parse header: data
len 86" keep popping up. Was this the reason for such behavior? If so,
any suggestions on how to solve this issue?
(BTW I used the latest NOX version, downloaded the kernel.bin and
openflow_mod.so and secchan from noxrepo.org. I used in-band control,
ran nox_core with the "pyswitch" application. I added the nl:0 dp, and
all eth interfaces to the dp except the one connecting the host, on
both vigil1 and vigil2)
Thanks a million,
-Zheng
Martin Casado wrote:
To support inand control (on vigil2) you probably have to bring up
of0 and give it an IP address.
e.g.
ifconfig of0 10.0.0.5
let us know if that doesn't work.
cheers,
.martin
I have tried this:
nox
|
end1 --- vigil1 --- vigil2 --- end2
I ran "secchan nl:0 tcp:10.0.2.2:975" on vigil1, ran "secchan nl:0"
on vigil2. At the beginning neither end1 nor end2 could ping each
other. After 45 seconds, I got the error message on vigil2:
fail_open|WARN|Could not connect to controller for 45 seconds,
failing open. But right from then on, end1 and end2 could ping each
other.
Is this the right behavior? If not, what are the things I have done
wrong?
Thanks again for your help,
-Zheng
Zheng Cai wrote:
Following on this thread, in this 2 switches 2 hosts setup, are
there two separate connections from both vigil1 and vigil2 to the
host machine (by s1_SLIRP and s2_SLIRP)? Also, does this mean that
we need to use secchan to connect to the nox_core on the host
machine, from both vigil1 and vigil2?
Then, what if I only setup one secure channel between vigil1 and
the host nox using secchan? Will vigil1 and vigil2 form a spanning
tree, and vigil1 will forward control messages for vigil2? I am a
little confused here.
Thank you so much,
-Zheng Cai
Keith Amidon wrote:
The number of VMs and their connectivity are specified in the
vms.conf file. As an example, here is a file with four VMs total,
two acting as switches (vigil1 & vigil2) and two acting as regular
machines (end1 and end2), one connected to each switch. To add
more VMs, just add new names to the VMS line. The "SWITCHES"
provide the connectivity for the VMs connected to them using the
*_NETS lines as a regular (non-openflow) switch would.
--- Keith
SWITCHESKeith Amidon <[email protected]>="s1 s2 s3 s4 s5"
s1_SLIRP=yes
s2_SLIRP=yes
VMS="vigil1 vigil2 end1 end2"
end1_NETS="s4"
vigil1_NETS="s1 s3 s4"
end2_NETS="s5"
vigil2_NETS="s2 s3 s5"
On Thu, 2009-04-02 at 06:34 -0400, Surabhi Diwan wrote:
Hi All,
I did the virtual test environment setup using NOX with 1
controller, 1 switch and 2 virtual QEMU machines as suggested in
the wiki.
I want to build upwards from this configuration and have more
nodes and switches under the purview of the NOX controller.
Could you please suggest what would be the best way to emulate
more complicated (close to real life networks) using the NOX
controller.
Thanks a lot!
Regards,
Surabhi
_______________________________________________
nox-dev mailing list
[email protected] <mailto:[email protected]>
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
------------------------------------------------------------------------
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.orMartin Casado
<[email protected]>g/mailman/listinfo/nox-dev_noxrepo.org
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
Apr 08 15:51:46|00082|netlink|DBG|nl_sock_recv (Success): nl(len:180, type=18(family-defined), flags=0, seq=0, pid=0(0:0))
Apr 08 15:51:46|00083|vconn|DBG|nl:0: received: packet_in (xid=0x0): total_len=296 in_port=0 data_len=128 buffer=0x00000c48
udp,in_port=0,dl_vlan=0xffff,dl_src=00:23:20:ee:87:91,dl_dst=ff:ff:ff:ff:ff:ff,nw_src=0.0.0.0,nw_dst=255.255.255.255,tp_src=66,tp_dst=67,
Apr 08 15:51:46|00084|in_band|DBG|cannot look up controller hw address (10.0.2.2): No such device or address
Apr 08 15:51:46|00085|vconn|DBG|tcp:10.0.2.2:1975: sent (Success): packet_in (xid=0x0): total_len=296 in_port=0 data_len=128 buffer=0x00000c48
udp,in_port=0,dl_vlan=0xffff,dl_src=00:23:20:ee:87:91,dl_dst=ff:ff:ff:ff:ff:ff,nw_src=0.0.0.0,nw_dst=255.255.255.255,tp_src=66,tp_dst=67,
Apr 08 15:51:46|00086|vconn|DBG|tcp:10.0.2.2:1975: received: packet_out (xid=0x0): in_port=0 actions_len=8 actions=FLOOD buffer=0x00000c48
Apr 08 15:51:46|00087|netlink|DBG|nl_sock_sendv (Success): nl(len:56, type=18(family-defined), flags=1[REQUEST], seq=49dd2619, pid=4197473(3169:1))
Apr 08 15:51:46|00088|vconn|DBG|nl:0:0: sent (Success): packet_out (xid=0x0): in_port=0 actions_len=8 actions=FLOOD buffer=0x00000c48
Apr 08 15:51:50|00089|netlink|DBG|nl_sock_recv (Success): nl(len:180, type=18(family-defined), flags=0, seq=0, pid=0(0:0))
Apr 08 15:51:50|00090|vconn|DBG|nl:0: received: packet_in (xid=0x0): total_len=296 in_port=0 data_len=128 buffer=0x00000c49
udp,in_port=0,dl_vlan=0xffff,dl_src=00:23:20:ee:87:91,dl_dst=ff:ff:ff:ff:ff:ff,nw_src=0.0.0.0,nw_dst=255.255.255.255,tp_src=66,tp_dst=67,
Apr 08 15:51:50|00091|in_band|DBG|cannot look up controller hw address (10.0.2.2): No such device or address
Apr 08 15:51:50|00092|vconn|DBG|tcp:10.0.2.2:1975: sent (Success): packet_in (xid=0x0): total_len=296 in_port=0 data_len=128 buffer=0x00000c49
udp,in_port=0,dl_vlan=0xffff,dl_src=00:23:20:ee:87:91,dl_dst=ff:ff:ff:ff:ff:ff,nw_src=0.0.0.0,nw_dst=255.255.255.255,tp_src=66,tp_dst=67,
Apr 08 15:51:50|00093|vconn|DBG|tcp:10.0.2.2:1975: received: packet_out (xid=0x0): in_port=0 actions_len=8 actions=FLOOD buffer=0x00000c49
Apr 08 15:51:50|00094|netlink|DBG|nl_sock_sendv (Success): nl(len:56, type=18(family-defined), flags=1[REQUEST], seq=49dd261a, pid=4197473(3169:1))
Apr 08 15:51:50|00095|vconn|DBG|nl:0:0: sent (Success): packet_out (xid=0x0): in_port=0 actions_len=8 actions=FLOOD buffer=0x00000c49
Apr 08 15:51:52|00096|netlink|DBG|nl_sock_recv (Success): nl(len:180, type=18(family-defined), flags=0, seq=0, pid=0(0:0))
Apr 08 15:51:52|00097|vconn|DBG|nl:0: received: packet_in (xid=0x0): total_len=296 in_port=0 data_len=128 buffer=0x00000c4a
udp,in_port=0,dl_vlan=0xffff,dl_src=00:23:20:ee:87:91,dl_dst=ff:ff:ff:ff:ff:ff,nw_src=0.0.0.0,nw_dst=255.255.255.255,tp_src=66,tp_dst=67,
Apr 08 15:51:52|00098|in_band|DBG|cannot look up controller hw address (10.0.2.2): No such device or address
Apr 08 15:51:52|00099|vconn|DBG|tcp:10.0.2.2:1975: sent (Success): packet_in (xid=0x0): total_len=296 in_port=0 data_len=128 buffer=0x00000c4a
udp,in_port=0,dl_vlan=0xffff,dl_src=00:23:20:ee:87:91,dl_dst=ff:ff:ff:ff:ff:ff,nw_src=0.0.0.0,nw_dst=255.255.255.255,tp_src=66,tp_dst=67,
Apr 08 15:51:52|00100|vconn|DBG|tcp:10.0.2.2:1975: received: packet_out (xid=0x0): in_port=0 actions_len=8 actions=FLOOD buffer=0x00000c4a
Apr 08 15:51:52|00101|netlink|DBG|nl_sock_sendv (Success): nl(len:56, type=18(family-defined), flags=1[REQUEST], seq=49dd261b, pid=4197473(3169:1))
Apr 08 15:51:52|00102|vconn|DBG|nl:0:0: sent (Success): packet_out (xid=0x0): in_port=0 actions_len=8 actions=FLOOD buffer=0x00000c4a
Apr 08 15:51:27|00082|netlink|DBG|nl_sock_sendv (Success): nl(len:56, type=18(family-defined), flags=1[REQUEST], seq=49dd2ece, pid=4195493(1189:1))
Apr 08 15:51:27|00083|vconn|DBG|nl:0:0: sent (Success): packet_out (xid=0x0): in_port=LOCAL actions_len=8 actions=FLOOD buffer=0x00000f16
Apr 08 15:51:28|00084|netlink|DBG|nl_sock_recv (Success): nl(len:112, type=18(family-defined), flags=0, seq=0, pid=0(0:0))
Apr 08 15:51:28|00085|vconn|DBG|nl:0: received: packet_in (xid=0x0): total_len=60 in_port=1 data_len=60 buffer=0x00000f17
arp,in_port=1,dl_vlan=0xffff,dl_src=50:54:00:00:00:01,dl_dst=ff:ff:ff:ff:ff:ff,nw_src=0.0.0.0,nw_dst=0.0.0.0,nw_proto=0,tp_src=0,tp_dst=0,
Apr 08 15:51:29|00086|netlink|DBG|nl_sock_recv (Success): nl(len:112, type=18(family-defined), flags=0, seq=0, pid=0(0:0))
Apr 08 15:51:29|00087|vconn|DBG|nl:0: received: packet_in (xid=0x0): total_len=60 in_port=1 data_len=60 buffer=0x00000f18
arp,in_port=1,dl_vlan=0xffff,dl_src=50:54:00:00:00:01,dl_dst=ff:ff:ff:ff:ff:ff,nw_src=0.0.0.0,nw_dst=0.0.0.0,nw_proto=0,tp_src=0,tp_dst=0,
Apr 08 15:51:31|00088|dhcp_client|DBG|sending op=request type=DHCPDISCOVER xid=0x224c9726 secs=16s chaddr=00:23:20:ee:87:91 vendor-class="OpenFlow"
Apr 08 15:51:31|00089|netlink|DBG|nl_sock_recv (Success): nl(len:112, type=18(family-defined), flags=0, seq=0, pid=0(0:0))
Apr 08 15:51:31|00090|vconn|DBG|nl:0: received: packet_in (xid=0x0): total_len=60 in_port=1 data_len=60 buffer=0x00000f19
arp,in_port=1,dl_vlan=0xffff,dl_src=50:54:00:00:00:01,dl_dst=ff:ff:ff:ff:ff:ff,nw_src=0.0.0.0,nw_dst=0.0.0.0,nw_proto=0,tp_src=0,tp_dst=0,
Apr 08 15:51:31|00091|netlink|DBG|nl_sock_recv (Success): nl(len:180, type=18(family-defined), flags=0, seq=0, pid=0(0:0))
Apr 08 15:51:31|00092|vconn|DBG|nl:0: received: packet_in (xid=0x0): total_len=296 in_port=LOCAL data_len=128 buffer=0x00000f1a
udp,in_port=65534,dl_vlan=0xffff,dl_src=00:23:20:ee:87:91,dl_dst=ff:ff:ff:ff:ff:ff,nw_src=0.0.0.0,nw_dst=255.255.255.255,tp_src=66,tp_dst=67,
Apr 08 15:51:31|00093|netlink|DBG|nl_sock_sendv (Success): nl(len:56, type=18(family-defined), flags=1[REQUEST], seq=49dd2ecf, pid=4195493(1189:1))
Apr 08 15:51:31|00094|vconn|DBG|nl:0:0: sent (Success): packet_out (xid=0x0): in_port=LOCAL actions_len=8 actions=FLOOD buffer=0x00000f1a
Apr 08 15:51:32|00095|netlink|DBG|nl_sock_recv (Success): nl(len:112, type=18(family-defined), flags=0, seq=0, pid=0(0:0))
Apr 08 15:51:32|00096|vconn|DBG|nl:0: received: packet_in (xid=0x0): total_len=60 in_port=1 data_len=60 buffer=0x00000f1b
arp,in_port=1,dl_vlan=0xffff,dl_src=50:54:00:00:00:01,dl_dst=ff:ff:ff:ff:ff:ff,nw_src=0.0.0.0,nw_dst=0.0.0.0,nw_proto=0,tp_src=0,tp_dst=0,
Apr 08 15:51:33|00097|netlink|DBG|nl_sock_recv (Success): nl(len:112, type=18(family-defined), flags=0, seq=0, pid=0(0:0))
Apr 08 15:51:33|00098|vconn|DBG|nl:0: received: packet_in (xid=0x0): total_len=60 in_port=1 data_len=60 buffer=0x00000f1c
arp,in_port=1,dl_vlan=0xffff,dl_src=50:54:00:00:00:01,dl_dst=ff:ff:ff:ff:ff:ff,nw_src=0.0.0.0,nw_dst=0.0.0.0,nw_proto=0,tp_src=0,tp_dst=0,
Apr 08 15:51:33|00099|dhcp_client|DBG|sending op=request type=DHCPDISCOVER xid=0x224c9726 secs=18s chaddr=00:23:20:ee:87:91 vendor-class="OpenFlow"
Apr 08 15:51:33|00100|netlink|DBG|nl_sock_recv (Success): nl(len:180, type=18(family-defined), flags=0, seq=0, pid=0(0:0))
Apr 08 15:51:33|00101|vconn|DBG|nl:0: received: packet_in (xid=0x0): total_len=296 in_port=LOCAL data_len=128 buffer=0x00000f1d
udp,in_port=65534,dl_vlan=0xffff,dl_src=00:23:20:ee:87:91,dl_dst=ff:ff:ff:ff:ff:ff,nw_src=0.0.0.0,nw_dst=255.255.255.255,tp_src=66,tp_dst=67,
Apr 08 15:51:33|00102|netlink|DBG|nl_sock_sendv (Success): nl(len:56, type=18(family-defined), flags=1[REQUEST], seq=49dd2ed0, pid=4195493(1189:1))
Apr 08 15:51:33|00103|vconn|DBG|nl:0:0: sent (Success): packet_out (xid=0x0): in_port=LOCAL actions_len=8 actions=FLOOD buffer=0x00000f1d
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org