Re: Can I subnet my network like this ?

2003-07-30 Thread Jan Grant
On Wed, 30 Jul 2003, [iso-8859-1] Supote Leelasupphakorn wrote:

 Hi, all

I would like to verify my knowledge
 by building the network like below but not
 sure whether it's impossible for subnetting
 like this - say, from Gateway no2, is divided
 to 172.16.0.0/16 and 172.17.0.0/16 subnet.

There should be no problems doing what you suggest.

I heard that it isn't recommend or
 impossible (not sure again) to use FIRST or
 LAST subnet in the allocated IP address pool,
 is it?

This is no longer the case. It stems from (a misunderstanding of?) the
all zeros or all ones network treatment (and by extension, subnets),
but I don't think any kit behaves like that in these CIDR days.  In any
case, 172.16/16 and 172.17/16 are (were) both full class B ranges so
anything broken enough to care ought to behave properly anyway.


-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
Random act of violence against bread: whole pint.
  -- extract from the Hawk the Slayer drinking game

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can I subnet my network like this ?

2003-07-30 Thread Steve Ames
On Wed, Jul 30, 2003 at 01:46:09PM +0100, Supote Leelasupphakorn wrote:
I heard that it isn't recommend or
 impossible (not sure again) to use FIRST or
 LAST subnet in the allocated IP address pool,
 is it?

That was true at one time. These days it is acceptable to use
all definable subnets (including first and last). If you have
some really old (pre 1995) equipment or software it may be a
bit iffy. See RFC1878: ftp://ftp.rfc-editor.org/in-notes/rfc1878.txt
 
   Section no.1 is existed and I own the Gateway no.2.
 My plan is enable NAT on it by following the
 instruction in FreeBSD handbook. Any comments are
 welcome.

If your NATting on gateway#2 I don't think the info about gateway
#1 is really relevent...

|   |
| if_1 = 10.0.0.254 |
   |---| if_2 = 172.16.0.1/16   | section 2
   | Gateway no.2  ||
   |---||
| if_3 = 172.17.0.1/16  |
|   |

Lets go on the assumption that if_1 is your external interface
and the one you'll be running natd on?

I'm afraid I don't understand your question then. The subnetting
is fine. You have a full /16 on interface 2 and 3 (way overkill
for most applications but hey :). All of your interfaces are
utilizing valid RFC1918 private IP space.

It should all just work. *shrug*

-Steve
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Can I subnet my network like this ?

2003-07-30 Thread Max Clark
The only real concern is if you are using cisco routers in this equation. If
so, make sure you enable ip-subnet-zero in the config.

Max

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Supote
Leelasupphakorn
Sent: Wednesday, July 30, 2003 5:46 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Can I subnet my network like this ?


Hi, all

   I would like to verify my knowledge
by building the network like below but not
sure whether it's impossible for subnetting
like this - say, from Gateway no2, is divided
to 172.16.0.0/16 and 172.17.0.0/16 subnet.

   I heard that it isn't recommend or
impossible (not sure again) to use FIRST or
LAST subnet in the allocated IP address pool,
is it?

  Section no.1 is existed and I own the Gateway no.2.
My plan is enable NAT on it by following the
instruction in FreeBSD handbook. Any comments are
welcome.


   |
   | if_1 = 202.xx.xx.xx
  |---||
  | Gateway no.1  || section 1
  |---||
   | if_2 = 10.0.0.1   |
   | 
   |   |
   | if_1 = 10.0.0.254 |
  |---| if_2 = 172.16.0.1/16   | section 2
  | Gateway no.2  ||
  |---||
   | if_3 = 172.17.0.1/16  |
   |   |


Thanks in advance,



Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]