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.