Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: mcelio on July 02, 2008, 02:22:04 am

Title: objects with a range of ips
Post by: mcelio on July 02, 2008, 02:22:04 am
Is there a way to set up an object with a range of IP's without each ip individually?
Title: Re: objects with a range of ips
Post by: jcanfield on July 02, 2008, 04:23:06 am
Like this...

See Screenshots.
Title: Re: objects with a range of ips
Post by: mcelio on July 02, 2008, 04:32:14 am
so just with an entire subnet?
not say a group like 192.168.1.100 to 192.168.1.200?
Title: Re: objects with a range of ips
Post by: jcanfield on July 02, 2008, 04:58:55 am
so just with an entire subnet?
not say a group like 192.168.1.100 to 192.168.1.200?

Use CIDR notation to block ranges.  192.168.1.0/25 would give you a block of 126 hosts. 
Code: [Select]
HostMin:    192.168.0.1           11000000.10101000.00000000.0 0000001
HostMax:   192.168.0.126         11000000.10101000.00000000.0 1111110

or 192.168.1.128/25...

HostMin:   192.168.0.129         11000000.10101000.00000000.1 0000001
HostMax:   192.168.0.254         11000000.10101000.00000000.1 1111110



http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing
Title: Re: objects with a range of ips
Post by: mcelio on July 04, 2008, 12:08:43 am
what if i want /19? the gui wont let you, is there a file i can edit command line?
Title: Re: objects with a range of ips
Post by: sixstone on July 04, 2008, 08:27:32 am
I'm afraid ebox-objects does not allow range of IP addresses...

I've opened a ticket with this issue [1].

Thanks for your feedback.

[1] http://trac.ebox-platform.com/ticket/1076
Title: Re: objects with a range of ips
Post by: mcelio on July 04, 2008, 08:31:29 am
thanks everyone for your help.

i guess ill make do with whats available.