Lucent Technologies Ethereal manual L3pid, Srcport destport

Models: Ethereal

1 199
Download 199 pages 450 b
Page 189
Image 189

Related command line tools

-e l3pid

Include a dummy Ethernet header before each packet. Specify the

 

L3PID for the Ethernet header in hex. Use this option if your dump

 

has Layer 3 header and payload (e.g. IP header), but no Layer 2 en-

 

capsulation. Example: -e 0x806 to specify an ARP packet.

 

For IP packets, instead of generating a fake Ethernet header you can

 

also use -l 12 to indicate a raw IP packet to Ethereal. Note that -l 12

 

does not work for any non-IP Layer 3 packet (e.g. ARP), whereas

 

generating a dummy Ethernet header with -e works for any sort of L3

 

packet.

-u srcport destport

Include dummy UDP headers before each packet. Specify the source

 

and destination UDP ports for the packet in decimal. Use this option

 

if your dump is the UDP payload of a packet but does not include

 

any UDP, IP or Ethernet headers. Note that this automatically in-

 

cludes appropriate Ethernet and IP headers with each packet. Ex-

 

ample: -u 1000 69 to make the packets look like TFTP/UDP packets.

175

Page 189
Image 189
Lucent Technologies Ethereal manual L3pid, Srcport destport