Networking Forums

Networking Forums > Computer Networking > Linux Networking > Private IP Addressing

Reply
Thread Tools Display Modes

Private IP Addressing

 
 
E.C.
Guest
Posts: n/a

 
      07-14-2003, 07:00 PM
I would just like to know if the private IP addresses can be used with
any subnet mask. i.e. can I take the 10.0.0.0 IP range and subnet it
with 255.255.255.248.

Thanks for any assistance!
 
Reply With Quote
 
 
 
 
Lew Pitcher
Guest
Posts: n/a

 
      07-14-2003, 07:41 PM
On 14 Jul 2003 12:00:41 -0700, (E-Mail Removed) (E.C.) wrote:

>I would just like to know if the private IP addresses can be used with
>any subnet mask.


Not /any/ subnet mask. You have to use a subnet mask of at least 255.0.0.0 for
the 10.0.0.0/8 private range

>i.e. can I take the 10.0.0.0 IP range and subnet it
>with 255.255.255.248.


You certainly can use 255.255.255.248 as your subnet mask. This would give you a
subnet of eight IP addresses, of which one would be used to placehold for the
subnet address (the "all host bits zero" address), and a second would be used as
the subnet broadcast address (the "all host bits one" address). This would leave
you with six IP addresses on the subnet that can be assigned to hosts.

>Thanks for any assistance!


--
Lew Pitcher
IT Consultant, Enterprise Technology Solutions
Toronto Dominion Bank Financial Group

(Opinions expressed are my own, not my employers')
 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      07-14-2003, 09:00 PM
E.C. wrote:

> I would just like to know if the private IP addresses can be used with
> any subnet mask. i.e. can I take the 10.0.0.0 IP range and subnet it
> with 255.255.255.248.
>
> Thanks for any assistance!


Those "private" (RFC1918) addresses work just like any other IP address,
except they're not supposed to be passed over the Internet.

--

Fundamentalism is fundamentally wrong.

To reply to this message, replace everything to the left of "@" with
james.knott.
 
Reply With Quote
 
David Efflandt
Guest
Posts: n/a

 
      07-15-2003, 12:19 AM
On 14 Jul 2003 12:00:41 -0700, E.C. <(E-Mail Removed)> wrote:
> I would just like to know if the private IP addresses can be used with
> any subnet mask. i.e. can I take the 10.0.0.0 IP range and subnet it
> with 255.255.255.248.


You can use any netmask for any IP as long as you use the proper network
and broadcast address for the IP and chosen netmask within that network.

I am using a 255.255.255.248 netmask for my wireless subnet proxy_arp'd to
my main 255.255.255.0 LAN within the 172.16.x.x-172.32.x.x range, which in
the old days would have used a default 255.255.0.0 netmask. The proxy_arp
helps any main LAN boxes (and my broadband router) find wireless IPs
without requiring a gateway to them, but wireless does not see netbios
broadcasts from the main LAN since its broadcast address is different.
But blocking netbios broadcasts from being broadcast over wireless was one
of my goals.

--
David Efflandt - All spam ignored http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
 
Reply With Quote
 
E.C.
Guest
Posts: n/a

 
      07-15-2003, 03:18 PM
(E-Mail Removed) (E.C.) wrote in message news:<(E-Mail Removed). com>...
> I would just like to know if the private IP addresses can be used with
> any subnet mask. i.e. can I take the 10.0.0.0 IP range and subnet it
> with 255.255.255.248.
>
> Thanks for any assistance!



I would like to thank everyone for their help. I was confused about
how the subnet mask could affect the ip address's classification of
reserved for private network use. I wanted to make sure that I was not
using a public IP address. Thanks!
 
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
IP Addressing Leo Windows Networking 2 04-01-2009 01:50 PM
Masquerading private LAN to private ip entpneur@gmail.com Linux Networking 1 12-31-2007 02:39 AM
How do I disable Automatic Private IP Addressing on multiple machines? Sean Windows Networking 3 09-15-2006 05:47 PM
ip addressing Scott Wireless Internet 3 06-27-2004 04:47 AM
auto private IP addressing thudd Linux Networking 3 01-12-2004 09:21 AM



1 2 3 4 5 6 7 8 9 10 11