Can I possibly simulate a 512kbps line between 2 server?

The reason was we need to perform some test to simulate file/data transfer/replication over a 512/256kbps line but we do not have the luxury to actually perform the test on an actual one..

We have 2 servers, 2 switches 1 router.

Anyone know how to do it? with less equipment? any utility tools?
LVL 1
stooiAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

grbladesCommented:
Hi stooi,
You could buy a couple of Cisco 2501 routers cheap off Ebay and then also get a DCE-DTE serial cable. You can then set the speed of the serial port to speeds up to 2Mbps.
0
stooiAuthor Commented:
Hi grblades,

Thanks.. but can we do it with a crossover cable thru the BRI int instead? I have a couple of those 2503 routers without the DCE-DTE cable.

Please advice
thanks
0
muhalokCommented:
www.shunra.com - is your solution.
They sell the product that emulates WAN conditions (including bandwidth limitation).
Probably you'll need to test it not only on bandwidth limitation, but also on Latency, Packet Loss, Out of Order, Jitter and other network impairments.

They have 2 types of products: Stratus or Cloud for small testing projects and Storm for high rate traffic.

I work with all these tools and they are very good.
Good Luck.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

muhalokCommented:
You can get a free trial for Stratus and download it from the site.
0
grbladesCommented:
The BRI is an ISDN interface so in order to do what you want you will need an ISDN simulator. A DCE-DTE cable is not expensive and I got mine off Ebay for the equivilent of about $15.
0
stooiAuthor Commented:
huh? please elaborate...
0
stooiAuthor Commented:
muhalok,

What h/w does it require?


grblades,

 ok.. will try to get those cables.. hope its cheaper here.. can't wait to order from ebay..

0
grbladesCommented:
I got mine from the UK ebay site. I think the cables came from hong kong or somewhere like that.
0
stooiAuthor Commented:
grblades,

can I just get one of those?
or Do I need to get two,
DCE Male---Male
DTE Female--Male ??

or just one of the back-back DCE/DTE DB60 crossover cable?
0
grbladesCommented:
You just need a DCE/DTE crossover cable. Just be carefull it has the correct connectors as there are lots of different types available now.
0
frajicoCommented:
You can use Netlimiter .. a nice program than limits download/upload speed for any program running or network conection ....

Salu2
0
rafael_accCommented:
What is the purpose of simulating a link of 512 kbs without having one?! How could you get accurate results?!
Cheers.
0
frajicoCommented:
One posible purpose is to analyze if a lease line of 512 Kb would be enought to work properly between two or more locations or it must have a greater speed line.

Salu2
0
rafael_accCommented:
Yes. I know that we do can find some good reasons. But the author is talking about file transfer, isn't it?! So, what's the point?!
0
rafael_accCommented:
"(...) file/data transfer/replication over a 512/256kbps".
Am I missing something here?!

Sorry for the dbl post.
0
frajicoCommented:
Perhaps they need to work with raster or satellite images between locations, or work with big databases .... and want to evaluate the response time from the user point of view ...

Salu2
0
rafael_accCommented:
Are you really serious or just trying to make some odd point  point. Is this your real conclusion from the initial post??
0
muhalokCommented:
rafael_acc, what is so hard to understand?

Salu2 gave you all the right reasons! To emphasize: Yes, that is what Author meant in the initial post.

Emulating network environments helps to predict the behaviour of the application over the real network. And this is a testing action - exactly as it is described in the initial post. "Transfer" is also done via some application and a protocol which needs to be tested for functionality and performance over the WAN network (limited bandwidth here).
0
rafael_accCommented:
Ok. Sorry for not being so clear to me! At least not from the initial post.
What do you care, anyway?! Was frajico asking for help or what?!

Puff ... Whatever ... I still don't agree ... Maybe the author should clarify what kind of transfer are we talking about here! Don't you agree?


0
stooiAuthor Commented:
Errmm... sorry if I have not made my intentions clear or have mislead anyone here.

The reason we would like to simulate a WAN traffic is because, we are proposing a database replication and high availability solution to our client on their exisiting WAN, which is thru a frame relay network. However, we would like to perform a Proof of Concept and testing before the actual implementation. The objective is to ensure that we are prepared for it, know what to expect, and to justify for any bandwidth upgrade if we are able to simulate with multiple bandwidth transfer speed. From a rough calculation, it looks like the replication of their DB will take longer than the allowed duration, and also to simulate the DB accessibility by client when a replication is on-going as well as any other issues that we might encounter.

Frajico and Mulalok are adsolutely right about my objectives and has done great help.

I am still trying to get some trial software and also a DTEDCE crossover cable at the same time.

Will be able to conclude within the next few days.
0
grbladesCommented:
There are two aspects which can cause a slowdown over a frame relay link.
1) Bandwidth
2) Propegation delay

It may work over a particular bandwidth but if you are doing lots of small SQL queries the propegation delay will really kill your performance. File transfers should be unaffected by propegation delays (apart from windows which is crap in this respect) since they send multiple packets at a time (called windowing) and don't want for the first to be acknowledged before sending the next.
0
stooiAuthor Commented:
grblades..
should be getting the cable tomorrow...
just wondering if you could help me with the command to limit the bandwidth?

0
grbladesCommented:
Here is an example configuration to enter on the serial interfaces. Just change the parameter to the 'clockrate' line to set the bandwidth. In this example it is set to 64K.


Router 1 (Using a DCE Cable)
!
 interface Serial0
ip address 172.16.22.1 255.255.255.0
encapsulation frame-relay
bandwidth 64
clockrate 64000
frame-relay local-dlci 20
frame-relay intf-type dce
!

 
Router 2 (Using a DTE Cable)
!
interface Serial0
ip address 172.16.22.2 255.255.255.0
encapsulation frame-relay
bandwidth 64
no fair-queue
0
stooiAuthor Commented:

did exact same config... even write to mem...
serial interface is up.. but could not even perform a ping on its own ip.. needless to say on the opposite ip
any idea?

0
grbladesCommented:
I know there is an issue with pinging the serial interfaces from the routers themselves.

On each router can you post the output of 'show int serial0'.

Have you made sure you have the cable plugged the correct way round?
0
stooiAuthor Commented:
grblades..

thanks for the infor.. but made some changes at both ends and its up n running for now...thanks.. anyway still gonna paste the router config

DCE
-----
interface Serial0/0
 ip address 12.0.0.1 255.255.0.0
 encapsulation frame-relay
 clockrate 64000
 frame-relay map ip 12.0.0.3 20 broadcast
 frame-relay interface-dlci 20
 frame-relay intf-type dce

DTE
----
interface Serial0/0
 bandwidth 64000
 ip address 12.0.0.3 255.0.0.0
 encapsulation frame-relay
 no fair-queue
 frame-relay map ip 12.0.0.1 20 broadcast
 frame-relay interface-dlci 20

lemme know if there are anything I should amend?
thanks again.


0
grbladesCommented:
You have different subnet masks on each interface.
I would personally use a private range such as 10.0.0.1,10.0.0.3 instead otherwise you wont be able to access whoever uses these IP addresses on the Internet.
0
stooiAuthor Commented:
What is the difference between clock rate and bandwidth?

I found that a 128000 bandwith with 500000 clock rate gives better throughput than 256000 bandwith with 250000 clock rate.

Please help to enlighten and differentiate between the two, and also which is the proper config to use for actual bandwidth simulation?

thanks again.
0
grbladesCommented:
The 'clock rate' is the actual bandwidth over the serial connections. The 'bandwidth' parameter is only used for routing calculations by some routing protocols.
0
stooiAuthor Commented:
But I can see there is are limitations on clock rate parameters as only certain fixed numbers could be selected, for example, only 125000 148000 250000 500000 are available. How could we possibly simulate a 384kbps, 256kbps with clock rate?

0
grbladesCommented:
You wont be able to very well. 250000 is very close to 256Kbps. You will just have to test it at the available speeds and then extrapolate to estimate how it will perform at 384kbps. This is fine because in the real world you have contention ratios on DSL lines and propegation delays which you cannot simulate for.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
stooiAuthor Commented:
thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.