1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Doubts related to networking

Discussion in 'Networking Issues' started by syamsd, Jan 11, 2008.

  1. syamsd

    syamsd LI Guru Member

    hai ,
    i am doing a project on java networking.it is to implement Dijkstra's Shortest path algorithm in computer networks.me have a lot of doubts like
    1.how to access the ip address of a system from another system.
    2.how to address a system having two network cards.
    3.how to find the cost of path between two machines.
     
  2. danix71

    danix71 LI Guru Member

    What's that? 21 questions? :flabbergasted:
     
  3. frenchy2k1

    frenchy2k1 LI Guru Member

    what do you mean by access? If you just want to know if the machine exists and answer, use the "ping" command. This also answer question 3, as it will give you back the delay it takes for information to go and come back to that machine.

    To contact a system with 2 cards, just use either of its IP addresses.
     
  4. syamsd

    syamsd LI Guru Member

    thanks 4 the replay..
    i want not only to know if the sysetm exist or not but to send message to the system whose ip is not known.can i give IP to all the systems in a network from a system?...
    i am doing it as a part of my college project.....it is to implement in a small ring network......so if i use the "ping" command there will not be any difference in time to all systems in a network from a system......so is there any alternative for this....
     
  5. frenchy2k1

    frenchy2k1 LI Guru Member

    You cannot send any communication to a system without you knowing its IP. This is a bit like saying "I want to send package to people whose address I dont know".
    If you know the name/alias of the system (www.yahoo.com for example), you have address servers (DNS servers) that act as yellow pages and will give you the IP.

    Computers dont just "communicate", they communicate for a reason. Imagine that you were to phone random stragers with no reason, although they may pick up the phone, they would probably hang up quickly. Computers are the same way. You can only send messages to a computer that this computer will recognize, accept and respond to. Ping is an universal service used to located computers. Most will answer to it. If you tried to go "look at web pages" on any computer, you would most probably fail most of the time, as most computers are NOT setup to answer such demands.
     
  6. syamsd

    syamsd LI Guru Member

    how to link two LAN cards.

    i have inesrted and installed two LAN cards on a system...hw i can make link between the two cards..?.,..i want to make the two card connected such that a message should pass form a system through this system to another system....ie;
    message is received by one card and is send by another card....
     

Share This Page