Test network routing algourithm


 
Thread Tools Search this Thread
Special Forums IP Networking Test network routing algourithm
# 1  
Old 03-08-2012
Test network routing algourithm

hi, I've wrote my own network routing algorithm in java, now i wanna test it and see if it works correctly, also i wanna test it's performance in comparison with other network routing algorithms like RIP. can anyone tell me how can i do this? is there any simulator or something for network routing algorithms? I've tried Cisco Packet Tracer but it doesn't do what i want.
thanks in advance.

Last edited by gongotar; 03-08-2012 at 01:37 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Network stress test.

Hi there. First things first, this is nothing to do with the internet or ISP speed, I know what that is, I know what it's doing. I have a cluster of 128 single board computers running a branch of Debian. I want to run some kind of stress test to ensure they can transfer data (a) to each... (2 Replies)
Discussion started by: MuntyScrunt
2 Replies

2. Solaris

Network routing

hi, not an expert in Solaris networking so would like to ask your opinions Say i want to configure packet routing from source 10.126.120.130 (A) to destination 10.214.140.9 (B). I configured it this way (shown in netstat -rn) on (B) Destination Gateway Interface... (7 Replies)
Discussion started by: ghostdog74
7 Replies

3. Hardware

How to test the speed of your WIFI network?

Dear all, Would you know how to measure the max speed of a WIFI connection between a router and a laptop for instance? Many thanks for your help! Regards, (3 Replies)
Discussion started by: freddie50
3 Replies

4. IP Networking

Test Network Routing Issues (FREEBSD and RHEL)

Hello, I'm attempting to setup a test network with a client-server based architecture using a proprietary application. The client works by communicating with the server on separate links (typically cellular connections) and then initiates a tunnel over each active link. However, in place of the... (0 Replies)
Discussion started by: shadyuk
0 Replies

5. IP Networking

Routing traffic problem between 3G and Office Lan Network

Hi, I would like to ask some networking solution regarding my work LAN and 3G usb network problem. I want to route my internet traffic to the 3G network and sometimes connect to some of my work network for ssh to configure some workstation or print something. Currently my problem is i can't... (0 Replies)
Discussion started by: jao_madn
0 Replies

6. Shell Programming and Scripting

Script to test my network connectivities

Hello folks; I have about 20 servers in my environment here as well as some applications such as MySql, Oracle, etc.. I need help writing a shell script that can go out and test the Internet connection by pinging servers as well as testing the Oracle & MySql connections. Is there a way to do... (6 Replies)
Discussion started by: Katkota
6 Replies

7. Solaris

Network cards - Routing

Hi all I hate networking, I hate everything to do with it. Its something I do in anger in one contract, then forget. This is more of a question / than a problem. So, on a solaris 10 server, using older qfe cards, Ive got a sun truck with 4 nics (qfe0,3,4,7), and a ipmp pair (hemo0,qfe1).... (2 Replies)
Discussion started by: sbk1972
2 Replies

8. Shell Programming and Scripting

bash script to test network connection - please help

I want to test if my host can connect to any of the following 10 hosts (192.168.1.0 to 192.168.1.9) I didnt know which command i should use, so i chose ping. (i wonder if i should use tracepath or sth else) my code is the following: #!/bin/bash clear firstPart="192.168.1" maxNum="9" ... (2 Replies)
Discussion started by: shadow_boi
2 Replies

9. UNIX for Dummies Questions & Answers

Need help to configure routing on home network

I have a Windows laptop and a Sparc desktop. I'm trying to toy around with routing. If have always on broadband from BT. My router ipaddress is: 192.168.1.1 This router uses DHCP. My Laptop Ip is as follows: Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . :... (2 Replies)
Discussion started by: Kongowea
2 Replies

10. IP Networking

Routing Network Traffic With Mandrake

I am running Mandrake 8.0 (KDE ver 2.1.1) on a machine with 2 NICs. This is a college project. I am attempting to configure this machine as a firewall, and to pass packets from one network to another. Eth0 is on my external network. Eth1 is on my internal network. I set the gateway in "netconf"... (1 Reply)
Discussion started by: Deuce
1 Replies
Login or Register to Ask a Question
route(8c)																 route(8c)

Name
       route - manually manipulate the routing tables

Syntax
       /etc/route [ -f ] [ -n ] command args ]

Description
       The  program  is  used  to manipulate the network routing tables manually.  However, normally it is not needed, as the system routing table
       management daemon, should tend to this task.

       The program accepts two commands: add, to add a route and delete, to delete a route.

       All commands have the following syntax:

	    /etc/route command [ net | host ] destination gateway [ metric ]

       In this syntax, destination is a host or network for which the route is to, gateway is the gateway to which packets  should  be	addressed,
       and  metric  is	an  optional count indicating the number of hops to the destination.  The metric is required for add commands.	It must be
       zero if the destination is on a directly-attached network, and nonzero if the route utilizes one or more gateways.

       When adding a route with metric 0, the gateway given is the address of this host on the common network, indicating the interface to be used
       for  transmission.   Routes to a particular host are distinguished from routes to a network by interpreting the Internet address associated
       with destination.  The optional keywords net and host force the destination to be interpreted as a network or host, respectively.   If  the
       destination  has  a local address part of INADDR_ANY, then the route is assumed to be to a network. Otherwise, it is presumed to be a route
       to a host.  If the route is to a destination connected via a gateway, the metric should be greater than 0.  All	symbolic  names  specified
       for a destination or gateway are looked up first as a host name using If this lookup fails, is then used to interpret the name as that of a
       network.

       The command uses a raw socket and the SIOCADDRT and SIOCDELRT ioctls to do its work.  As such, only the superuser can  modify  the  routing
       tables.

Options
       -f   Flushes  the routing tables of all gateway entries.  If is used with one of the commands described above, the tables are flushed prior
	    to the command's application.

       -n   Prevents attempts to print host and network names symbolically when reporting actions.

Restrictions
       The change operation is not implemented.  Therefore, you should first add the new route, and then delete the old one.

Diagnostics
       add [host | network] %s: gateway %s flags %x"
       The specified route is being added to the tables.  The values printed are from the routing table entry supplied in the ioctl call.  If  the
       gateway	address  used  was not the primary address of the gateway (the first one returned by the gateway address is printed numerically as
       well as symbolically.

       delete [ host | network] %s: gateway %s flags %x
       The specified route is being deleted from the tables.  The values printed are from the routing table entry supplied in the ioctl call.	If
       the  gateway  address used was not the primary address of the gateway (the first one returned by the gateway address is printed numerically
       as well as symbolically.

       %s %s done
       When the flag is specified, each routing table entry that is deleted is indicated with a message of this form.

       Network is unreachable
       An attempt to add a route failed because the gateway listed was not on a directly-connected network.  The next-hop gateway must be given.

       not in table
       A delete operation was attempted for an entry which was not present in the tables.

       routing table overflow
       An add operation was attempted, but the system was low on resources and was unable to allocate memory to create the new entry.

See Also
       intro(4n), routed(8c)

																	 route(8c)