* An Interface with alias
@ 2012-01-20 17:46 Usuário do Sistema
2012-02-01 19:08 ` Andrew Beverley
0 siblings, 1 reply; 4+ messages in thread
From: Usuário do Sistema @ 2012-01-20 17:46 UTC (permalink / raw)
To: Mail List - Netfilter
Hello everyone,
I'm going to add a new Interface in the my firewall iptables Linux Red Hat 5.6.
so... I wonder if is very bad or what can happen when I do alias on a
interface for more the one network. for exemplo:
eth0 has ip 172.16.30.1/30
eth0.1 172.16.30.5/30
eth0.2 172.16.30.9/30
I wish drop any packages between theses network. any traffic between
the network 172.16.30.0/30 and 172.16.30.4/30 must dropped by
iptables.
I'm disabled any filter as follow bellow
for eee in /proc/sys/net/ipv4/conf/*/rp_filter; do
echo 0 > $eee
done
I wonder there is any problem or uninsured with my firewall iptables ?!?!
thanks
I don't know if this is maillist correct if didn't is please tell me
other options
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: An Interface with alias
2012-01-20 17:46 An Interface with alias Usuário do Sistema
@ 2012-02-01 19:08 ` Andrew Beverley
2012-02-01 19:34 ` Usuário do Sistema
0 siblings, 1 reply; 4+ messages in thread
From: Andrew Beverley @ 2012-02-01 19:08 UTC (permalink / raw)
To: Usuário do Sistema; +Cc: Mail List - Netfilter
On Fri, 2012-01-20 at 15:46 -0200, Usuário do Sistema wrote:
> so... I wonder if is very bad or what can happen when I do alias on a
> interface for more the one network. for exemplo:
...
> I wish drop any packages between theses network. any traffic between
> the network 172.16.30.0/30 and 172.16.30.4/30 must dropped by
> iptables.
That sounds a bit messy, and I don't even know if it's possible. Why not
just use multiple physical network interfaces?
Even if you got it working, if the computers on the 2 separate networks
had their netmask incorrectly configured, then you'd get traffic passing
directly between them without even going to the Linux box.
Andy
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: An Interface with alias
2012-02-01 19:08 ` Andrew Beverley
@ 2012-02-01 19:34 ` Usuário do Sistema
2012-02-01 19:51 ` Lloyd Standish
0 siblings, 1 reply; 4+ messages in thread
From: Usuário do Sistema @ 2012-02-01 19:34 UTC (permalink / raw)
To: Andrew Beverley; +Cc: Mail List - Netfilter
Thank you Andy,
Why not just use multiple physical network interfaces?
because shortage of interfaces physical.
Em 1 de fevereiro de 2012 17:08, Andrew Beverley <andy@andybev.com> escreveu:
> On Fri, 2012-01-20 at 15:46 -0200, Usuário do Sistema wrote:
>> so... I wonder if is very bad or what can happen when I do alias on a
>> interface for more the one network. for exemplo:
> ...
>> I wish drop any packages between theses network. any traffic between
>> the network 172.16.30.0/30 and 172.16.30.4/30 must dropped by
>> iptables.
>
> That sounds a bit messy, and I don't even know if it's possible. Why not
> just use multiple physical network interfaces?
>
> Even if you got it working, if the computers on the 2 separate networks
> had their netmask incorrectly configured, then you'd get traffic passing
> directly between them without even going to the Linux box.
>
> Andy
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: An Interface with alias
2012-02-01 19:34 ` Usuário do Sistema
@ 2012-02-01 19:51 ` Lloyd Standish
0 siblings, 0 replies; 4+ messages in thread
From: Lloyd Standish @ 2012-02-01 19:51 UTC (permalink / raw)
To: Andrew Beverley, Usuário do Sistema; +Cc: Mail List - Netfilter
On Wed, 01 Feb 2012 13:34:40 -0600, Usuário do Sistema <maiconlp@ig.com.br> wrote:
> Thank you Andy,
>Why not just use multiple physical network interfaces?
>because shortage of interfaces physical.
I would suggest, then, adding vlan virtual interfaces via a smart switch. Smart switches are now very inexpensive. This will allow multiple network interfaces connected to a single physical interface. I have used this to solve exactly the same problem (shortage of physical NICs.)
--
Lloyd
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-02-01 19:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-20 17:46 An Interface with alias Usuário do Sistema
2012-02-01 19:08 ` Andrew Beverley
2012-02-01 19:34 ` Usuário do Sistema
2012-02-01 19:51 ` Lloyd Standish
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).