Re: [casper] [ROACH2] tap-start invalid

2017-06-08 Thread Marc Welz
Unrelated to the age of tcpborphserver. If you can't find
/proct/net/igmp then you would be running a kernel build quite a bit
older that what is available ...

regards

marc


On Thu, Jun 8, 2017 at 2:06 PM, Amit Bansod  wrote:
> Hi Marc,
>
> On "netstat -ng", it says "netstat: no support for 'AF INET (igmp)' on
> this system. Can this be due to old version of tcpborphserver ?
>
> Regards,
> Amit
>
> On 08-Jun-17 3:54 PM, Marc Welz wrote:
>> You might be looking in /proc/sys/net, you want to be in /proc/net
>>
>> regards
>>
>> marc
>>
>>
>> On Thu, Jun 8, 2017 at 1:51 PM, Amit Bansod  
>> wrote:
>>> Hi Marc,
>>>
>>> Thanks, I changed the force_igmp_version to 2 however I do not see any
>>> "igmp" entry in /proc/net directory.
>>>
>>> Regards,
>>> Amit
>>>
>>> On 08-Jun-17 3:38 PM, Marc Welz wrote:
 Not 100% sure, but I think you might have to downgrade the linux igmp
 messages to version 2 to work with mellanox ? There is a
 force_igmp_version entry in /proc/sys/net ...

 regards

 marc


 On Thu, Jun 8, 2017 at 12:15 PM, Amit Bansod  
 wrote:
> Hi Marc,
>
> I gave this a try:
>
> fpga.tap_start('tap0',gbe_core_name,mac_id,unicast_source_ip,fabric_port)
> fpga.tap_multicast_add_recv('tap0',multicast_ip)
>
> I do see the log shows "multicast add" successful but we do not see any
> membership reports from ROACH2. Is there a way to monitor IGMP requests
> ? I am not sure if the IGMP version has to be same as the switch. We are
> using the Mellanox SX1012.
>
> Thanks,
> Amit
>
>
> On 02-Jun-17 4:28 PM, Marc Welz wrote:
>> On Fri, Jun 2, 2017 at 2:10 PM, Amit Bansod  
>> wrote:
>>> Hi Marc,
>>>
>>> I am trying to subscribe to a multicast group (receive data). How then
>>> can I configure the core to send an IGMP request ?
>> You are probably looking for ?tap-multicast-add. Note that you can
>> only invoke that once
>> you have brought up the tap interface with ?tap-start and related.
>> There should be
>> a ?help command which provides an overview.
>>
>> regards
>>
>> marc
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To post to this group, send email to casper@lists.berkeley.edu.


Re: [casper] [ROACH2] tap-start invalid

2017-06-08 Thread Amit Bansod
Hi Marc,

On "netstat -ng", it says "netstat: no support for 'AF INET (igmp)' on
this system. Can this be due to old version of tcpborphserver ?

Regards,
Amit

On 08-Jun-17 3:54 PM, Marc Welz wrote:
> You might be looking in /proc/sys/net, you want to be in /proc/net
>
> regards
>
> marc
>
>
> On Thu, Jun 8, 2017 at 1:51 PM, Amit Bansod  wrote:
>> Hi Marc,
>>
>> Thanks, I changed the force_igmp_version to 2 however I do not see any
>> "igmp" entry in /proc/net directory.
>>
>> Regards,
>> Amit
>>
>> On 08-Jun-17 3:38 PM, Marc Welz wrote:
>>> Not 100% sure, but I think you might have to downgrade the linux igmp
>>> messages to version 2 to work with mellanox ? There is a
>>> force_igmp_version entry in /proc/sys/net ...
>>>
>>> regards
>>>
>>> marc
>>>
>>>
>>> On Thu, Jun 8, 2017 at 12:15 PM, Amit Bansod  
>>> wrote:
 Hi Marc,

 I gave this a try:

 fpga.tap_start('tap0',gbe_core_name,mac_id,unicast_source_ip,fabric_port)
 fpga.tap_multicast_add_recv('tap0',multicast_ip)

 I do see the log shows "multicast add" successful but we do not see any
 membership reports from ROACH2. Is there a way to monitor IGMP requests
 ? I am not sure if the IGMP version has to be same as the switch. We are
 using the Mellanox SX1012.

 Thanks,
 Amit


 On 02-Jun-17 4:28 PM, Marc Welz wrote:
> On Fri, Jun 2, 2017 at 2:10 PM, Amit Bansod  
> wrote:
>> Hi Marc,
>>
>> I am trying to subscribe to a multicast group (receive data). How then
>> can I configure the core to send an IGMP request ?
> You are probably looking for ?tap-multicast-add. Note that you can
> only invoke that once
> you have brought up the tap interface with ?tap-start and related.
> There should be
> a ?help command which provides an overview.
>
> regards
>
> marc
>

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To post to this group, send email to casper@lists.berkeley.edu.


Re: [casper] [ROACH2] tap-start invalid

2017-06-08 Thread Marc Welz
You might be looking in /proc/sys/net, you want to be in /proc/net

regards

marc


On Thu, Jun 8, 2017 at 1:51 PM, Amit Bansod  wrote:
> Hi Marc,
>
> Thanks, I changed the force_igmp_version to 2 however I do not see any
> "igmp" entry in /proc/net directory.
>
> Regards,
> Amit
>
> On 08-Jun-17 3:38 PM, Marc Welz wrote:
>> Not 100% sure, but I think you might have to downgrade the linux igmp
>> messages to version 2 to work with mellanox ? There is a
>> force_igmp_version entry in /proc/sys/net ...
>>
>> regards
>>
>> marc
>>
>>
>> On Thu, Jun 8, 2017 at 12:15 PM, Amit Bansod  
>> wrote:
>>> Hi Marc,
>>>
>>> I gave this a try:
>>>
>>> fpga.tap_start('tap0',gbe_core_name,mac_id,unicast_source_ip,fabric_port)
>>> fpga.tap_multicast_add_recv('tap0',multicast_ip)
>>>
>>> I do see the log shows "multicast add" successful but we do not see any
>>> membership reports from ROACH2. Is there a way to monitor IGMP requests
>>> ? I am not sure if the IGMP version has to be same as the switch. We are
>>> using the Mellanox SX1012.
>>>
>>> Thanks,
>>> Amit
>>>
>>>
>>> On 02-Jun-17 4:28 PM, Marc Welz wrote:
 On Fri, Jun 2, 2017 at 2:10 PM, Amit Bansod  
 wrote:
> Hi Marc,
>
> I am trying to subscribe to a multicast group (receive data). How then
> can I configure the core to send an IGMP request ?
 You are probably looking for ?tap-multicast-add. Note that you can
 only invoke that once
 you have brought up the tap interface with ?tap-start and related.
 There should be
 a ?help command which provides an overview.

 regards

 marc

>

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To post to this group, send email to casper@lists.berkeley.edu.


Re: [casper] [ROACH2] tap-start invalid

2017-06-08 Thread Amit Bansod
Hi Marc,

Thanks, I changed the force_igmp_version to 2 however I do not see any
"igmp" entry in /proc/net directory.

Regards,
Amit

On 08-Jun-17 3:38 PM, Marc Welz wrote:
> Not 100% sure, but I think you might have to downgrade the linux igmp
> messages to version 2 to work with mellanox ? There is a
> force_igmp_version entry in /proc/sys/net ...
>
> regards
>
> marc
>
>
> On Thu, Jun 8, 2017 at 12:15 PM, Amit Bansod  
> wrote:
>> Hi Marc,
>>
>> I gave this a try:
>>
>> fpga.tap_start('tap0',gbe_core_name,mac_id,unicast_source_ip,fabric_port)
>> fpga.tap_multicast_add_recv('tap0',multicast_ip)
>>
>> I do see the log shows "multicast add" successful but we do not see any
>> membership reports from ROACH2. Is there a way to monitor IGMP requests
>> ? I am not sure if the IGMP version has to be same as the switch. We are
>> using the Mellanox SX1012.
>>
>> Thanks,
>> Amit
>>
>>
>> On 02-Jun-17 4:28 PM, Marc Welz wrote:
>>> On Fri, Jun 2, 2017 at 2:10 PM, Amit Bansod  
>>> wrote:
 Hi Marc,

 I am trying to subscribe to a multicast group (receive data). How then
 can I configure the core to send an IGMP request ?
>>> You are probably looking for ?tap-multicast-add. Note that you can
>>> only invoke that once
>>> you have brought up the tap interface with ?tap-start and related.
>>> There should be
>>> a ?help command which provides an overview.
>>>
>>> regards
>>>
>>> marc
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To post to this group, send email to casper@lists.berkeley.edu.


Re: [casper] [ROACH2] tap-start invalid

2017-06-08 Thread Marc Welz
Also:

cat /proc/net/igmp on the roach will tell you what groups the kernel
thinks it should be subscribed to ...

regards

marc


On Thu, Jun 8, 2017 at 12:15 PM, Amit Bansod  wrote:
> Hi Marc,
>
> I gave this a try:
>
> fpga.tap_start('tap0',gbe_core_name,mac_id,unicast_source_ip,fabric_port)
> fpga.tap_multicast_add_recv('tap0',multicast_ip)
>
> I do see the log shows "multicast add" successful but we do not see any
> membership reports from ROACH2. Is there a way to monitor IGMP requests
> ? I am not sure if the IGMP version has to be same as the switch. We are
> using the Mellanox SX1012.
>
> Thanks,
> Amit
>
>
> On 02-Jun-17 4:28 PM, Marc Welz wrote:
>> On Fri, Jun 2, 2017 at 2:10 PM, Amit Bansod  
>> wrote:
>>> Hi Marc,
>>>
>>> I am trying to subscribe to a multicast group (receive data). How then
>>> can I configure the core to send an IGMP request ?
>> You are probably looking for ?tap-multicast-add. Note that you can
>> only invoke that once
>> you have brought up the tap interface with ?tap-start and related.
>> There should be
>> a ?help command which provides an overview.
>>
>> regards
>>
>> marc
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To post to this group, send email to casper@lists.berkeley.edu.


Re: [casper] [ROACH2] tap-start invalid

2017-06-08 Thread Marc Welz
Not 100% sure, but I think you might have to downgrade the linux igmp
messages to version 2 to work with mellanox ? There is a
force_igmp_version entry in /proc/sys/net ...

regards

marc


On Thu, Jun 8, 2017 at 12:15 PM, Amit Bansod  wrote:
> Hi Marc,
>
> I gave this a try:
>
> fpga.tap_start('tap0',gbe_core_name,mac_id,unicast_source_ip,fabric_port)
> fpga.tap_multicast_add_recv('tap0',multicast_ip)
>
> I do see the log shows "multicast add" successful but we do not see any
> membership reports from ROACH2. Is there a way to monitor IGMP requests
> ? I am not sure if the IGMP version has to be same as the switch. We are
> using the Mellanox SX1012.
>
> Thanks,
> Amit
>
>
> On 02-Jun-17 4:28 PM, Marc Welz wrote:
>> On Fri, Jun 2, 2017 at 2:10 PM, Amit Bansod  
>> wrote:
>>> Hi Marc,
>>>
>>> I am trying to subscribe to a multicast group (receive data). How then
>>> can I configure the core to send an IGMP request ?
>> You are probably looking for ?tap-multicast-add. Note that you can
>> only invoke that once
>> you have brought up the tap interface with ?tap-start and related.
>> There should be
>> a ?help command which provides an overview.
>>
>> regards
>>
>> marc
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To post to this group, send email to casper@lists.berkeley.edu.


Re: [casper] [ROACH2] tap-start invalid

2017-06-08 Thread Amit Bansod
Hi Marc,

I gave this a try:

fpga.tap_start('tap0',gbe_core_name,mac_id,unicast_source_ip,fabric_port)
fpga.tap_multicast_add_recv('tap0',multicast_ip)

I do see the log shows "multicast add" successful but we do not see any
membership reports from ROACH2. Is there a way to monitor IGMP requests 
? I am not sure if the IGMP version has to be same as the switch. We are
using the Mellanox SX1012.

Thanks,
Amit


On 02-Jun-17 4:28 PM, Marc Welz wrote:
> On Fri, Jun 2, 2017 at 2:10 PM, Amit Bansod  wrote:
>> Hi Marc,
>>
>> I am trying to subscribe to a multicast group (receive data). How then
>> can I configure the core to send an IGMP request ?
> You are probably looking for ?tap-multicast-add. Note that you can
> only invoke that once
> you have brought up the tap interface with ?tap-start and related.
> There should be
> a ?help command which provides an overview.
>
> regards
>
> marc
>

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To post to this group, send email to casper@lists.berkeley.edu.


Re: [casper] [ROACH2] tap-start invalid

2017-06-02 Thread Marc Welz
On Fri, Jun 2, 2017 at 2:10 PM, Amit Bansod  wrote:
> Hi Marc,
>
> I am trying to subscribe to a multicast group (receive data). How then
> can I configure the core to send an IGMP request ?

You are probably looking for ?tap-multicast-add. Note that you can
only invoke that once
you have brought up the tap interface with ?tap-start and related.
There should be
a ?help command which provides an overview.

regards

marc

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To post to this group, send email to casper@lists.berkeley.edu.


Re: [casper] [ROACH2] tap-start invalid

2017-06-02 Thread Marc Welz
On Fri, Jun 2, 2017 at 9:53 AM, Amit Bansod  wrote:
> Dear All,
>
> I am getting this message on giving tap-start on ROACH2:
>
> ?tap-start tap0 gbe0 239.10.1.64 7148 01:00:5E:0A:01:40

Hang on - you are configuring your local interface to be a multicast address.

That doesn't work - an interface needs to have a *unicast* address, it
then *sends*
to a multicast address.

regards

marc

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To post to this group, send email to casper@lists.berkeley.edu.