Thread: Home networking

  1. #16
    Registered User khpuce's Avatar
    Join Date
    May 2003
    Posts
    165
    Use a class C private IP address range starting from 192.168.0.1 onward. In your case the printer doesn't need an IP, but the PC (the print server) which connects to it, does.
    question: If I use private ip addresses in both my computers, then what will happen when I connect to the internet using dial-up? After establishing the connection, won't my machine get another ip address from the ISP?

  2. #17
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    if your isp does reassign ip addresses and it messes up your network (I really don't know if it will or not). Just use MAC addresses to connect everything.
    PHP and XML
    Let's talk about SAX

  3. #18
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    a dial up adapter won't assign the IP of your network card. They are two separate IPs. One external, one internal.
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  4. #19
    Registered User FloatingPoint's Avatar
    Join Date
    Jun 2003
    Posts
    191
    As I understand it, private IPs are not assigned to computers which are connected to the net, and they're wholly for internal use. Every node on your n/work needs to probably use NAT/IP masquerade to reach the outside world that is thru your ICS.

    Hmm..not an expert at all here

    BTW, Waldo2k

    How does one go abt to:

    Just use MAC addresses to connect everything.
    There needs some special configuring?
    Come cast your shadow over me
    and I'll cast mine all over thee
    Take me away, into the shades
    where there is no light of day

  5. #20
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    >>There needs some special configuring?

    well, in case you didn't know, MAC addresses are hardcoded into the NIC's. Routers use a relational database that correspond IP's to MAC addresses, we use IP addr's becuase trying to use a single MAC address to locate a computer on the net is nearly impossible...but it works quite well in small networks. I've never actually set up using MAC addresses myself, I don't know if windows supports it internally or not, you may have to use 3rd party proxy software to use MAC addresses...but as I see it you don't need to use them.
    PHP and XML
    Let's talk about SAX

  6. #21
    Registered User khpuce's Avatar
    Join Date
    May 2003
    Posts
    165
    a dial up adapter won't assign the IP of your network card. They are two separate IPs. One external, one internal
    I agree these are two types of ip addresses. But A host can have only one ip address. As far as I know when a connection is established with dial-ups, the isp dynamically assigns an ip address for the host and thats how the host can communicate with the outer world (internet). This is what makes me confused. If I already assign an ip address (private) to my machine, how will it react when the isp tries to allocate an ip address to this machine when it is connected?

    P.S. The same problem remains (well as far I understand!) if I use NAT or CIDR. Because how will I configure the router if I don't know what ip address I will be assigned dynamycally by the isp?

  7. #22
    Registered User FloatingPoint's Avatar
    Join Date
    Jun 2003
    Posts
    191
    Ask for a fixed IP from your ISP then. They should be able to help.
    Come cast your shadow over me
    and I'll cast mine all over thee
    Take me away, into the shades
    where there is no light of day

  8. #23
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    I don't know of a single ISP that provides static IP address to dail up users.

    Of course with enough money it should be plasible.

  9. #24
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    >>But A host can have only one ip address.

    No. Each interface usually has an IP address. That means if you have a machine with 3 network cards and a dialup connection you will typically have 4 ip addresses.

    Give it a try.

  10. #25
    ___
    Join Date
    Jun 2003
    Posts
    806
    While on this subject what is the easiest way to share a ethernet cable connection on my desktop and a laptop I'm going to get. My desktop will be running Windows and I'm installing Mandrake on the laptop if that will affect anything.
    "When I die I want to pass peacefully in my sleep like my grandfather did, not screaming and yelling like the passengers in his car."

  11. #26
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    won't affect a thing (as long as you can decide which one will be the server, which will be the client) setting up networks is mostly IP addresses, doesn't have anything to do with OS's.
    PHP and XML
    Let's talk about SAX

  12. #27
    ___
    Join Date
    Jun 2003
    Posts
    806
    Ok. So Do I just need to connect them together with a networking device and what thing do I need to install on my desktop which will hold all the networking stuff to make it work?
    "When I die I want to pass peacefully in my sleep like my grandfather did, not screaming and yelling like the passengers in his car."

  13. #28
    Registered User khpuce's Avatar
    Join Date
    May 2003
    Posts
    165
    won't affect a thing (as long as you can decide which one will be the server, which will be the client)
    Why bother about server or client? Isn't it the easiest to use peer to peer in this case?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem in accessing root home folder....
    By Bargi in forum Linux Programming
    Replies: 1
    Last Post: 02-13-2008, 05:50 AM
  2. Beyond MFC : COM || Networking
    By kuphryn in forum Windows Programming
    Replies: 5
    Last Post: 04-25-2002, 04:28 PM
  3. home networking
    By lambs4 in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 04-09-2002, 09:34 AM
  4. C++: Reference Book, GUI, Networking & Beyond
    By kuphryn in forum C++ Programming
    Replies: 4
    Last Post: 11-10-2001, 08:03 PM