Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jun 2005 02:36:39 +0400 (MSD)
From:      .@babolo.ru
To:        dnr <dnr@freemail.lt>
Cc:        freebsd-net@freebsd.org
Subject:   Re: ipfw2 question
Message-ID:  <1120084599.354789.23455.nullmailer@cicuta.babolo.ru>
In-Reply-To: <03ce01c57c81$1b980460$9f90a8c0@DONATAS>

next in thread | previous in thread | raw e-mail | index | archive | help
[ Charset ISO-8859-4 unsupported, converting... ]
> hello,
> i'm solving such a problem:
> router with 3 eth i-faces:
> 
> em0(vlan10)
>                     (vlan1000)fxp0
> em1(vlan11)
> 
> I need to split traffic into two pipes
> pipe1 from vlan10 to vlan1000
> pipe2 from vlan11 to vlan1000
> 
> fxp side supplys traffic to many different subnets
> em0 is trunk to the world networks
> em1 is trunk to the national networks
> so I cannot write these rules in IP level....
> 
> doing it in the following way doesn't works...
> ipfw add pipe1 pass all from any to any via vlan10 in recv vlan1000
> ipfw add pipe1 pass all from any to any via vlan10 out xmit vlan1000
ipfw add pipe 1 ip from any to any out recv vlan10 xmit vlan1000
ipfw add pipe 2 ip from any to any out recv vlan11 xmit vlan1000

or may be better (not exact your ask)

ipfw add pipe 1 ip from any to any in recv vlan10
ipfw add pipe 2 ip from any to any in recv vlan11





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1120084599.354789.23455.nullmailer>