CCNA: Cross Over Cable vs 255.255.255.0 (subnet mask)

Hi,

1) This is related to the CCNA exam.
2) At one of the prep test, there is a case like this:
- Two PCs can get connection each other by using the Cross Over Cable or using the Subnet Mask 255.255.255.0

3) My questions: i) Could you explain why  using the subnet mask 255.255.255.0 (and i believe, it is still using the Straight cable instead of Cross Over Cable) would be able to connect the above two PCs?, ii) Is there any relationship between the Cross Over Cable and the Subnet Mask of 255.255.255.0

4) Thank you

tjie
tjieAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

nodiscoCommented:
hi

The ability to connect the 2 pcs together is not determined by what subnet mask you use - as long as you have the same one.  Subnetting is a way of splitting your ip space into common "chunks" where all nodes that reside in a subnet can see each other without having to be routed.

In other words, if you connect both pcs using
192.168.1.1 255.255.255.0 and 192.168.1.2 255.255.255.0
or
10.0.0.1 255.0.0.0 and 10.0.0.2 255.0.0.0
they will still work - as long as their subnets are the same.  

FYI - you do use a cross over cable for connecting PC to PC.

If you have 2 PCs to connect together via a switch/hub, then you use straight through cables

hth
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
TCP/IP

From novice to tech pro — start learning today.