Connect Red Hat box to Win XP box?
Both my Redhat box and my winxp boxes have NICs and modems. I only use the modems.
Is there a way to network the 2?
Is it as easy as plugging a cat5 in the backs of the NICs?
to plug a cable directly between them (without a hub/switch) it would have to be a crossover cable...
i know this isnt directly related to this thread, but the search function brought me here, and it seems you have the knoledge....
anyways... i have questions on network cable.
1) how do you tell the difference between Twised, and untwisted net-cable.
2) is twised the stuff you use for direct NIC -> NIC or is it the other way around ?
3) is the cable from my NIC to broadband modem twisted or untwised ?
4) why ? why do you need different network cable depending on wether or not a hub is in your way ? and why not just have an adapter that goes on the end rather than making my old cable obsolite when i buy a 3rd pc + router. ?
The difference between a crossover cable and a straight through (regular) network cable is minute, but an extremely important difference.
Crossover cables have been phased out over the last few yesrs, and many circumstances where a crossover cable used to be needed can now be accomplished with a straight through cable along with the use of the now evercommon uplink port on switches, hubs, and the cheaper routers. By cheaper, I mean the ones for home or small network use, not the big cisco and other industrial size/strenght machines.
The way to tell a crossover from a straight through is to look at the colors of the 8 wires within the cable. Looking down on the end of the cable that has the pin side facing up at you, you'll see this color scheme left to right:
1) brown 2) brown/white 3)green 4) white/blue 5) blue 6) green/white 7) orange 8) orange white.
They actually get numbered the opposite way, right to left, but that is unimportant for our purposes here. If both ends of the cable have that scheme, you have the standard straight through cable that passes from computer to hub/switch/router.
This is the ordering for a crossover cable:
1) brown 2) brown/white 3) orange 4) blue/white 5)blue 6) orange/white 7) green 8) green/white.
Very important to note that this will be the color scheme on only ONE end of a crossover cable. The other end should be normal. The only cables of importance are the orange and greens - the blues and browns are useless the vast majority of the time, they just fill space.
To qwijibow: I assume by twisted you mean crossover, I'll operate under that premise, as I have never heard the term "twisted cable".
your question 1 was answered above
question 2) a crossover is what you would use to go directly from one NIC to another with no hub/switch/router between.
questions 3) Could be either, but most of the time a broadband modem will have a built in adapter that you spoke of, so a regular cable can be used where a crossover used to be needed. Plugging a crossover into your cable modem that was designed for a regular cable will not work, as it will effectively be double crossed, leaving you back at a regular position.
question 4) The crossover has become fairly phased out. You can still buy them and many systems use them, but going forward you'll see only regular cables in most if not all new installations. By twisting the pins on the receive (female) that the cable plugs into, you can make a crossover from a regular. The large problem with the crossover was that it couldn't scale. You could and still can go directly between machines with a crossover, but if you want to connect a 3rd machine, you're SOL because all the NIC interfaces have been used, unless you put 2 cards in one machine. The cost of a 6 foot cable is probably under $10 if you look around. You can get cables super cheap online ($2 for a cable is quite common, even in super small quantities). If you are setting up your home network for the first time, get a small (4 or 8 port hub, depending on the number of machines) and run only regular cables. If the hub has an uplink port, you'd plug your cable modem or dsl into that, and you can rock and roll. You may need to go up to the cheap home router if you want something doing DHCP, but you can get around that.
My home network:
cable modem runs directly into my main box, which has 2 NICs. The modem comes in and that card gets DHCP from my cable company. I them put local statics on my other card (22.214.171.124) and then each machine in my apartment has a static address (192.168.0.2-6), all configured with 192.168.0.1 as the gateway, also as the DNS server along with my ISP's s primary DNS server. The cable company can't cause problems, becasue by running it into a computer and not a router (ok my machine is functioning as a router, but it isn't one). I got an 8 port hub onlne for $8 dollars delivered, and built the cables myself. Even if I bought the cables, the six of them could have been had for less than $50.
If you are comfortable playing with wires, you could cut off the head of the crossover cable, and put a new head on it with the regular color order, thereby recycling the cable. The tool to crimp the head on will be about $30, so for just one cable it is cheaper to simply buy what you need.
remember, twists do not affect the order of the wires in the cable...
what differentiates a crossover cable from a regular cable is the _order_ of the wires...
UTP means "Unshielded Twisted Pair"... that means if you cut through the outer plastic-like insulation to look inside the cable, you'll see the twisted wires right away, you won't need to go through a layer of additional "shield", the twist is the only noise insulation you get... with STP cables, you get that familiar metallic mesh surrounding the twists, providing additional insulation...
from some page i googled:
here's some links with graphics and stuff:
Thank you so much for all that info. That is exactly what I wanted to know.
On a side note. Hearing all of this stuff and all these terms being thrown around for the first time seems to make this whole Linux affair seem a daunting task.
I've abused windoze for 10 years now and never learned about any of this stuff. I just assumed my expensive OS took care of it (or not).
But daunting as it may seem, I think it's important to learn this stuff so that I know what the heck is going on inside of this box in front of me. I'm not just a leech on it and throw up my hands when it doesn't work right.
But I could definitely see where one would venture into the wide world of *nix and quickly get overwhelmed and lost. The fact there are folks like you out there amazes me. I write a goofy noobie question that I could have typed in the search box and you send back a fantastic response. (I'll use the search box in the future so as not to abuse the privilege).
Once again, thank you.
No problem man, it is not often that a question comes up that I feel confident to answer, but one about wiring I was ready for, as I often have to make cables for my company at work.
The search and google idea is very good. I've only been playing in linux for about 6 or so months, but I've learned a TON of things from this site, and also another good one is linuxcommand.org If you can't find a good answer on the search here, then I go to google, and also the specialized google.com/linux. If my search comes up nil, then I post here, and somebody usually writes back quickly.
Also jusy FYI, what I wrote is 100% OS independent. That will apply to windows boxes, Macs, all the subvarieties of linux/unix etc. The only time it would change would be if you were connecting with Token ring, or some of the other network technologies that have by and large fallen by the wayside.
|All times are GMT -5. The time now is 09:34 AM.|