Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 2013 05:13:53 -0700 (PDT)
From:      Unga <unga888@yahoo.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Which is the public interface to use for ipfw when lagg(4)?
Message-ID:  <1372162433.20015.YahooMailNeo@web161901.mail.bf1.yahoo.com>

Next in thread | Raw E-Mail | Index | Archive | Help
Hi all=A0=0A=0AMy server runs FreeBSD 9.0 (i386).=0A=0A/etc/rc.conf shows:=
=0A#=0Acloned_interfaces=3D"lagg0 lagg1"=0A#=0Aifconfig_em0=3D"up"=0Aifconf=
ig_em2=3D"up"=0Aifconfig_lagg0=3D"laggproto lacp laggport em0 laggport em2"=
=0Aipv4_addrs_lagg0=3D"someIP/26"=0A#=0Aifconfig_em1=3D"up"=0Aifconfig_em3=
=3D"up"=0Aifconfig_lagg1=3D"laggproto lacp laggport em1 laggport em3"=0Aipv=
4_addrs_lagg1=3D"publicIP1/29 publicIP2/32"=0A=0A=0AThe server is publicly =
accessed using publicIP1 and publicIP2.=0A=0A=0AIn the ipfw rules:=0Acmd=3D=
"ipfw -q add"=0Apif=3D"???"=0A=0A# Allow out ping=0A$cmd 00100 allow icmp f=
rom any to any out via $pif keep-state=0A=0A=0AWhat is the interface should=
 I use for the pif? Is it lagg1?=0A=0ABest regards=0AUnga



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?1372162433.20015.YahooMailNeo>