[ previous ] [ next ] [ threads ]
 
 From:  "Terry Miller" <terry at millfam dot org>
 To:  "'Andrew Greenwood'" <lists at silverblade dot co dot uk>, <m0n0wall at lists dot m0n0 dot ch>
 Subject:  RE: [m0n0wall] Subnets
 Date:  Tue, 7 Sep 2004 21:15:04 -0500
You lose 2 addresses per subnet for the network and broadcast addresses, so
a /30 is 4 addresses with 2 usable. /29 is 8 addresses 6 usable, /28 is 16
addresses 14 usable and so on. As long as the correct network address and
subnet is used there is no problem.
192.168.0.0 mask 255.255.255.248 /29 and
192.168.0.8 mask 255.255.255.252 /30 can coexist.

Get a free subnet calculator for SolarWinds or 3com if you have problems
doing it in your head. (Every one does sometimes).


-----Original Message-----
From: Andrew Greenwood [mailto:lists at silverblade dot co dot uk] 
Sent: Tuesday, September 07, 2004 4:16 PM
To: m0n0wall at lists dot m0n0 dot ch
Subject: [m0n0wall] Subnets


I'm a little confused about something.

Firstly, is it possible to allocate the same IP to WAN and LAN interfaces of
m0n0wall?

At present, my IP config is the following:
192.168.0.1 - m0n0wall LAN interface
192.168.0.3 - my laptop
192.168.0.4 - my desktop
192.168.254.253 - m0n0wall WAN interface
192.168.254.254 - router

The subnet is 255.255.255.0 (or /24) in all cases.

What I'd like to do is allocate a range of IPs in the 192.168.0.x range to
both subnets, rather than having 2.

So something like this would be ideal:
192.168.0.1 - m0n0 WAN
192.168.0.2 - router
192.168.0.4 - m0n0 LAN
192.168.0.5 - desktop
192.168.0.6 - laptop

I understand I'd need to change the subnet, and that I could have
192.168.0.0 - 192.168.0.7 as one network and 192.168.0.8 - 192.168.0.15 as
another.

But can I split the subnets up further, so that I can have 8 IPs in the
first network and just 2 in the next?

Or do they have to be in equal blocks?

If any of this makes sense!!


---------------------------------------------------------------------
To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch
For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch