On Wed, Jan 16, 2002 at 01:15:54PM +0100, Reto Trachsel (NetModule) wrote:
> Hi All
> 
> I have some problems with ICMP Redirect. I'm using a FreeBSD-4.5-RC machine
> as default Rrouter for our network. If i'm doing a ping to an external host,
> a ICMP Redirect message is sended by the router-machine, but not only
> once... it is sended every time a ICMP echo-request is detected. The Host
> doesn't enter the route from the ICMP redirect into his table. With other
> Systems (ie RH Linux and CISCO Routers), this will work on this host
> correctly.

I am a little unclear on this. Is "router-machine" the FreeBSD router
in question? What kind of machine is "Host?" Are we trying to get
"router-machine" to stop sending redirects? Or are we trying to get
"Host" to accept and use the redirects?

> Is there a posibility to switch on/off the ICMP redirect? How can i
> configure, which hosts to redirect?

You can turn sending/receiving redirects on and off with sysctl(8),
but not on per-host basis. You could simulate this behavior to some
degree using firewalling.

> I saw the configs for sysctrl, but no way to enable or disable the sending
> of these packets. Du you have an idea?
> 
> net.inet.icmp.drop_redirect = 0

A machine will ignore incoming redirects. If you want "Host" to use
the redirects, set this to one.

> net.inet.icmp.log_redirect = 1

This logs the event.

The other sysctl(8) you may be interested in is,

  net.inet.ip.redirect

Which controls whether a router sends redirects.
-- 
Crist J. Clark                     |     [EMAIL PROTECTED]
                                   |     [EMAIL PROTECTED]
http://people.freebsd.org/~cjc/    |     [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to