Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2001 13:54:23 -0800
From:      "Schilling, Richard" <RSchilling@affiliatedhealth.org>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Getting a subnet to see the Internet (plain text)
Message-ID:  <51FCCCF0C130D211BE550008C724149EBE10E4@mail1.affiliatedhealth.org>

next in thread | raw e-mail | index | archive | help
Here's the post in plain text.  Sorry about that!


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 

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?51FCCCF0C130D211BE550008C724149EBE10E4>