Ask Your Question
0

how to addIng two vlan tag to pcap file

asked 2020-11-29 05:31:22 +0000

hdihd gravatar image

updated 2020-11-29 05:52:39 +0000

hello i have a pcap file i need to add two vlan tag to this pcap but i cant find solution i found this

tcprewrite --enet-vlan=add --enet-vlan-tag=40 --enet-vlan-cfi=1 --enet-vlan-pri=4 --infile=input.pcap --outfile=output.pcap

but not work for two vlan tag its work for one vlan tag can you help me?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2020-11-30 19:33:06 +0000

André gravatar image

Maybe running tcpwrite twice?

tcpwrite is not part of Wireshark. Take a look at the authors site: https://tcpreplay.appneta.com/wiki/tc...

edit flag offensive delete link more

Comments

i use

tcprewrite --enet-vlan=add --enet-vlan-tag=40 --enet-vlan-cfi=1 --enet-vlan-pri=4 --infile=input.pcap --outfile=output.pcap

but when running tcpwrite twice first vlan delete and twice vlan save tcprewrite dont help me

hdihd gravatar imagehdihd ( 2020-12-01 06:55:31 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-11-29 05:31:22 +0000

Seen: 853 times

Last updated: Nov 30 '20