See Erik's comment below. Is this correct? I tried this: node1 ~ # tipc be en me udp name udp1 dev eth0 but to no avail.
Before looking more into the code I would like to know if anybody has made this work. And even if it doesn't it is not a bad idea. If it is implemented, but broken, we should fix it. Otherwise we should implement it. ///jon -----Original Message----- > From: Erik Hugne <[email protected]> > Sent: Thursday, 12 October, 2017 05:28 > To: [tipc:bugs] <[email protected]> > Subject: [tipc:bugs] Re: #123 TIPC create udp socket with INADDR_ANY > > Or you can substitute the ip for an ethernet device name. Unless that have > changed. > > //E > > On 12 Oct 2017 10:46 am, "Jon Paul Maloy" [email protected] > <mailto:[email protected]> wrote: > > Hi, > You must attach to an interface which already has an IP (-v4 or -v6) > address. > Example: > > On one node: > > node1 ~ # modprobe tipc > node1 ~ # tipc no set addr 1.1.1 > node1 ~ # tipc be en me udp name udp1 localip 192.168.123.101 > > on another node: > > node2 ~ # modprobe tipc > node2 ~ # tipc no set addr 1.1.2 > node2 ~ # tipc be en me udp name udp1 localip 192.168.123.102 > > Then check if a link came up: > > node2 ~ # tipc l l > broadcast-link: up > 1.1.2:udp1-1.1.1:udp1: up > > BR > ///jon > > From: Su Yu [mailto:[email protected]] > Sent: Thursday, October 12, 2017 09:47 > To: Ticket 123 [email protected] > Subject: [tipc:bugs] #123 TIPC create udp socket with INADDR_ANY > > ________________________________ > > [bugs:#123] <https://sourceforge.net/p/tipc/bugs/123/> > https://sourceforge.net/p/tipc/bugs/123/https:// > sourceforge.net/p/tipc/bugs/123/ TIPC create udp socket with INADDR_ANY > > Status: open > Group: > Created: Thu Oct 12, 2017 07:46 AM UTC by Su Yu > Last Updated: Thu Oct 12, 2017 07:46 AM UTC > Owner: nobody > > TIPC create udp socket with INADDR_ANY > > When I enable bearer with media UDP, there is udp socke created with > s_addr INADDR_ANY. > Can I change the addr to a specified ip like 192.168.1.1 > udp 0 0 0.0.0.0:6118 0.0.0.0:* > Thanks > > ________________________________ > > Sent from sourceforge.net because you indicated interest in > https://sourceforge.net/p/tipc/bugs/123/ > > To unsubscribe from further messages, please visit > https://sourceforge.net/auth/subscriptions/ > > ________________________________ > > * [bugs:#123] <https://sourceforge.net/p/tipc/bugs/123/> > https://sourceforge.net/p/tipc/bugs/123/ TIPC create udp > socket with INADDR_ANY* > > Status: open > Group: > Created: Thu Oct 12, 2017 07:46 AM UTC by Su Yu > Last Updated: Thu Oct 12, 2017 07:46 AM UTC > Owner: nobody > > TIPC create udp socket with INADDR_ANY > > When I enable bearer with media UDP, there is udp socke created with > s_addr INADDR_ANY. > Can I change the addr to a specified ip like 192.168.1.1 > udp 0 0 0.0.0.0:6118 0.0.0.0:* > Thanks > > ________________________________ > > Sent from sourceforge.net because you indicated interest in > https://sourceforge.net/p/tipc/bugs/123/ > > To unsubscribe from further messages, please visit > https://sourceforge.net/auth/subscriptions/ > > ________________________________ > > [bugs:#123] <https://sourceforge.net/p/tipc/bugs/123/> TIPC create udp > socket with INADDR_ANY > > Status: open > Group: > Created: Thu Oct 12, 2017 07:46 AM UTC by Su Yu > Last Updated: Thu Oct 12, 2017 07:46 AM UTC > Owner: nobody > > TIPC create udp socket with INADDR_ANY > > When I enable bearer with media UDP, there is udp socke created with s_addr > INADDR_ANY. > Can I change the addr to a specified ip like 192.168.1.1 > udp 0 0 0.0.0.0:6118 0.0.0.0:* > Thanks > > ________________________________ > > Sent from sourceforge.net because you indicated interest in > https://sourceforge.net/p/tipc/bugs/123/ > > To unsubscribe from further messages, please visit > https://sourceforge.net/auth/subscriptions/ ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ tipc-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tipc-discussion
