Re: Ip range

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 16 April 2003 17:22, Philippe Dhont (Sea-ro) wrote:
> Howdy,
>
> I use an IP range 10.60.10.10 and 10.165.10.10 and 192.168.50.10
> With subnet mask 255.255.0.0
> But in my firewall script i have to us 10.60.0.0/8
> And this shows up (off course) as 10.0.0.0 but if i use 10.60.0.0 i get an
> error that this is not right.
> How can i use the correct range so that i get 10.60.0.0 and 10.165.0.0 and
> 192.168.0.0 in my iptables ?
>
Netfilter is fairly simple when it comes to ranges, it follows some rules 
described in the networking concepts howto 
(http://netfilter.org/documentation/HOWTO//networking-concepts-HOWTO.html).

If you wish to use different ranges, then you must tell the netfilter this, 
otherwise it will, quite correctly, return an error.

In your case, you must split up you 10.x.x.x into several ranges, since you 
use a strange setup. Why don't you just simply use the full 10.x.x.x range?

/Kim



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux