[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Need Help with a route statement

Posted on 2008-02-06
4
Medium Priority
?
254 Views
Last Modified: 2010-05-18
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

0
Comment
Question by:paries
  • 2
  • 2
4 Comments
 
LVL 12

Accepted Solution

by:
tgtran earned 2000 total points
ID: 20837934
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
 

Author Comment

by:paries
ID: 20854058
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
 
LVL 12

Expert Comment

by:tgtran
ID: 20854171
eth1 net 228.0.0.9 netmask 255.255.255.255 gw <ip of eth1>
0
 

Author Comment

by:paries
ID: 20854186
thanks
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This installment of Make It Better gives Media Temple customers the latest news, plugins, and tutorials to make their Grid shared hosting experience that much smoother.
Virtualization software lets you run different versions of Windows, Ubuntu Linux and other versions of Linux all at the same time, rather than running each one directly from your computer's hard drive.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question