Link to home
Start Free TrialLog in
Avatar of paries
paries

asked on

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

ASKER CERTIFIED SOLUTION
Avatar of TG Tran
TG Tran
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of paries
paries

ASKER

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

eth1 net 228.0.0.9 netmask 255.255.255.255 gw <ip of eth1>
Avatar of paries

ASKER

thanks