Re: IP ranges with linux firewalls?

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

 



Jan,

you could try aliasing the first card 14 times, and aliasing the second the 
rest of the net.

Or is this not what you after?



On Wednesday 13 Feb 2002 1:10 pm, Jan Stifter wrote:
> Hello,
>
> On Wed, 13 Feb 2002 18:36:44 +0530, "Dharmendra.T"
>
> <dharmu@nsecure.net> wrote:
> >On Wednesday 13 February 2002 05:18 pm, Jan Stifter wrote:
> >
> >#ifconfig eth0 1.1.1.224
> >#ifconfig eth0:0 1.1.1.223
> >(aliasing the network card)
> >Is this you were looking into?
>
> not really. assume, I have two cards. Both cards are in the same
> C-Net. One card should get the ips 1.2.3.0 up to 1.2.3.15. The other
> card should get the ips 1.2.3.16 up to 1.2.3.254.
>
> So I assign to the first card:
> ifconfig eth0 1.2.3.0 netmask 255.255.255.240
>
> And to the other?
> ifconfig eth1 1.2.3.16 netmask 255.255.255.240
>   -> This would define only 1.2.3.16 up to 1.2.3.31 to the interface.
>
> Any hints are greatly appreciated
> Jan
>
> ------------------------------------------------------------------------
>      To unsubscribe email security-discuss-request@linuxsecurity.com
>          with "unsubscribe" in the subject of the message.
------------------------------------------------------------------------
     To unsubscribe email security-discuss-request@linuxsecurity.com
         with "unsubscribe" in the subject of the message.


[Index of Archives]     [Fedora Announce]     [Linux Crypto]     [Kernel]     [Netfilter]     [Bugtraq]     [USB]     [Fedora Security]

  Powered by Linux