Author Topic: objects with a range of ips  (Read 2715 times)

mcelio

  • Zen Apprentice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
objects with a range of ips
« 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?

jcanfield

  • Zen Monk
  • **
  • Posts: 89
  • Karma: +2/-0
    • View Profile
Re: objects with a range of ips
« Reply #1 on: July 02, 2008, 04:23:06 am »
Like this...

See Screenshots.
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius...and a lot of courage - to move in the opposite direction."  --  Albert Einstein

mcelio

  • Zen Apprentice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: objects with a range of ips
« Reply #2 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?

jcanfield

  • Zen Monk
  • **
  • Posts: 89
  • Karma: +2/-0
    • View Profile
Re: objects with a range of ips
« Reply #3 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
« Last Edit: July 02, 2008, 05:05:23 am by jcanfield »
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius...and a lot of courage - to move in the opposite direction."  --  Albert Einstein

mcelio

  • Zen Apprentice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: objects with a range of ips
« Reply #4 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?

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: objects with a range of ips
« Reply #5 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
My secret is my silence...

mcelio

  • Zen Apprentice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: objects with a range of ips
« Reply #6 on: July 04, 2008, 08:31:29 am »
thanks everyone for your help.

i guess ill make do with whats available.