Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PIM in a flat network #20

Closed
vigneswaran opened this issue Feb 26, 2013 · 4 comments
Closed

PIM in a flat network #20

vigneswaran opened this issue Feb 26, 2013 · 4 comments

Comments

@vigneswaran
Copy link

Hello,

I am trying to use PIM (v2.1.8) in a network where all the links are in the same subnet (with /0 netmask). This is a kind of MANET and nodes can move and connect to any other node. So, we are using flat network with OLSR as the routing protocol. (As of now, this is being simulated using wired network only. Later we will use wireless.)

The problem we face is if multiple Interfaces are there in the same subnet, pimd listens only on one Interface and ignores the rest. Is there any way to overcome this? Thank you.

Regards,
Vignesh

@troglobit
Copy link
Owner

Not that I know of, without hacking the source.

@vigneswaran
Copy link
Author

On 02/26/2013 11:02 AM, Joachim Nilsson wrote:

Not that I know of, without hacking the source.

Thanks for your quick reply. Whether ignoring Interface is
implementation dependent or by design (RFC)?

Regarding hacking the code, I tried a bit by just commenting the lines
in 'config.c' which seem to be ignoring the Interfaces in same subnet.

/* if ((addr & v->uv_subnetmask) == v->uv_subnet ||
(v->uv_subnet & mask) == subnet) {
logit(LOG_WARNING, 0, "Ignoring %s, same subnet as %s",
ifr.ifr_name, v->uv_name);
break;
}*/

However, it is not enough. Does it require any data structure level
change too? (like, instead of using only the 'Subnet' as the key to
maintain the 'Neighbors' list, using 'Local-Address' + 'Subnet' as the
combined key. I am just asking based on the 'Virtual Interface Table'
output). Thank you once again.

Regards,
Vignesh

@troglobit
Copy link
Owner

I'm not really sure if what you're trying to do will work in practise.
Aren't you better of setting up GRE tunnels and running pimd
between the end points you want to forward multicast?

@vigneswaran
Copy link
Author

On 02/26/2013 11:32 AM, Joachim Nilsson wrote:

I'm not really sure if what you're trying to do will work in practise.
Aren't you better of setting up GRE tunnels and running pimd
between the end points you want to forward multicast?

Ok. I will try PIMd with GRE tunnels then. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants