2014-05-22 - Re: [GRASE-Hotspot] Re: DHCP addresses and subnet mask

Header Data

From: Drazen <dr***a@radez.hr>
Message Hash: 312befbf13aef9f92799aec76560688c5aadd08c4bbccfb738360fdda9c8945d
Message ID: <537E748F.4010305@radez.hr>
Reply To: <5cf81502-632f-4ffb-a9f6-250a1e38cf21@grasehotspot.org>
UTC Datetime: 2014-05-22 15:05:03 UTC
Raw Date: Fri, 23 May 2014 00:05:03 +0200

Raw message

Have you checked at all IP calculator I wrote a link for you?

Lets clear some terminology.

You wrote: "Grase WAN IP 108.58.119.14 255.255.255.248 (public IP)"

WAN means "Wide Area Network". Usually belong to up network level. 
Internet is definitely WAN example.
Unless you have Grase box equipped with ADSL modem or cable modem acting 
as primary NIC, Grase can't have any public IP assigned to any of two NICs.
Guess you mean on WLAN which usually belongs to Grase Network where we 
usually let users connect trough the grase. And this network is DHCP 
controlled by CovaChilli on Grase and has predefined A class 10.1.0.1 
and mask 255.255.255.0  (254 nodes avail.)

I do not recommend you to change this unless you are familiar with Linux 
networking.

Grase doing routing from WLAN side to LAN side where your internet 
router sits and control this sub-net which is in most case C class 
private range 192.168.x.x. as you wrote it is.
But here, net-mask 255.255.252.0 is not allowed. See calculator page.
Set 255.255.255.0 which gives you  254 nodes available.

Now! How you get another C class sub-net at the router? Why that other 
sub-net


calculator http://www.subnet-calculator.com/




On 05/22/2014 10:45 PM, caceres.james wrote:
> OK
>
> Grase WAN IP 108.58.119.14 255.255.255.248 (public IP)
How you get Public address assigned to Grase? This is impossible.
> LAN 192.168.10.1 255.255.252.0
This mask is not allowed. Also it should be the same as the router: 
255.255.255.0
> DHCP serving .10 addresses
>
> Router
> 192.168.10.9 255.255.255.0
Routers are usually set to 192.168.10.1  but "9" will work too.
> LAN 192.168.205.1 255.255.252.0
This is quite a mystery. Why another C class segment here?
Who is doing routing to this sub-net? Where this sub-net is connected 
to? Again, 252 is not allowed mask for C class.

> DHCP serving .205 addresses
> Turned off NAT
>
> So I know I did something wrong because I could not get the login 
> page.  Turned off DHCP on Router couldn't get an IP.  Could ping the 
> server without issue and router said the Grase box was reachable.
>
> So my plan of centralizing went poof.  I ended up making the grase box 
> customer facing until I could find a solution.
>
> Yes I am not a network guy but I can program some and added a paypal 
> component to grase (not beautiful but works).
>
>
> On Tuesday, May 20, 2014 4:14:31 PM UTC-4, caceres.james wrote:
>
>     Ok lets preface this with I may be retarded but:
>
>     I want to increase the DHCP range so I changed the subnet mask to
>     say 255.255.240.0 (just an example) LAN IP 192.168.10.2
>
>     After the change I could no longer ping the grase box from another
>     router like it cannot see it (router wan IP is using the same
>     subnet mask).
>
>     Change it back to 255.255.255.0 and I can ping it again.
>
>     How can I increase the number of DHCP addresses available?
>
> -- 
> This mailing list is for the Grase Hotspot Project http://grasehotspot.org
> ---
> You received this message because you are subscribed to the Google 
> Groups "Grase Hotspot" group.
> To unsubscribe from this group and stop receiving emails from it, send 
> an email to gr***e@grasehotspot.org 
> <mailto:gr***e@grasehotspot.org>.
> To post to this group, send email to gr***t@grasehotspot.org 
> <mailto:gr***t@grasehotspot.org>.
> Visit this group at 
> http://groups.google.com/a/grasehotspot.org/group/grase-hotspot/.
> To view this discussion on the web visit 
> https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/5cf81502-632f-4ffb-a9f6-250a1e38cf21%40grasehotspot.org 
> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/5cf81502-632f-4ffb-a9f6-250a1e38cf21%40grasehotspot.org?utm_medium=email&utm_source=footer>.


Thread