Networking Forums

Networking Forums > Computer Networking > Linux Networking > Creating fragmentation

Reply
Thread Tools Display Modes

Creating fragmentation

 
 
Mouquiette
Guest
Posts: n/a

 
      06-18-2007, 03:06 PM
Hi,

I'm tring to configure a WAN simulator under Linux. I'm using Netem
for latency, reorder, drop..
But I don't know how to create fragment.
For example, I'd like to simulate something like that :
A <---> {ethernet (mtu 1500)} <---> (X.25 (mtu 576)} <---> {ethernet
(mtu 1500)} <---> B

So my packets coming from A are fragmented.

Things I've tried with my box with 2 ethernet cards :
- changing mtu from eth0, eth1 and wan (bridge)
- using the set-mss from iptables : iptables -t mangle -A POSTROUTING -
p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 576

But that doesn't work.

Have you any idea to do that ?

Thanks and sorry for my english

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fragmentation on Lan jasonsig Linux Networking 1 10-11-2006 05:45 PM
PPPoE and fragmentation Dan Stromberg Linux Networking 3 07-24-2006 02:57 PM
When does skb fragmentation happen ? frank_6014@yahoo.com Linux Networking 2 06-20-2006 02:45 PM
Fragmentation threshold? Roderick Stewart Wireless Internet 3 02-09-2004 07:35 AM
Fragmentation F... Wireless Internet 7 11-05-2003 04:48 AM



1 2 3 4 5 6 7 8 9 10 11