Click to See Complete Forum and Search --> : Networking with windows
Xaibot
02-18-2001, 11:52 PM
Hi,
Im trying to connect my windows computer to my linux computer. I have the two machines connected one directly to the other with a cable. I have installed NICs on both machines. The settings are:
Linux:
IP 10.0.0.5
Subnet 255.255.255.0
Windows
IP 10.0.0.3
Subnet 255.255.255.0
Both machines ping thier own IP addresses, but they cannot ping each other.
Ive read the NHF, but it assumes that you already have a TCP connection running.... which is not particularly useful to me.
Can anyone offer any help?
aph3x
02-19-2001, 12:09 AM
what does your broadcast look like for each machine? it should be something like 10.0.0.255 for each machine.
the netmask should be 255.255.255.0 both machines. i think you may have netmask and subnetting confused...
hope that helps :D
Xaibot
02-19-2001, 12:38 AM
Yep... I think I have just about everything confused.
According to linuxconf, the netmask is 255.255.255.0. ifconfig tells me that the BCast is 10.0.0.255.
On windows:
winipcfg tells me that my "Subnet Mask" is 255.255.255.0. I dont know how to make it set /show my broadcast.
(please help)
hndpaul
02-19-2001, 03:44 AM
If you are using a Class A address for your network address, and using NO subnetting (which you don't need to- really), then your mask (which is the default mask in your case with no subnetting turned on in the binary of the address) should be:
255.x.x.x
Your broadcast should be:
x.x.x.255
Try changing your addresses to the private Class A IP address range, change the default mask to the correct one, and then look see if it works.
Good luck!
paul, UK
Xaibot
02-19-2001, 09:45 AM
Ive changed them in linux, and Ive changed the subnet mask to 255.0.0.0 in windows, but I have no idea how to get to the broadcast in windows or how to turn the "subnet mask" into a non-subnet mask (you said "no subnetting turned on in the binary of the address". How do I do these things?
Wilco
02-19-2001, 10:08 AM
Hi,
Have you thought of a cabling problem?
What kind of cabling system do you use, UTP or BNC?
If it is UTP and youare using a standard cable, it won't work. You'll have to use a socalled crossover cable, witch is the same cable but with the wires 2 and 6 crossed.
A straight cable is only used to connect a system to a HUB or switch, to connect two systems to eachother you'll have to use a crossover cable.
Wilco
Xaibot
02-19-2001, 10:31 AM
Ah... then I might need a crossover cable. The cable that I have was intended to be used to connect a computer to a dsl modem...but I remember something about it being a crossover cable too.
Windows has a selection for "what type of cable", though and I put in on autodetect. Before I set the IP addresses, the windows system would pop up with "cannot find DHCP server" or something like that everytime the linux system started up, so I think theyre communicating.
Can anyone tell me how/where to set the broadcast in windows?
Wilco
02-20-2001, 06:44 AM
Hi,
The Cable Type selection in Windows gives you the choise between UTP and BNC cabling, it has nothing to do with selecting a straight- or an crossover UTP cable.
In Windows the broadcast adress is dependant on the subnetmask of the interface, you can't change this without changing the subnetmask.
Wilco