Date: Wed, 28 Feb 2001 13:51:41 -0800 From: "Schilling, Richard" <RSchilling@affiliatedhealth.org> To: freebsd-questions@FreeBSD.ORG Subject: Getting a subnet to see the Internet. Message-ID: <51FCCCF0C130D211BE550008C724149EBE10E3@mail1.affiliatedhealth.org>
next in thread | raw e-mail | index | archive | help
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0A1D0.A20BB680 Content-Type: text/plain; charset="iso-8859-1" I've searched questions archives, and didn't see what I was looking for, so here it goes . . . I have two interfaces on my FreeBSD box. The box is being set up to act as a gateway between the networks 10.2.x.x and 10.155.155.x, but I cannot seem to get packets from 10.155.155.x sent onto the 10.2.x.x network. The gateway can see the Internet just fine through the 10.2.x.x. Do I need to run natd, or routed, or is there just something more simple I need to do? Here's "ifconfig -a" output and below that is the output for "netstat -r" : fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 10.2.33.19 netmask 0xffff0000 broadcast 10.2.255.255 ether 00:a0:c9:13:f7:8e 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 10.155.155.1 netmask 0xffffff00 broadcast 10.155.155.255 ether 00:a0:c9:21:a0:a6 media: autoselect (10baseT/UTP) status: active supported media: autoselect 100baseTX <full-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500 tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500 sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552 ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet 127.0.0.1 netmask 0xff000000 OUTPUT FOR netstat -r Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 10.2.0.1 UGSc 3 838 fxp0 10.2/16 link#1 UC 0 0 fxp0 10.2.0.1 0:0:a2:c3:69:93 UHLW 3 0 fxp0 735 unpo1388.affiliate 0:a4:0:80:d2:9c UHLW 0 1 fxp0 1051 10.155.155/24 link#2 UC 0 0 fxp1 localhost localhost UH 1 27 lo0 Thanks! Richard Schilling ------_=_NextPart_001_01C0A1D0.A20BB680 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2653.12"> <TITLE>Getting a subnet to see the Internet.</TITLE> </HEAD> <BODY> <P><FONT SIZE=3D2>I've searched questions archives, and didn't see what = I was looking for, so here it goes . . . </FONT> </P> <P><FONT SIZE=3D2>I have two interfaces on my FreeBSD box. The = box is being set up to act as a gateway between the networks 10.2.x.x = and 10.155.155.x, but I cannot seem to get packets from 10.155.155.x = sent onto the 10.2.x.x network. The gateway can see the Internet = just fine through the 10.2.x.x. </FONT></P> <P><FONT SIZE=3D2>Do I need to run natd, or routed, or is there just = something more simple I need to do?</FONT> </P> <P><FONT SIZE=3D2>Here's "ifconfig -a" output and below that = is the output for "netstat -r" :</FONT> </P> <P><FONT SIZE=3D2>fxp0: = flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu = 1500</FONT> <BR> <FONT SIZE=3D2>inet = 10.2.33.19 netmask 0xffff0000 broadcast 10.2.255.255</FONT> <BR> <FONT SIZE=3D2>ether = 00:a0:c9:13:f7:8e </FONT> <BR> <FONT SIZE=3D2>media: = autoselect (10baseT/UTP) status: active</FONT> <BR> <FONT SIZE=3D2>supported = media: autoselect 100baseTX <full-duplex> 100baseTX 10baseT/UTP = <full-duplex> 10baseT/UTP</FONT> <BR><FONT SIZE=3D2>fxp1: = flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu = 1500</FONT> <BR> <FONT SIZE=3D2>inet = 10.155.155.1 netmask 0xffffff00 broadcast 10.155.155.255</FONT> <BR> <FONT SIZE=3D2>ether = 00:a0:c9:21:a0:a6 </FONT> <BR> <FONT SIZE=3D2>media: = autoselect (10baseT/UTP) status: active</FONT> <BR> <FONT SIZE=3D2>supported = media: autoselect 100baseTX <full-duplex> 100baseTX 10baseT/UTP = <full-duplex> 10baseT/UTP</FONT> <BR><FONT SIZE=3D2>lp0: = flags=3D8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500</FONT> <BR><FONT SIZE=3D2>tun0: flags=3D8010<POINTOPOINT,MULTICAST> mtu = 1500</FONT> <BR><FONT SIZE=3D2>sl0: flags=3Dc010<POINTOPOINT,LINK2,MULTICAST> = mtu 552</FONT> <BR><FONT SIZE=3D2>ppp0: flags=3D8010<POINTOPOINT,MULTICAST> mtu = 1500</FONT> <BR><FONT SIZE=3D2>lo0: = flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384</FONT> <BR> <FONT SIZE=3D2>inet = 127.0.0.1 netmask 0xff000000 </FONT> </P> <BR> <BR> <P><FONT SIZE=3D2>OUTPUT FOR netstat -r </FONT> </P> <P><FONT SIZE=3D2>Routing tables</FONT> </P> <P><FONT SIZE=3D2>Internet:</FONT> <BR><FONT = SIZE=3D2>Destination = Gateway  = ; Flags Refs = Use Netif Expire</FONT> <BR><FONT = SIZE=3D2>default &n= bsp; = 10.2.0.1 = UGSc = 3 838 fxp0</FONT> <BR><FONT = SIZE=3D2>10.2/16 &n= bsp; = link#1 = UC = 0 0 = fxp0</FONT> <BR><FONT = SIZE=3D2>10.2.0.1 &= nbsp; 0:0:a2:c3:69:93 = UHLW = 3 0 = fxp0 735</FONT> <BR><FONT SIZE=3D2>unpo1388.affiliate 0:a4:0:80:d2:9c = UHLW = 0 1 = fxp0 1051</FONT> <BR><FONT SIZE=3D2>10.155.155/24 = link#2 = UC = 0 0 = fxp1</FONT> <BR><FONT = SIZE=3D2>localhost = localhost = UH = 1 27 = lo0</FONT> </P> <BR> <BR> <P><FONT SIZE=3D2>Thanks!</FONT> </P> <P><FONT SIZE=3D2>Richard Schilling</FONT> </P> </BODY> </HTML> ------_=_NextPart_001_01C0A1D0.A20BB680-- 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?51FCCCF0C130D211BE550008C724149EBE10E3>