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
[-- Attachment #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 [-- Attachment #2 --] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12"> <TITLE>Getting a subnet to see the Internet.</TITLE> </HEAD> <BODY> <P><FONT SIZE=2>I've searched questions archives, and didn't see what I was looking for, so here it goes . . . </FONT> </P> <P><FONT SIZE=2>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=2>Do I need to run natd, or routed, or is there just something more simple I need to do?</FONT> </P> <P><FONT SIZE=2>Here's "ifconfig -a" output and below that is the output for "netstat -r" :</FONT> </P> <P><FONT SIZE=2>fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500</FONT> <BR> <FONT SIZE=2>inet 10.2.33.19 netmask 0xffff0000 broadcast 10.2.255.255</FONT> <BR> <FONT SIZE=2>ether 00:a0:c9:13:f7:8e </FONT> <BR> <FONT SIZE=2>media: autoselect (10baseT/UTP) status: active</FONT> <BR> <FONT SIZE=2>supported media: autoselect 100baseTX <full-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP</FONT> <BR><FONT SIZE=2>fxp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500</FONT> <BR> <FONT SIZE=2>inet 10.155.155.1 netmask 0xffffff00 broadcast 10.155.155.255</FONT> <BR> <FONT SIZE=2>ether 00:a0:c9:21:a0:a6 </FONT> <BR> <FONT SIZE=2>media: autoselect (10baseT/UTP) status: active</FONT> <BR> <FONT SIZE=2>supported media: autoselect 100baseTX <full-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP</FONT> <BR><FONT SIZE=2>lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500</FONT> <BR><FONT SIZE=2>tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500</FONT> <BR><FONT SIZE=2>sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552</FONT> <BR><FONT SIZE=2>ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500</FONT> <BR><FONT SIZE=2>lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384</FONT> <BR> <FONT SIZE=2>inet 127.0.0.1 netmask 0xff000000 </FONT> </P> <BR> <BR> <P><FONT SIZE=2>OUTPUT FOR netstat -r </FONT> </P> <P><FONT SIZE=2>Routing tables</FONT> </P> <P><FONT SIZE=2>Internet:</FONT> <BR><FONT SIZE=2>Destination Gateway Flags Refs Use Netif Expire</FONT> <BR><FONT SIZE=2>default 10.2.0.1 UGSc 3 838 fxp0</FONT> <BR><FONT SIZE=2>10.2/16 link#1 UC 0 0 fxp0</FONT> <BR><FONT SIZE=2>10.2.0.1 0:0:a2:c3:69:93 UHLW 3 0 fxp0 735</FONT> <BR><FONT SIZE=2>unpo1388.affiliate 0:a4:0:80:d2:9c UHLW 0 1 fxp0 1051</FONT> <BR><FONT SIZE=2>10.155.155/24 link#2 UC 0 0 fxp1</FONT> <BR><FONT SIZE=2>localhost localhost UH 1 27 lo0</FONT> </P> <BR> <BR> <P><FONT SIZE=2>Thanks!</FONT> </P> <P><FONT SIZE=2>Richard Schilling</FONT> </P> </BODY> </HTML>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51FCCCF0C130D211BE550008C724149EBE10E3>
