Hi,

I don't know which target you are using.

But likewise you need to instantiate a VN2VN session on target side also.
e.g. do following on target side
echo <ethX> > /sys/module/libfcoe/parameters/create_vn2vn

If you are using Linux in-kernel TCM target and setup target.
1. Basically ACLs setup for that initiator and LUN masking. If you are using 
RHEL6.4 or so, you can use user mode app ' targetcli' to configure target.

If target is configured correctly for that initiators, VN2VN state machine 
should complete and you should see FLOGI, PLOGI, PRLI on wire.
When PRLI request is sent form initiator to target, target will enforce ACL 
checks (checks WWPN of initiator and target)


Thanks,
-- Kiran P.

-----Original Message-----
From: Gerald Stanje [mailto:[email protected]] 
Sent: Thursday, August 1, 2013 4:52 PM
To: Patil, Kiran; Love, Robert W; [email protected]
Subject: RE: example

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

Reply via email to