Trinacriax
unread,Jul 12, 2011, 10:38:06 AM7/12/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-users
Hi Folks,
I'm testing my PIM-DM implementation on ns-3 using the OnOff
application towards the multicast group/port.
Basically, the test file is like csma-multicast, but I don't use any
"AddMulticastRoute" because I don't need
static multicast route because the "dynamic" multicast is done by PIM-
DM.
Q1. Is it correct or I have to use "AddMulticastRoute"??
When the multicast packet is received by a peer:
1. Ipv4L3Protocol:Receive() (e.g., Ipv4L3Protocol:Receive(): Packet
from 02-06-00:00:00:00:00:01 received on node 2))
2. Ipv4ListRouting:RouteInput() (e.g.,
Ipv4ListRouting:RouteInput(0x669fa0, tos 0x0 ttl 64 id 1 protocol 17
offset (bytes) 0 flags [none] length: 238 10.1.0.1 > 225.1.1.4,
0x656ad0))
3. Ipv4L3Protocol:IsDestinationAddress() (e.g., For me (Ipv4Addr
multicast address))
4. Ipv4ListRouting:RouteInput(): (e.g., Address 225.1.1.4 is a match
for local delivery)
5. Ipv4EndPointDemux:Lookup() it doesn't find the right endpoint,
returning "RX_ENDPOINT_UNREACH"
here more info:
[...]
1.02113s Ipv4EndPointDemux:Lookup()
1.02113s Ipv4EndPointDemux:Lookup(0x654eb0, 224.0.0.13, 703, 10.1.0.1,
49153, 0x658430)
1.02113s Ipv4EndPointDemux:Lookup(): Looking up endpoint for
destination address 224.0.0.13
1.02113s Ipv4EndPointDemux:Lookup(): Looking at endpoint dport=703
daddr=10.1.0.2 sport=0 saddr=0.0.0.0
1.02113s Ipv4EndPointDemux:Lookup(): dest addr 224.0.0.13 broadcast? 0
1.02113s Ipv4EndPointDemux:Lookup(): Looking at endpoint dport=703
daddr=10.1.1.2 sport=0 saddr=0.0.0.0
1.02113s Ipv4EndPointDemux:Lookup(): Skipping endpoint 0x7fffffffc058
because endpoint is bound to specific device and0x6575f0 does not
match packet device 0x656ad0
1.02113s Ipv4EndPointDemux:Lookup(): Looking at endpoint dport=698
daddr=10.1.0.2 sport=0 saddr=0.0.0.0
1.02113s Ipv4EndPointDemux:Lookup(): Skipping endpoint 0x7fffffffc058
because endpoint dport 698 does not match packet dport 703
1.02113s Ipv4EndPointDemux:Lookup(): Looking at endpoint dport=698
daddr=10.1.1.2 sport=0 saddr=0.0.0.0
1.02113s Ipv4EndPointDemux:Lookup(): Skipping endpoint 0x7fffffffc058
because endpoint dport 698 does not match packet dport 703
[...]
Q2. Probably I missed something in the protocol registration, because
I expect "Ipv4EndPointDemux:Lookup()" finds the
"localAddressMatchesWildCard"...I'm a little bit confused about this
behaviour.
Any idea?
thanks!!
Alessandro R.