LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-11-2005, 06:20 AM   #1
learnfast
Member
 
Registered: Mar 2005
Location: berlin
Distribution: Redhat 9, Fedora 3
Posts: 70

Rep: Reputation: 15
machines with different submasks can ping each other, why?


I am trying to learn networking from my redhat 9 book:

On one machine I have:
ip: 192.168.33.33
netmask: 255.255.128.0

On another machine I have:
ip: 192.168.33.34
netmask: 255.252.0.0

And they CAN STILL PING EACH OTHER, why is this?
From my reading I understand that it is the point of submasks
to create different AREAS to have unique IP addresses?

Thanks.
 
Old 03-11-2005, 09:11 AM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
the first one is
11000000 10101000 00100001 00100001

the second one is
11000000 10101000 00100001 00100010

so a netmask to exclude all others is
11111111 11111111 11111111 11111100

or
255.255.255.252

anything more unrestrictive than that also contains these addresses

255.252.0.0 is netmask that includes well over 65,000 addresses
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How come I can ping between machines, but not get internet? ozymandias Linux - Networking 5 09-11-2005 04:20 PM
Cannot ping between 2 machines on same router acampbell Linux - Wireless Networking 8 02-24-2004 03:27 AM
Basic networking IPTable Do I have to?? I canīt ping my machines jimdaworm Linux - Networking 18 11-29-2003 11:10 PM
Ping between machines triplem Linux - Networking 1 04-14-2003 05:17 PM
Can't ping windows machines by hostname explorer Linux - Networking 10 03-06-2003 12:44 PM


All times are GMT -5. The time now is 04:08 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration