Postby faiza » 23 Aug 2006 09:41
-I am using ttl 3. and try 12, but still cannot route.
- I am using windows xp to stream, and i look in route print , in route table automatically , route add 224.0.0.0 netmask 224.0.0.0 eth0
- this configuration and trace in pimd
# cat /proc/sys/net/ipv4/conf/all/mc_forwarding
1
root@harmoni:/home/faiz/pimd-2.1.0-alpha29.19 # cat /proc/net/ip_mr_cache
Group Origin Iif Pkts Bytes Wrong Oifs
05FFFFEF 0101A8C0 0 3 96 0 1:1
05FFFFEF 0201A8C0 1 44849 60277056 29409 1:1
0E0D0CE0 0201A8C0 65535 0 4 0
root@harmoni:/home/faiz/pimd-2.1.0-alpha29.19 # cat /proc/net/ip_mr_vif
Interface BytesIn PktsIn BytesOut PktsOut Flags Local Remote
0 eth0 20751456 15443 0 0 00000 0101A8C0 00000000
1 eth2 0 0 0 0 00000 0102A8C0 00000000
root@harmoni:/home/faiz/pimd-2.1.0-alpha29.19 # cat /proc/sys/net/ipv4/ip_forward
1
#default_source_preference 101 # smaller is better
#default_source_metric 1024 # smaller is better
#phyint de1 disable # phyint MUST BE AFTER default_source_*
# BUT MUST BE BEFORE everything else
#cand_rp time priority 20 # Smaller value means "higher" priority
#cand_bootstrap_router priority 5 # Bigger value means "higher" priority
group_prefix 224.0.0.0 masklen 4 # All multicast groups
#
switch_data_threshold rate 50000 interval 20 # 50kbps (approx.)
switch_register_threshold rate 50000 interval 20 # 50kbps (approx.)
root@harmoni:/home/faiz/pimd-2.1.0-alpha29.19 # cat /proc/net/dev_mcast
2 eth0 1 0 01005e7fff05
2 eth0 1 0 3333fff27d88
2 eth0 1 0 333300000001
2 eth0 1 0 01005e000001
6 eth2 1 0 01005e7fff05
6 eth2 1 0 3333ff0044bf
6 eth2 1 0 333300000001
6 eth2 1 0 01005e000001
root@harmoni:/home/faiz/pimd-2.1.0-alpha29.19 # ./pimd -d all
debug level 0xffffffff (dvmrp_detail,dvmrp_prunes,dvmrp_mrt,dvmrp_neighbors,dvmr p_timers,igmp_proto,igmp_timers,igmp_members,trace,timeout,pkt,interfaces,kernel ,cache,rsrr,pim_detail,pim_hello,pim_register,pim_join_prune,pim_bootstrap,pim_a sserts,pim_cand_rp,pim_routes,pim_timers,pim_rpf)
09:24:51.310 pimd version 2.1.0-alpha29.19 starting
09:24:51.312 Got 262144 byte send buffer size in 0 iterations
09:24:51.336 Got 262144 byte recv buffer size in 0 iterations
09:24:51.336 Got 262144 byte send buffer size in 0 iterations
09:24:51.336 Got 262144 byte recv buffer size in 0 iterations
09:24:51.337 Getting vifs from kernel
09:24:51.337 installing eth0 (192.168.1.1 on subnet 192.168.1) as vif #0-2 - rat e=0
09:24:51.337 installing eth2 (192.168.2.1 on subnet 192.168.2) as vif #1-6 - rat e=0
09:24:51.337 Getting vifs from /etc/pimd.conf
09:24:51.337 eth0 comes up; vif #0 now in service
09:24:51.364 SENT IGMP Membership Query from 192.168.1.1 to 224.0.0.1
09:24:51.364 SENT PIM v2 Hello from 192.168.1.1 to 224.0.0.13
09:24:51.365 eth2 comes up; vif #1 now in service
09:24:51.365 SENT IGMP Membership Query from 192.168.2.1 to 224.0.0.1
09:24:51.383 SENT PIM v2 Hello from 192.168.2.1 to 224.0.0.13
09:24:51.402 register_vif0 comes up; vif #2 now in service
Virtual Interface Table
Vif Local-Address Subnet Thresh Flags Neighbors
0 192.168.1.1 192.168.1 1 DR NO-NBR
1 192.168.2.1 192.168.2 1 DR NO-NBR
2 192.168.1.1 register_vif0 1
Multicast Routing Table
Source Group RP-addr Flags
--------------------------(*,*,RP)--------------------------
Number of Groups: 0
Number of Cache MIRRORs: 0
09:24:51.403 Cache miss, src 192.168.1.2, dst 224.12.13.14, iif 0
09:24:51.433 create group entry, group 224.12.13.14
Virtual Interface Table
Vif Local-Address Subnet Thresh Flags Neighbors
0 192.168.1.1 192.168.1 1 DR NO-NBR
1 192.168.2.1 192.168.2 1 DR NO-NBR
2 192.168.1.1 register_vif0 1
root@harmoni:/home/faiz # cat /proc/sys/net/ipv4/ip_forward
1
root@harmoni:/home/faiz # tcpdump -c 5 -i eth0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
09:27:42.463198 IP 192.168.1.2.1032 > 224.12.13.14.1234: UDP, length 1316
09:27:42.463273 IP 192.168.1.2.1032 > 224.12.13.14.1234: UDP, length 1316
09:27:42.478750 IP 192.168.1.2.1032 > 224.12.13.14.1234: UDP, length 1316
09:27:42.478905 IP 192.168.1.2.1032 > 224.12.13.14.1234: UDP, length 1316
09:27:42.494427 IP 192.168.1.2.1032 > 224.12.13.14.1234: UDP, length 1316
5 packets captured
8 packets received by filter
0 packets dropped by kernel
root@harmoni:/home/faiz # tcpdump -c 5 -i eth2
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth2, link-type EN10MB (Ethernet), capture size 96 bytes
09:28:23.118146 IP 192.168.2.1 > 224.0.0.13: PIMv2, Hello, length: 10
09:28:53.115783 IP 192.168.2.1 > 224.0.0.13: PIMv2, Hello, length: 10
09:28:58.116131 IP 192.168.2.1 > 224.0.0.1: igmp query v2
09:29:00.190394 IP 192.168.2.1 > 224.0.0.13: igmp v2 report 224.0.0.13
09:29:00.650549 IP 192.168.2.2 > 224.12.13.14: igmp v2 report 224.12.13.14
5 packets captured
5 packets received by filter
0 packets dropped by kernel
root@harmoni:/home/faiz # cd /usr/src/linux-source-2.6.10
thk before,