Hello, Ok got it working using: echo eth0 > /sys/module/libfcoe/parameters/create_vn2vn ...don't you need to enter the mac address of the target to connect?
I got this trace using whireshark: Probe Request Probe Request Claim Notification Beacon Beacon Beacon Beacon Beacon .... The Beacon request is every 8 seconds... These packets are all as expected right? Thanks, Gerald -----Original Message----- From: Patil, Kiran [mailto:[email protected]] Sent: Thursday, August 01, 2013 4:17 PM To: Gerald Stanje; Love, Robert W; [email protected] Subject: RE: example I think, either you have typo, you are missing '>' between eth0 and /sys/... e.g. it should be as following: echo eth0 > /sys/module/libfcoe/parameters/create_vn2vn Hope that helps. Please also make sure that, eth0 has link (means at least connected to some 10GbE switch) Thanks, -- Kiran P. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Gerald Stanje Sent: Thursday, August 1, 2013 4:06 PM To: Love, Robert W; [email protected] Subject: Re: [Open-FCoE] example Hello Robert, When I do a: echo eth0 /sys/module/libfcoe/parameters/create_vn2vn Shouldn't I see some fip frames trying to look for a target...using wireshark? I don't have the second system connected so far... Thanks, Gerald -----Original Message----- From: Love, Robert W [mailto:[email protected]] Sent: Wednesday, July 31, 2013 4:23 PM To: Gerald Stanje; [email protected] Subject: RE: example > Hello, > > > > I'm looking for a basic sample program in order to inspect fcoe frames > using wireshark and to analyse the fip initialization and fcoe packets. > > > > Can you point me to the right place? > This is a little tricky only because support for VN2VN in fcoeadm was only recently added upstream. It has been available in the kernel for a while. You need to connect two systems to each other, typically with 10Gbps Ethernet. For example, two Fedora systems with their latest release would support everything you need. You would need to ensure that fcoe.ko, libfcoe.ko, libfc.ko and scsi_transport_fc.ko were installed- 'modprobe fcoe'. Alternatively, if you run the fcoe service it should also install the above modules for you. Then you can: # echo <ifname> > /sys/module/libfcoe/parameters/create_vn2vn This is the simplest and most generic help I can give. Newer kernels also have a different sysfs interface, but the one above should still work. Newer versions of fcoeadm also support starting an interface in VN2VN mode, but until you pick a distro/kernel I don't want to assume it's available for you. Hope this helps, //Rob _______________________________________________ fcoe-devel mailing list [email protected] http://lists.open-fcoe.org/mailman/listinfo/fcoe-devel _______________________________________________ fcoe-devel mailing list [email protected] http://lists.open-fcoe.org/mailman/listinfo/fcoe-devel
