Re: Getting "ICMP Host redirect from gateway" response
- From: Burkhard Ott <b.ott@xxxxxxxxx>
- Date: Tue, 29 May 2007 18:36:09 +0200
Am Tue, 29 May 2007 05:12:43 -0700 schrieb ianbrn@xxxxxxxxx:
Hello,
Hi,
I am connected to a LAN which has addresses in the range
192.168.0.10-192.168.0.253.
The default gw is 192.168.0.254 and is conneted outside to the
internet:
I want to be able to ping machines and get "ICMP Host redirect from
gateway"
(for learning more about ICMP redirects).
If 192.168.0.253 has 192.168.0.254 as default gw and your host using
192.168.0.253 as default gw and you ping an external IP which is not
reachable via broadcast (e.g. 172.30.254.1) then you should recive a nice
icmp redirect by the time you ping the external IP.
Can anybody suggest a senario where as a result of a ping (it can be
of course
to a machine on the internet or a machine in the LAN) I will get
"ICMP Host redirect from gateway" response ?
Keep an eye on
/proc/sys/net/ipv4/conf/all/accept_redirects
/proc/sys/net/ipv4/conf/all/send_redirects
If you don't allow to send icmp redirect then the scenario fails of course.
.
- Follow-Ups:
- Re: Getting "ICMP Host redirect from gateway" response
- From: Moe Trin
- Re: Getting "ICMP Host redirect from gateway" response
- References:
- Getting "ICMP Host redirect from gateway" response
- From: ianbrn@xxxxxxxxx
- Getting "ICMP Host redirect from gateway" response
- Prev by Date: Blocking iphiding sites
- Next by Date: Re: Linux TCP - unexpected retransmissions
- Previous by thread: Getting "ICMP Host redirect from gateway" response
- Next by thread: Re: Getting "ICMP Host redirect from gateway" response
- Index(es):
Relevant Pages
|