From owner-freebsd-questions Wed Feb 28 13:50:16 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ughmail1.affiliatedhealth.org (mail1.affiliatedhealth.org [209.84.248.71]) by hub.freebsd.org (Postfix) with ESMTP id E6F2B37B719 for ; Wed, 28 Feb 2001 13:49:56 -0800 (PST) (envelope-from RSchilling@affiliatedhealth.org) Received: by mail1.affiliatedhealth.org with Internet Mail Service (5.5.2653.19) id ; Wed, 28 Feb 2001 13:51:43 -0800 Message-ID: <51FCCCF0C130D211BE550008C724149EBE10E3@mail1.affiliatedhealth.org> From: "Schilling, Richard" To: freebsd-questions@FreeBSD.ORG Subject: Getting a subnet to see the Internet. Date: Wed, 28 Feb 2001 13:51:41 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C0A1D0.A20BB680" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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 100baseTX 10baseT/UTP 10baseT/UTP fxp1: flags=8843 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 100baseTX 10baseT/UTP 10baseT/UTP lp0: flags=8810 mtu 1500 tun0: flags=8010 mtu 1500 sl0: flags=c010 mtu 552 ppp0: flags=8010 mtu 1500 lo0: flags=8049 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 Getting a subnet to see the Internet.

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=3D8843<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=3D8843<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=3D8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
tun0: flags=3D8010<POINTOPOINT,MULTICAST> mtu = 1500
sl0: flags=3Dc010<POINTOPOINT,LINK2,MULTICAST> = mtu 552
ppp0: flags=3D8010<POINTOPOINT,MULTICAST> mtu = 1500
lo0: = flags=3D8049<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         &n= bsp;  = 10.2.0.1           = UGSc        = 3      838     fxp0
10.2/16         &n= bsp;  = link#1           =   UC          = 0        0     = fxp0
10.2.0.1         &= nbsp; 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-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message