know how to connect 2 computers by using network cabel

vidura99

Well-known member
  • Oct 16, 2009
    14,307
    1,361
    113
    Colombo
    Way 2 Do that

    Refer this

    1. Choose a Network Address
      • Any network address will do for this purpose, so long as you understand the basics of how IPv4 works as explained below.
      • IPv4 (IP ver. 4) addresses are written like this: xxx.xxx.xxx.xxx (four number groups separated by three dots), in all RFC-1166 compliant countries. Each number ranges from 0 to 255. This is known as "Dotted Decimal Notation" or "Dot Notation" for short. The address is divided into two portions: the network portion and the host portion.

        For "Classful" networks, the network and host portions are as follows:
        ("n" represents the network portion, "x" represents the host portion)

        When the first number is 0 to 127 - nnn.xxx.xxx.xxx (ex. 10.xxx.xxx.xxx)
        These are known as "Class A" networks.

        When the first number is 128 to 191 - nnn.nnn.xxx.xxx (ex. 172.16.xxx.xxx)
        These are known as "Class B" networks.

        When the first number is 192 to 223 - nnn.nnn.nnn.xxx (ex. 192.168.1.xxx)
        These are known as "Class C" networks.

        When the first number is 224 to 239 - The address is used for multi-casting.

        When the first number is 240 to 255 - The address is "experimental".

        Multicast & Experimental addresses are beyond the scope of this article. However, because IPv4 does not treat them the same way as other addresses they should not be used.

        For simplicity "non-classful networks" and sub-netting will not be discussed, as we will be connecting only two devices. If you wish to connect additional devices,
        The network portion specifies a network; the host portion specifies an individual device on a network.

        For any given network:
        • The range of all possible host portion numbers gives the Address Range.
          (ex. 172.16.xxx.xxx the range is 172.16.0.0 to 172.16.255.255)
        • The lowest possible address is the Network Address.
          (ex. 172.16.xxx.xxx the network address is 172.16.0.0)
          This address is used by devices to specify the network itself, and cannot be assigned to any device.
        • The highest possible address is the Broadcast Address.
          (ex. 172.16.xxx.xxx the broadcast address is 172.16.255.255)
          This address is used when a packet is meant for all devices on a specific network, and cannot be assigned to any device.
        • The remaining numbers in the range are the Host Range.
          (ex. 172.16.xxx.xxx the host range is 172.16.0.1 to 172.16.255.254)
          These are the numbers you can assign to computers, printers, and other devices.
          Host Addresses are individual addresses within this range.
    2. Connect the two computers together.
      • To connect with a Crossover cable, simply plug an end of the cable into the Ethernet Port of each computer.
      • To connect with a Hub or Switch, use two straight through cables to connect each computer to the switch or hub.
      • See "Things you will need" section for more information on "Straight Through" -vs- "Cross-Over" Cables.
    3. Configure the computers for networking. Go to internet options (this varies depending on the Operating System), and go to the dialog box that lets you change the TCP/IP protocol. Change the radio buttons from "Obtain from DHCP server automatically" to "Use the following IP address:".
      • Give each computer a different address from the host range. Do not use the network address or the broadcast address.
      • Leave the "Default Gateway" and "DNS server" fields blank.
      • For the subnet mask, use the following:

        Class "A" Networks
        When the first number is 0 to 127
        The Mask is - 255.0.0.0

        Class "B" Networks
        When the first number is 128 to 191
        The Mask is - 255.255.0.0

        Class "C" Networks
        When the first number is 192 to 223
        The Mask is - 255.255.255.0

        IPv4 originally used the first number (ex. 192) to determine which part of the address is network and which part is host based on the address class. However, the advent of subnetting and nonclassful networking made it necessary to provide a mask because other ways of dividing the address into network and host portions are now possible.(More information in the Important Notes section.)
    4. Verify connectivity. The simplest way to do this is with Ping. Bring up MS-DOS or the equivalent on other OS's, (In Windows open the command prompt which is located in the Start Menu - Accessories - Command Prompt) and type in: "ping [insert IP address of the other computer here] (ex. 192.168.1.1). If you cannot reach the other computers address, read over the steps again or contact a professional.
    Link :no::no:
     
    Last edited:

    anuradhamapa

    Well-known member
  • Aug 23, 2006
    13,487
    3,720
    113
    cross cable ekak awashya wenawa.......

    nethnam switch ekakui pc dekata wena wenama network cable one wenawa .... e cable deka 568a hari 568b hari standed ekata crimp karanna one...

    pc dekatama ip denna wenawa

    pc no 1
    192.168.1.1 kiyala dela
    subnet mask eka 255.255.255.0

    pc no 2
    192.168.1.2
    subnet mask eka 255.255.255.0

    awashya folders share karagaththama hari ................... if you need more ask me
     

    pavithra_uk

    Well-known member
  • Oct 6, 2009
    53,324
    21,964
    113
    Gotland
    Network cable pin 1,3 and 2,6 maru karanna one. mama karala baluwa. hari giya. 1 month ago. habai 1,3 2,6 hoya ganna katta kanna wenawa. mata okkoma cables kapanna una.
     

    llrajitha

    Well-known member
  • Jan 11, 2008
    6,971
    1,086
    113
    cross over widihata cable eka crimp kara ganin.
    cable_utp_clip_image003.gif


    crossOverCableDiagram2.jpg

    PC deka connect karapan.
    windows walanam network setup eka run karapan.
    Network connection walata IP address assign karapan.
     

    dulan007

    Member
    Sep 13, 2006
    10
    0
    0
    machan pc 2 ekata connect karana nam cross cable ekak one. unity eken cross cable ekak aran pc deke network card walata connect karana.
    - ita passe task bar eke nework icon eke double click karala general tab eke properties click karana
    - dan aluth window eke (local area connection properties) general tab eke, This connection uses the following items: eka scroll karala Internet Protocol (TCP/IP) select karala properties button eke click karana.
    -Internet Protocol properties window eke Use the following IP address select karana,
    Ip address ekata 10.0.0.1 dana
    subnet mask ekata 255.0.0.0 dana
    default gateway eka blank thiyana.
    - dan windows okkoma OK karana
    - me steps tikama anith pc eketh karana ip address eke witharak 10.0.0.2 walata change karana.
     

    0716aravinda

    Well-known member
  • Aug 21, 2008
    20,754
    1,744
    113
    අනේ මන්දා බන්zලා
    cross cable ekak awashya wenawa.......

    nethnam switch ekakui pc dekata wena wenama network cable one wenawa .... e cable deka 568a hari 568b hari standed ekata crimp karanna one...

    pc dekatama ip denna wenawa

    pc no 1
    192.168.1.1 kiyala dela
    subnet mask eka 255.255.255.0

    pc no 2
    192.168.1.2
    subnet mask eka 255.255.255.0

    awashya folders share karagaththama hari ................... if you need more ask me


    eka kiri machan thx machaa
     

    0716aravinda

    Well-known member
  • Aug 21, 2008
    20,754
    1,744
    113
    අනේ මන්දා බන්zලා
    machan pc 2 ekata connect karana nam cross cable ekak one. unity eken cross cable ekak aran pc deke network card walata connect karana.
    - ita passe task bar eke nework icon eke double click karala general tab eke properties click karana
    - dan aluth window eke (local area connection properties) general tab eke, This connection uses the following items: eka scroll karala Internet Protocol (TCP/IP) select karala properties button eke click karana.
    -Internet Protocol properties window eke Use the following IP address select karana,
    Ip address ekata 10.0.0.1 dana
    subnet mask ekata 255.0.0.0 dana
    default gateway eka blank thiyana.
    - dan windows okkoma OK karana
    - me steps tikama anith pc eketh karana ip address eke witharak 10.0.0.2 walata change karana.


    elaz
     

    deegopower

    Well-known member
  • Oct 8, 2006
    3,188
    29
    48
    Kandy, Sri Lanka
    get a ca-45 cable and 2 rj45 jacks, crimp them according to the above diagram...using a crimp ting tool...and connect and see if the lights are ok then it works..chk with ping command.........