Quick Networking Question: Generate ICMP Type 3( Port unreachable)

Discussion in 'Networking & Security' started by AMD_Gamer, Feb 14, 2010.

  1. AMD_Gamer

    AMD_Gamer PM Kyle for the TItle You Pick.

    Messages:
    18,515
    Joined:
    Jan 20, 2002
    How can i generate an ICMP Type 3 Code:3(Port unreachable message) using the command line? i tried to telnet to another computer, ping etc and i just can't seem to be able to generate my own ICMP (port unreachable) messages? I also need to do Host unreachable(Type 3 Code 1)?

    I cant figure this out.

    I need to do this and then capture it in wireshark.

    i got the network unreachable by turning off my router and pinging a made up adress.
     
  2. Xipher

    Xipher 2[H]4U

    Messages:
    2,621
    Joined:
    Mar 15, 2004