From owner-FreeBSD-users-jp@jp.FreeBSD.org Fri Aug  3 11:46:44 2007
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id l732kil76663;
	Fri, 3 Aug 2007 11:46:44 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from icarus.webserversystems.com (icarus.webserversystems.com [209.59.158.2])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id l732khB76658
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Fri, 3 Aug 2007 11:46:44 +0900 (JST)
	(envelope-from hiroaki@sakuma.ne.jp)
Received: from shichi.noc1.bitcoffee.net ([203.141.150.39] helo=sakuma.ne.jp)
	by icarus.webserversystems.com with esmtpa (Exim 4.63)
	(envelope-from <hiroaki@sakuma.ne.jp>)
	id 1IGnBS-0001CS-KW
	for FreeBSD-users-jp@jp.FreeBSD.org; Thu, 02 Aug 2007 22:46:35 -0400
From: Hiroaki Sakuma <hiroaki@sakuma.ne.jp>
To: FreeBSD-users-jp@jp.FreeBSD.org
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
X-Mailer: HidemaruMail 4.75
In-Reply-To: <46B1CE94.40703@csg.is.titech.ac.jp>
References: <86tzri1l2f.wl%reo@iic.hokudai.ac.jp> <46B1CE94.40703@csg.is.titech.ac.jp>
Message-Id: <FFC7D5787F9904hiroaki@sakuma.ne.jp>
X-Antivirus-Scanner: This message has been scanned by ClamAV.
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - icarus.webserversystems.com
X-AntiAbuse: Original Domain - jp.freebsd.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - sakuma.ne.jp
X-Source: 
X-Source-Args: 
X-Source-Dir: 
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
Date: Fri, 03 Aug 2007 11:46:31 +0900
X-Sequence: FreeBSD-users-jp 90897
Subject: [FreeBSD-users-jp 90897] Re: [Q] jail routing
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: hiroaki@sakuma.ne.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+060209

$B:45W4V$G$9!%(B


host $BB&$K!$(B192.168.0.2 $B$,B0$9$k%M%C%H%o!<%/$O@Z$C$F$"$k$N$G$7$g$&$+!%(B
($BNc$($P!$(B192.168.0.1/24 $B$J$I(B)

$B$3$N?^$@$H!$(Bbge0 $B$N(B alias $B$H$7$F!$(B192.168.0.2/32 $B$7$+L5$$$N$G!$?dB,$G$9$,(B...$B!%(B


$B<j85$N4D6-$@$H!$(B

        em0+------+em0 alias            em0 alias+------+
-----------+ host +------------------------------+ jail +
203.141.a.b+------+192.168.0.1/24  192.168.0.2/32+------+

$B$H$$$&9=@.$G!$$A$c$s$H;H$($F$^$9!%EvA3!$30$+$i$N%"%/%;%9$N>l9g$O!$(Bhost $B$N(B natd 
$B$,I,MW$G$9$,!%(B


> Hiroki Kashiwazaki wrote:
> > $B0J2<$N$h$&$J4D6-$r9=C[$7$?$b$N$N!$(Bjail/www $B$+$i30$X$NDL?.(B (DNS$B$r0z$/(B
> > $B$J$I(B) $B$,=PMh$^$;$s!%(Broute $B$N5,B'$,EjF~$5$l$F$$$J$$$;$$(B ?
> > 
> > <- the Internet
> >       bge0 +--------+ bge0 alias      +----------+
> > -----------+  host  +-----------------+ jail/www |
> > 133.87.a.b +--------+     192.168.0.2 +----------+
> 
> $B%k!<%F%#%s%0$O860x$G$J$$$H;W$$$^$9!#(B
> $B3N$+%k!<%F%#%s%0%F!<%V%k$O%[%9%H$H6&M-$7$F$$$k$H;W$$$^$9!#(B
> 
> $BAGKQ$K5?Ld$K;W$&$s$G$9$,!"(BNAT$B$7$F$^$9$+!)(B
> bge0$B$G(Btcpdump$B$7$F8+$F$_$k$H(B192.168.0.2$B$+$i30It$K8~$+$C$F(B
> $BDL?.$7$h$&$H$7$F$$$^$;$s$+!)(B



=====================
Hiroaki Sakuma
 hiroaki@sakuma.ne.jp
