Date: Sat, 11 Dec 1999 12:02:16 +0900 From: "Kayo" <mimiandi@bh.mbn.or.jp> To: <freebsd-questions@freebsd.org> Subject: Gateway with two real IPs? Message-ID: <001901bf4384$225b0e00$0301010a@kayo>
next in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP fxp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex> 100baseTX 10baseT/UTP <full-duplex> 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 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-2022-jp" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT size=3D2> Hi, </FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2> I am trying to set up gateway using FreeBSD.=20 </FONT></DIV> <DIV><FONT size=3D2> I aleady enable Gateway_enable to yes = </FONT></DIV> <DIV><FONT size=3D2> and set sysctl -w = net.inet.ip.fastforwaring=3D1=20 </FONT></DIV> <DIV><FONT size=3D2></FONT> </DIV> <DIV><FONT size=3D2> I am trying to do this with t</FONT><FONT = size=3D2>wo real=20 ips </FONT></DIV> <DIV><FONT size=3D2> (both on same network) since my=20 network </FONT><FONT size=3D2>uses </FONT></DIV> <DIV><FONT size=3D2> only real ips. </FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2> Here is how my nics are set up in = FreeBSD</FONT></DIV> <DIV><FONT size=3D2> </FONT><FONT size=3D2> </FONT></DIV> <DIV><FONT size=3D2> % ifconfig -a<BR>fxp0:=20 flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu=20 1500<BR> inet *.*.*.3 netmask=20 0xffffff80 broadcast = *.*.*.127<BR> =20 ether 00:a0:c9:ca:ac:df<BR> = media:=20 autoselect (10baseT/UTP) status:=20 active<BR> supported media: = autoselect=20 100baseTX <full-duplex> 100baseTX 10baseT/UTP <full-duplex>=20 10baseT/UTP<BR>fxp1: = flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>=20 mtu 1500<BR> inet *.*.*.4 = netmask=20 0xffffffff broadcast = *.*.*.127<BR> =20 ether 00:90:27:66:da:7a<BR> = media:=20 autoselect (10baseT/UTP) status:=20 active<BR> supported media: = autoselect=20 100baseTX <full-duplex> 100baseTX 10baseT/UTP <full-duplex>=20 10baseT/UTP<BR></FONT></DIV> <DIV><FONT size=3D2> First Nic </FONT><FONT size=3D2>in FreeBSD = goes to=20 the</FONT><FONT size=3D2> hub that is connected </FONT></DIV> <DIV><FONT size=3D2> to the router and Second Nic in FreeBSD goes = to=20 </FONT></DIV> <DIV><FONT size=3D2> the hub that is connecting the network. = </FONT></DIV> <DIV> </DIV> <DIV> </DIV> <DIV><FONT size=3D2>Here is the topology of the network.</FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2>internet - router - hub - freebsd - hub - = network</FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2>Any help is appreciated</FONT></DIV> <DIV> </DIV> <DIV><FONT size=3D2>Thanks in advance.</FONT></DIV> <DIV> </DIV> <DIV> </DIV> <DIV> </DIV></BODY></HTML> ------=_NextPart_000_0015_01BF43CF.914E9200-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001901bf4384$225b0e00$0301010a>