Setting up a LAN

Halogen

Well-Known Member
Joined
Nov 6, 2008
Messages
325
Reaction score
20
Well I has been a very, very long time since I had to set up a LAN... Now my one friend wants to LAN but he has a "cross-over" cable to connect the 2 PC's. Now he wants to connect it directly. My question is this possible without a HUB?

Also if it is possible must I do? He didn't give enough information but that is what he said. If I'm not mistaken you must give both the PC's the others IP or something like that in order to connect. Also must I set up anything on the Network and Internet Connections.

Halogen :)
 
Go to tcp ip settings in both pcs, change the ip address to manual and set it to 192.168.0.2 and 192.168.0.3 respectively and set the subnet mask to the default 255.255 thing, then set the default gateway to 192.168.0.1 and its done, reboot just to make sure it works
 
Crossover cable will work, there won't be a router in a 2PC network, so leave the gateway blank.

Use 192.168.x.x and 192.168.x.x+1
Where x is a number between 1 and 254

as Silverlight said, Subnet mask 255.255.255.0
 
Go to tcp ip settings in both pcs, change the ip address to manual and set it to 192.168.0.2 and 192.168.0.3 respectively and set the subnet mask to the default 255.255 thing, then set the default gateway to 192.168.0.1 and its done, reboot just to make sure it works

That's not going to work as 192.168.0.1 doesn't exist. Use 192.168.0.2 as the gateway.

Also get rid of the crossover cable and buy a switch - the number of ports will be determined by the number of devices to be connected.

Life will also be easier if you have a dhcp server on the net, in which case you don't have to fiddle with ip addresses. Typically your adsl router can do this and it will also be the gateway. Other devices which may act as dhcp server are printer, wireless hub, nas.
 
192.168.0.1 will work. And if they both have 1gig nics, it will be better to use the crossover cable as normal cheap switches are only 10/100. I know in gaming it won't matter, but if they want to copy something, they will notice it.
 
That's not going to work as 192.168.0.1 doesn't exist. Use 192.168.0.2 as the gateway.

Also get rid of the crossover cable and buy a switch - the number of ports will be determined by the number of devices to be connected.

Life will also be easier if you have a dhcp server on the net, in which case you don't have to fiddle with ip addresses. Typically your adsl router can do this and it will also be the gateway. Other devices which may act as dhcp server are printer, wireless hub, nas.

how exactly is 192.168.0.1 non existant? there is nothing wrong with it unless another device already has it assigned?

I agree about the hub over the switch thing, but if u only want to connect 2 machines why bother?
 
Thxs, yes i have a HUB but my friend just wants 2 PC's to LAN so there is no need for a HUB.
 
how exactly is 192.168.0.1 non existant?

From here:

Go to tcp ip settings in both pcs, change the ip address to manual and set it to 192.168.0.2 and 192.168.0.3 respectively and set the subnet mask to the default 255.255 thing, then set the default gateway to 192.168.0.1 and its done, reboot just to make sure it works
 
ah i see what u mean i thought u meant it CANT exist...my bad
why would u need a default gateway here anyway? u have a 2 man lan? not exactly gonna be routing traffic.
 
Yeah, PC 2 PC with crossover cable will work. No need for hub. Just assign a static ip address(10.0.0.1 and 10.0.0.2) to the 2 PC with the same subnet mask (255.255.255.0)and off you go.
 
192.168.0.1 will work. And if they both have 1gig nics, it will be better to use the crossover cable as normal cheap switches are only 10/100. I know in gaming it won't matter, but if they want to copy something, they will notice it.


The 192.168.0.1 will work. You can leave out the gateway or use .1
If the machines need to connect to any other subnet apart from 192.168.0.0 they will use the default gateway. Since there is a x-over cable they will never reach the default gateway.
 
At least no one mentioned netbui

I Presume that the networking lesson is now complete
 
Top
Sign up to the MyBroadband newsletter
X