Re: Getting "ICMP Host redirect from gateway" response



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



Relevant Pages

  • Getting "ICMP Host redirect from gateway" response
    ... I am connected to a LAN which has addresses in the range ... to a machine on the internet or a machine in the LAN) I will get ... "ICMP Host redirect from gateway" response? ...
    (comp.os.linux.networking)
  • Re: internet connection
    ... Since you mention Internet, I'm going to assume you are not talking about your ... You might be able to get away with this pinging the Gateway, ... you might need to know the specifics of the external connection as ... Many firewalls and/or routers will not respond to or pass along ICMP Ping ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Connect to Internet
    ... The first one is the at&t gateway: ... I also have a second line referencing the freebsd box itself by the internal ... I can't connect to Internet from the Freebsd box. ... >> If I ping myself no problem everything's fine, but I can't ping a web ...
    (freebsd-questions)
  • Re: 3 mobile broadband - roaming...
    ... I can ping 127.0.0.1 and the default gateway. ... I cannot ping any IP address on the internet. ... Are there DNS servers there, ...
    (uk.comp.homebuilt)
  • Lets start all over Please!
    ... O.K. Now I've spent several days trying this network problem and haven't ... I can ping to the internet or to the internal box. ... the LAN to the gateway box, ...
    (alt.os.linux.suse)