Need Help with a route statement

Hello,
I know enough sysadmin stuff to get by (small business owner)
I am having a problem with some linux boxes that have two nics. 1 public nic and 1 internal (192.168 )
What i need to do is

from another forum i was told this
"the broadcast happens on the 228.0.0.9 address. however, if you're boxes have multiple nics, the system will pick one to send out the info. you should be able to add an entry to your routing table to force it to send the 228.0.0.9 broadcasts over the nic you designate."

228.0.0.9 is a UDP mcastAddr

Can someone help me with the route statement.

do you need more info?

thanks

pariesAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

TG TranIT guyCommented:
The command to add a route is:
route add -host 228.0.0.9 dev eth0

Just replace eth0 with the interface you want to route to.  If you want to make it permanent, you need to add it into /etc/sysconfig/static-routes (for RH)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
pariesAuthor Commented:
tqtran

so i am trying to add this to my /etc/sysconfig/static-routes but i am little confused with the syntax

from a doc page:::
============================================================================
Configures static routes on a network. Used to set up static routing. An example file:
eth1 net 192.168.199.0 netmask 255.255.255.0 gw 192.168.199.1
eth0 net 10.1.0.0 netmask 255.255.0.0 gw 10.1.0.153
eth1 net 255.255.255.255 netmask 255.255.255.255
The syntax is:
device net network netmask netmask gw gateway
============================================================================

so my route statement was
route add -host 228.0.0.9 dev eth1

would i do
eth1 dev 228.0.0.9 ???

0
TG TranIT guyCommented:
eth1 net 228.0.0.9 netmask 255.255.255.255 gw <ip of eth1>
0
pariesAuthor Commented:
thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.