Re: CEPTCL: Doesn't RX multicast, has anyone seen it work before?



On Aug 24, 5:19 am, Uwe Klein <uwe_klein_habertw...@xxxxxxxxxxx>
wrote:
You can use bash localy for testing.

First:
echo "teststring" >/dev/udp/<this_host_ip>/<my_app_port>

This should trigger your receive handler.

then:
echo "teststring" >/dev/udp/<my_mcast_group>/<my_app_port>

This then should do the same.

apropos:
What does your routing look like?

and does ifconfig for the used interface
show "multicast" in the options?
Like:
robert:~ # ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:0E:A6:B0:BB:6B
inet addr:172.33.99.1 Bcast:172.33.99.255 Mask:255.255.255.0
inet6 addr: fe80::20e:a6ff:feb0:bb6b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
-------------------------------^^^^^^^^^
RX packets:13438274 errors:0 dropped:0 overruns:0 frame:0
TX packets:8824671 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2198898107 (2097.0 Mb) TX bytes:3936442011 (3754.0 Mb)
Interrupt:185 Base address:0x6000

uwe

Hi,
Thanks for the help!
1) ifconfig shows multicast. Actually the udptcl package DOES work
with multicast TX and RX on this Linux just fine but ceptcl does not
RX multicast. I need the options that ceptcl has though. udptcl only
works on one interface and ceptcl can utilize any interface (or
alias). That's what I need.

2) I ran my script using tcludp and tried the commands you sugested.
It received the packets and called the handler.

3) I ran my script using ceptcl and tried the commands you sugested.
It DIDN'T receive the packets and called the handler WAS NOT called.

Right now I'm using eth0 for my script (because tcludp only works on
that interface), but if I can get ceptcl to work I'll utilize other
interfaces. I shouldn't run protocol tests on my network interface
that connects to the corp net. I need to use the other interfaces
(like ceptcl supports if it worked).


[root@castlerock dkushner]# /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:11:0D:14:6E
inet addr:172.24.217.91 Bcast:172.24.217.255 Mask:
255.255.255.0
inet6 addr: fe80::211:11ff:fe0d:146e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1694175 errors:0 dropped:0 overruns:0 frame:0
TX packets:2152843 errors:0 dropped:0 overruns:0 carrier:0
collisions:268893 txqueuelen:100
RX bytes:265462251 (253.1 MiB) TX bytes:1389346959 (1.2
GiB)
Base address:0xddc0 Memory:fcee0000-fcf00000

eth0:1 Link encap:Ethernet HWaddr 00:11:11:0D:14:6E
inet addr:26.0.0.2 Bcast:26.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Base address:0xddc0 Memory:fcee0000-fcf00000

eth1 Link encap:Ethernet HWaddr 00:14:C1:35:BF:06
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:21 Base address:0x4f00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:5936 errors:0 dropped:0 overruns:0 frame:0
TX packets:5936 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12413742 (11.8 MiB) TX bytes:12413742 (11.8 MiB)

[root@castlerock dkushner]#
[root@castlerock dkushner]# netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window
irtt Ifac
172.24.217.0 * 255.255.255.0 U 0 0
0 eth0
169.254.0.0 * 255.255.0.0 U 0 0
0 eth0
26.0.0.0 * 255.0.0.0 U 0 0
0 eth0
default router-172-24-2 0.0.0.0 UG 0 0
0 eth0
[root@castlerock dkushner]#
- Daniel












.



Relevant Pages

  • Re: Slow slow slow.
    ... This is what those commands output. ... UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ...
    (Ubuntu)
  • using 2nd network interface - wont try to TX anything
    ... I'm trying to make use of a 2nd ethernet interface. ... UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ... TX bytes is 0 for ixp2 despite attempts to ping the other host on that LAN ... 17:39:11.723759 arp who-has 172.30.2.3 tell 172.30.2.1 ...
    (comp.os.linux.networking)
  • Re: Still cant ping my Linux box
    ... [root@Python root]# route -n ... # ifconfig ... UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ... UP LOOPBACK RUNNING MTU:16436 Metric:1 ...
    (comp.os.linux.networking)
  • Re: How to get my 2 ethernet cards to work
    ... here's my ifconfig and netstat -rn My other PC is ... UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ... inet addr:192.168.1.10 Bcast:192.168.1.255 ...
    (comp.os.linux.networking)
  • Re: ping problem ...
    ... You lost your router when pppoe started up. ... It sounds like you have a little more sophisticated network than your ... should ifconfig show us an eth interface? ... UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ...
    (comp.os.linux.networking)