Networking Forums

Networking Forums > Computer Networking > Linux Networking > How to disable ICMP "Destination Unreachable"

Reply
Thread Tools Display Modes

How to disable ICMP "Destination Unreachable"

 
 
Konstantin Grudnev
Guest
Posts: n/a

 
      03-22-2006, 10:56 AM
Hi !

I have Windows box and Linux Box. I have client on Windows and server on
Linux.
Linux Box has address: 192.168.222.22 and this address(192.168.222.22) is
default gateway address in Windows Box.

When I send packets to address 100.100.100.100 and of course my Linux box
tells, that Destination Unreachable.

I don't want my Linux box to send ICMP-message "Destination Unreachable".
How this can be done ?
How can I disable ICMP message "Destination Unreachable" ?

Konstantin Grudnev


 
Reply With Quote
 
 
 
 
shrini
Guest
Posts: n/a

 
      03-22-2006, 11:17 AM
Hi Konstantin

Use iptables.
there is a DROP rule.
It will drop all the packets.

search net for iptables syntax.


regards,
T.Shrinivasan.

 
Reply With Quote
 
SenthilMurugan
Guest
Posts: n/a

 
      03-22-2006, 11:26 AM
/sbin/iptables -I INPUT -p icmp -j DROP

 
Reply With Quote
 
Konstantin Grudnev
Guest
Posts: n/a

 
      03-22-2006, 11:44 AM
No I have embedded Linux, so I don't have space for iptables and such
things, I need to know how to do it in kernel or using socket options?

"shrini" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) ups.com...
> Hi Konstantin
>
> Use iptables.
> there is a DROP rule.
> It will drop all the packets.
>
> search net for iptables syntax.
>
>
> regards,
> T.Shrinivasan.
>



 
Reply With Quote
 
Tauno Voipio
Guest
Posts: n/a

 
      03-22-2006, 03:59 PM
Konstantin Grudnev wrote:
> Hi !
>
> I have Windows box and Linux Box. I have client on Windows and server on
> Linux.
> Linux Box has address: 192.168.222.22 and this address(192.168.222.22) is
> default gateway address in Windows Box.
>
> When I send packets to address 100.100.100.100 and of course my Linux box
> tells, that Destination Unreachable.
>
> I don't want my Linux box to send ICMP-message "Destination Unreachable".
> How this can be done ?
> How can I disable ICMP message "Destination Unreachable" ?



If your Linux box does not have any connection to the
Internet, take the default gateway off the Windows setup
or point it elsewhere. Now, you're lying to the Windows
thet the Net can be reached via the Linux box.

The default gateway must always be the address of the
next hop host toward the Net.

If there's no other connection to the Net, you'll get
the unreachables for such addresses that cannot be routed.

--

Tauno Voipio
tauno voipio (at) iki fi
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Vista - Unable To Receive ICMP Destination Unreachable - P Tom Windows Networking 0 11-15-2008 05:06 PM
anybody knows how to disable outbound icmp destination unreachable message a10.part@gmail.com Linux Networking 4 11-13-2007 02:07 AM
Is it possible, bind has done but the OS still respond with ICMP destination unreachable Bin Chen Linux Networking 3 03-29-2007 12:11 PM
ICMP destination unreachable - communication filtered sweta Linux Networking 2 09-12-2006 04:07 PM
MA401: "Destination Host Unreachable" Marvin Massih Linux Networking 0 11-05-2003 10:48 PM



1 2 3 4 5 6 7 8 9 10 11