I am using sendPacket with checkMtu as false to send packets of size 1518 bytes having the following fields;
Ethernet header - 14 bytes
802.1Q VLAN tag - 4 bytes
IP header - 20 bytes
UDP header - 8 bytes
Data - 1472 bytes
The sendPacket failes with error "send error:
packetSendPacket failed".But the same works when packet size is 1514 bytes (with 4 bytes VLAN tag).
Can you please explain how to handle packets having VLAN tag and are greater than 1514 bytes MTU. Is fragmentation required? If yes, then what should be the IPv4 length; 1500 or 1496?
Regards,
Nida