From owner-freebsd-questions Fri Dec 10 18:53:54 1999 Delivered-To: freebsd-questions@freebsd.org Received: from bh.mbn.or.jp (bh.mbn.or.jp [202.217.0.65]) by hub.freebsd.org (Postfix) with ESMTP id 797FF14F26 for ; Fri, 10 Dec 1999 18:53:48 -0800 (PST) (envelope-from mimiandi@bh.mbn.or.jp) Received: from kayo (cse10-74.machida.mbn.or.jp [202.217.28.190]) by bh.mbn.or.jp (8.9.1a/bh.mbn.or.jp-2.0) with SMTP id LAA22170 for ; Sat, 11 Dec 1999 11:53:45 +0900 (JST) Message-ID: <001901bf4384$225b0e00$0301010a@kayo> From: "Kayo" To: Subject: Gateway with two real IPs? Date: Sat, 11 Dec 1999 12:02:16 +0900 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0015_01BF43CF.914E9200" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0015_01BF43CF.914E9200 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit Hi, I am trying to set up gateway using FreeBSD. I aleady enable Gateway_enable to yes and set sysctl -w net.inet.ip.fastforwaring=1 I am trying to do this with two real ips (both on same network) since my network uses only real ips. Here is how my nics are set up in FreeBSD % ifconfig -a fxp0: flags=8843 mtu 1500 inet *.*.*.3 netmask 0xffffff80 broadcast *.*.*.127 ether 00:a0:c9:ca:ac:df media: autoselect (10baseT/UTP) status: active supported media: autoselect 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP fxp1: flags=8843 mtu 1500 inet *.*.*.4 netmask 0xffffffff broadcast *.*.*.127 ether 00:90:27:66:da:7a media: autoselect (10baseT/UTP) status: active supported media: autoselect 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP First Nic in FreeBSD goes to the hub that is connected to the router and Second Nic in FreeBSD goes to the hub that is connecting the network. Here is the topology of the network. internet - router - hub - freebsd - hub - network Any help is appreciated Thanks in advance. ------=_NextPart_000_0015_01BF43CF.914E9200 Content-Type: text/html; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable
 Hi, 
 
 I am trying to set up gateway using FreeBSD.=20
 I aleady enable Gateway_enable to yes =
 and set sysctl -w = net.inet.ip.fastforwaring=3D1=20
 
 I am trying to do this with two real=20 ips
 (both on same network) since my=20 network uses
  only real ips. 
 
  Here is how my nics are set up in = FreeBSD
  
  % ifconfig -a
fxp0:=20 flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu=20 1500
        inet *.*.*.3 netmask=20 0xffffff80 broadcast = *.*.*.127
       =20 ether 00:a0:c9:ca:ac:df
        = media:=20 autoselect (10baseT/UTP) status:=20 active
        supported media: = autoselect=20 100baseTX <full-duplex> 100baseTX 10baseT/UTP <full-duplex>=20 10baseT/UTP
fxp1: = flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>=20 mtu 1500
        inet *.*.*.4 = netmask=20 0xffffffff broadcast = *.*.*.127
       =20 ether 00:90:27:66:da:7a
        = media:=20 autoselect (10baseT/UTP) status:=20 active
        supported media: = autoselect=20 100baseTX <full-duplex> 100baseTX 10baseT/UTP <full-duplex>=20 10baseT/UTP
 First Nic in FreeBSD = goes to=20 the  hub that is connected
 to the router and Second Nic in FreeBSD goes = to=20
 the hub that is connecting the network. =
 
 
Here is the topology of the network.
 
internet - router - hub - freebsd - hub - = network
 
Any help is appreciated
 
Thanks in advance.
 
 
 
------=_NextPart_000_0015_01BF43CF.914E9200-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message