Need Help with a route statement

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 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 broadcasts over the nic you designate." is a UDP mcastAddr

Can someone help me with the route statement.

do you need more info?


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 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)

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:

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 netmask gw
eth0 net netmask gw
eth1 net netmask
The syntax is:
device net network netmask netmask gw gateway

so my route statement was
route add -host dev eth1

would i do
eth1 dev ???

TG TranIT guyCommented:
eth1 net netmask gw <ip of eth1>
pariesAuthor Commented:
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.