Chris said:
Thanks Kyle, I am using Netbui at the moment, but will enter the
terrifying world of TCP/IP in the near future as this will make the file
transfers faster, right? Thanks very much for the reply, this "dirty" fix
by disabling will do for now, TCP/IP is not something I have had good
experiences with <VBG>
You're connected to the net aren't ya'?
The only thing you need to know really are the IP ranges assigned for LANs,
as well as localhost.
127.0.0.1 always refers to localhost (your machine)
192.168.x.y is your standard class B subnet, you are allowed to specify x
from 1 to 255 inclusive (usually 0 for the first LAN, 1 for the second etc.)
and y from 1 (usually the router/gateway to another network) to 254. y =
255 specifies a broadcast, y = 0 I don't recall, but might not go anywhere.
Another subnet is 10.x.y.z suitable for ~65K to 16M machines on your subnet.
What that basically means is that you set your machine thats hooked up to
the net to 192.168.0.1 on your internal subnet, and all other machines on
that subnet to 192.168.0.x where 2 <= x <= 254.
Your subnet mask specifies which adresses are on a particular subnet and
which are on another subnet. Usually you simply set it to 255.255.255.0 and
then you can directly access machines with an IP of 192.168.0.x for all x.
255.255.0.0 and you'll be able to directly access machines for all x and y,
both are valid and widely used.
The gateway is the machine that deals with requests to IP addresses that do
not meet the mask - usually considered to be machines on the internet.
Then there's DHCP which is there to set up all of these IP addresses
automatically (The IP address of the interface, the mask and the gateway) -
with dialup your ISP usually has a DHCP server and assigns your modem an IP
address. With broadband using a USB modem, the same happens. With a modem
connected via ethernet, what happens is that your modem is assigned the IP
address, then you have to either set your gateway to be the IP address of
the modem (often 192.168.x.1 where I usually see x=1 or 100, but any value
(0-255) is valid), or your modem will have a DHCP server and be able to sort
it for you. Usually your ethernet modem will be predefined to be on a
192.168.x.y stlye address so your machine will have to take on an IP adress
of the same form.
I've been a little inconsistent with my terminology, a machine can have
multiple IP addresses, one for each network device - often your network card
will have an IP address, your modem will have an ip address, and if
connected to your machine via not ethernet you can consider your machine to
have that IP address too and of course, 127.0.0.1 is also always the machine
your using.
Ben