Networking Forums

Networking Forums > Computer Networking > Linux Networking > CIDR Shorthand Question

Reply
Thread Tools Display Modes

CIDR Shorthand Question

 
 
Michael Ruebner
Guest
Posts: n/a

 
      03-18-2006, 05:03 PM
Hi,

How do I correctly short-hand a block of IP addresses ranging from
xxx.xxx.xxx.105 to .110? My ISP provided a netmask of 255.255.255.248,
which I assume translates into xxx.xxx.xxx.105/29. However, shouldn't that
be /27?

Any input greatly appreciated.

Mike


 
Reply With Quote
 
 
 
 
Uli Wachowitz
Guest
Posts: n/a

 
      03-18-2006, 06:39 PM
Michael Ruebner <(E-Mail Removed)> wrote:

> Hi,
>
> How do I correctly short-hand a block of IP addresses ranging from
> xxx.xxx.xxx.105 to .110? My ISP provided a netmask of 255.255.255.248,
> which I assume translates into xxx.xxx.xxx.105/29. However, shouldn't that
> be /27?
>
> Any input greatly appreciated.
>
> Mike


why /27? Who says this?

248 in binary is 11111

decimal 255.255.255.248
binary 11111111 11111111 11111111 11111000

so /29 is correct

or am i too drunk to understand your question?

--
I once played poker with tarot cards.
I got a full house and four people died.

 
Reply With Quote
 
Uli Wachowitz
Guest
Posts: n/a

 
      03-18-2006, 08:35 PM
Michael Ruebner <(E-Mail Removed)> wrote:

> Hi,
>
> How do I correctly short-hand a block of IP addresses ranging from
> xxx.xxx.xxx.105 to .110? My ISP provided a netmask of 255.255.255.248,
> which I assume translates into xxx.xxx.xxx.105/29. However, shouldn't that
> be /27?
>
> Any input greatly appreciated.
>
> Mike


why /27? Who says this?

248 in binary is 11111000

decimal 255.255.255.248
binary 11111111 11111111 11111111 11111000

so /29 is correct

or am i too drunk to understand your question?

--
I once played poker with tarot cards.
I got a full house and four people died.

 
Reply With Quote
 
Tauno Voipio
Guest
Posts: n/a

 
      03-18-2006, 08:41 PM
Michael Ruebner wrote:
> Hi,
>
> How do I correctly short-hand a block of IP addresses ranging from
> xxx.xxx.xxx.105 to .110? My ISP provided a netmask of 255.255.255.248,
> which I assume translates into xxx.xxx.xxx.105/29. However, shouldn't that
> be /27?



You got already the proper mask in another response.

The network covers actually addresses from x.x.x.104 to x.x.x.111,
where the .104 address is the network address and the .111 address
is the local area broadcast address.

The proper CIDR is x.x.x.104/29.

--

Tauno Voipio
tauno voipio (at) iki fi
 
Reply With Quote
 
Michael Ruebner
Guest
Posts: n/a

 
      03-18-2006, 11:38 PM
Uli Wachowitz:

> so /29 is correct
>
> or am i too drunk to understand your question?


Hey, I can definitely relate to that approach ;-) Tauno cleared it up for
me. And, no, you weren't too drunk. I just missed a couple of classes at
school...

Thanks to you both.

Bests,

Mike
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS -- reverse zone delegation on a CIDR subnet Vwaju Linux Networking 9 11-21-2008 11:06 AM
route add don't support CIDR route add �支�CIDR Windows Networking 2 02-15-2006 02:05 AM
Subnet, supernet and cidr calculator Clive Network Routers 3 11-03-2004 04:03 PM
C code for CIDR comparison Jem Berkes Linux Networking 1 02-14-2004 07:04 AM
Help with CIDR notation Siddharth Mathur Linux Networking 2 09-08-2003 04:10 PM



1 2 3 4 5 6 7 8 9 10 11