#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2012
    Posts
    3
    Rep Power
    0

    Problem in connecting to server


    i have one server its ip is 10.100.108.253
    subnet mask : 255.255.255.0
    default gateway is : 10.100.108.1

    client 1 ip :10.100.42.83
    subnet mask : 255.255.255.0
    default gateway is :10.100.42.1

    client 2 ip :10.100.42.76
    subnet mask : 255.255.255.0
    default gateway is :10.100.42.1


    what i need to do, please rply
    client is not connecting with the sever
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    May 2004
    Location
    surfing the interwebz
    Posts
    2,410
    Rep Power
    2005

    Smile


    This isn't a homework assignment is it?
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2012
    Posts
    3
    Rep Power
    0

    network problem


    sorry but i am unable to sovle the problem.
    help me out to connect my remote clinet to server.
    please tell me what procedure should i use to rectify the problem

    i will gratefull to you
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    May 2004
    Location
    surfing the interwebz
    Posts
    2,410
    Rep Power
    2005
    So it is homework related. I won't solve it for you, but I'll help you figure it out. What's different between the IP address of the server, and the IP address(es) of the client machines?
  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2012
    Posts
    3
    Rep Power
    0
    server ip is 10.100.108.253
    subnet mask : 255.255.255.0
    default gateway is : 10.100.108.1

    client ip :10.100.42.83
    subnetmask : 255.255.255.0
    default gateway is :10.100.42.1
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2011
    Posts
    289
    Rep Power
    44
    In IPv4 (which you are using), the subnet mask determines which IP addresses belong to the same Subnet. The mask is applied bit wise to the address. In your particular case it is very simple, as the last byte (8 bits) is zero. Therefore, if the first 3 bytes of the destination address compare or match with the first 3 bytes of the source address, the 2 addresses are on the same subnet and packets will be routed directly. If they don't compare, packets will be routed to the gateway. In your case, the first 3 bytes do not compare, so they are not on the same subnet.

    J.A. Coutts

IMN logo majestic logo threadwatch logo seochat tools logo