Operating System - HP-UX
1748245 Members
3774 Online
108760 Solutions
New Discussion юеВ

Re: Adding Multicast Address Route

 
MikeL_4
Super Advisor

Adding Multicast Address Route

I've received a request to add a route for the Multicast address: 224.0.0.0/24, to be routed out LAN: 192.168.224.128 on our server..

Can anyone tell me the route add command I would need to use to accomplish this ?

Thanks
5 REPLIES 5
Sandman!
Honored Contributor

Re: Adding Multicast Address Route

What gateway will you be using for this address or are you going with the default gateway. Post the output of the routing table on this machine:

# netstat -rnv

~cheers
Michael Steele_2
Honored Contributor

Re: Adding Multicast Address Route

route add (* server ip *) (* gateway ip *) netmask
Update the /etc/rc.config.d/netconf file

http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=456308&admit=109447627+1202427047218+28353475
Support Fatherhood - Stop Family Law
MikeL_4
Super Advisor

Re: Adding Multicast Address Route

=>netstat -rnv
Routing tables
Dest/Netmask Gateway Flags Refs Interface Pmtu
127.0.0.1/255.255.255.255 127.0.0.1 UH 0 lo0 4136
155.90.120.185/255.255.255.255 155.90.120.185 UH 0 lan2 4136
172.17.101.185/255.255.255.255 172.17.101.185 UH 0 lan4 4136
192.168.224.185/255.255.255.255 192.168.224.185 UH 0 lan5 4136
192.168.230.185/255.255.255.255 192.168.230.185 UH 0 lan0 4136
155.90.88.23/255.255.255.255 172.17.101.135 UGH 0 lan4 0
204.149.206.5/255.255.255.255 155.90.120.130 UGH 0 lan2 0
70.106.0.2/255.255.255.255 155.90.120.130 UGH 0 lan2 0
208.18.30.121/255.255.255.255 172.17.101.135 UGH 0 lan4 0
65.174.43.17/255.255.255.255 172.17.101.135 UGH 0 lan4 0
155.90.142.124/255.255.255.255 155.90.120.130 UGH 0 lan2 0
209.227.189.150/255.255.255.255 155.90.120.130 UGH 0 lan2 0
155.90.35.139/255.255.255.255 172.17.101.135 UGH 0 lan4 0
155.90.35.138/255.255.255.255 172.17.101.135 UGH 0 lan4 0
155.90.35.140/255.255.255.255 172.17.101.135 UGH 0 lan4 0
192.168.230.128/255.255.255.192 192.168.230.185 U 2 lan0 1500
155.90.120.128/255.255.255.192 155.90.120.185 U 2 lan2 1500
172.17.101.128/255.255.255.192 172.17.101.185 U 2 lan4 1500
192.168.224.128/255.255.255.192 192.168.224.185 U 2 lan5 1500
65.219.1.160/255.255.255.224 172.17.101.135 UG 0 lan4 0
155.90.51.0/255.255.255.0 172.17.101.135 UG 0 lan4 0
155.90.0.0/255.255.0.0 155.90.120.130 UG 0 lan2 0
10.162.64.0/255.255.255.0 172.17.101.135 UG 0 lan4 0
10.25.92.0/255.255.255.0 172.17.101.135 UG 0 lan4 0
10.25.94.0/255.255.255.0 172.17.101.135 UG 0 lan4 0
10.0.0.0/255.0.0.0 155.90.120.130 UG 0 lan2 0
144.226.0.0/255.255.0.0 172.17.101.135 UG 0 lan4 0
127.0.0.0/255.0.0.0 127.0.0.1 U 0 lo0 0
207.40.0.0/255.255.0.0 172.17.101.135 UG 0 lan4 0
208.10.0.0/255.255.0.0 172.17.101.135 UG 0 lan4 0
default/0.0.0.0 172.17.101.135 UG 0 lan4 0
=>
MikeL_4
Super Advisor

Re: Adding Multicast Address Route

I understand the format of the route add command, but what does the /24 mean on the end of the IP they gave: 224.0.0.0/24
rick jones
Honored Contributor

Re: Adding Multicast Address Route

The number after the '/' is the number of bits in the netmask, which in this case would then be 255.255.255.0. IIRC this is often called "CIDR" notation (Classless Inter-Domain Routing)
there is no rest for the wicked yet the virtuous have no pillows