multicasting

Fred Roller froller at tnclimited.com
Wed Aug 19 11:48:02 UTC 2009


On Wed, 2009-08-19 at 12:18 +0300, Rakotomandimby Mihamina wrote:
> Hi all,
> I am experiencing multicasting.
> I got the theory, now, in practice it's another problem.
> 
> Is there a deamon to install?
> How should I setup my interfaces? (using /etc/network/interfaces

I can't speak to Network manager; but, from the command line you can set
up an alternate IP as you would any other ethernet connection.  Just
append a :[#] to the end of the connection name.  For example, if you
multicast eth0, your first multicast would be on eth0:1.

example:

froller at metis:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
          inet addr:192.168.6.105  Bcast:192.168.6.255
		[snip]

froller at metis:~$ sudo ifconfig eth0:1 192.168.32.96

froller at metis:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
          inet addr:192.168.6.105  Bcast:192.168.6.255   
		[snip]
eth0:1    Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
          inet addr:192.168.32.96  Bcast:192.168.32.255
		[snip]

froller at metis:~$ ping 192.168.32.96
PING 192.168.32.96 (192.168.32.96) 56(84) bytes of data.
64 bytes from 192.168.32.96: icmp_seq=1 ttl=64 time=0.090 ms
64 bytes from 192.168.32.96: icmp_seq=2 ttl=64 time=0.057 ms


/example

  This, of course, would not be persistent through a reboot and for that
you would need to add it to the /etc/network/interfaces file.  

  As for the GUI managers I don't know.  I looked at NM and didn't see
anything that would set it up and trying to just add a new wired
connection did not work.  Perhaps someone else could explain NM or other
GUI.  Hope this helps.
-- 
Fred R.
www.fwrgallery.com

"Life is like Linux - simple; if you are fighting it, you are doing
something wrong."






More information about the ubuntu-users mailing list