Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

LAN and WAN side connection

Hi,

I am researching on routers behavior using a device I'm planning to make. What I want to test is that I want to connect my LAN network to WAN network through my device. All types of traffic can be transceived i.e. TCP, UDP, VLANS etc etc. The problem arises when I want to add an overhead of 4 Bytes on the each packet coming from the LAN side. When the packet goes to WAN, i want to know the behavior of the routers in the way till destination.

The device will be recalculating the CRC at the end of the packet, so, even if I add 4bytes overhead, i will be calculating the correct CRC.

For example:

Lets say packet size coming from LAN side is n bytes. packet going out to the WAN side is n+4 bytes.

LAN --> DEVICE --> WAN

n     --> n, adding 4 bytes, recalculating crc --> n+4

How can I achieve this thing ? How will this overhead affect the network? What alternative do I have to achieve this thing ? Like i want to test if I can maybe replace some bytes of ip packet with my own data.

Thanks a lot

Regards

Muhammad Hassan

Everyone's tags (4)
1588
Views
0
Helpful
0
Replies
CreatePlease to create content