Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Sep 2002 15:20:32 -0500
From:      "Gene Bomgardner" <gene@bomgardner.net>
To:        FreeBSD-net@freebsd.org
Subject:   Gateway not passing packets between interfaces
Message-ID:  <3D7381C0.18427.BE1BB0B@localhost>

next in thread | raw e-mail | index | archive | help

Greetings...
Thanks to those who have replied to this issue. Despite their 
advice, the problem persists.

I have a 4.3 FreeBSD box that has been running as a gateway for 
some time now. Recently, for some reason, it has now stopped 
passing data between nets. physical setup is:

             [ FreeBSD Box]
LAN --> [dc0 <-----> rl0] --> DSL router/modem

dc0 serves subnet 192.168.123
rl0 serves subnet 192.168.1

tcpdump confirms that tcp packets are arriving at the dc0 interface, 
but not leaving rl0. Access directly from the FBSD box to the 
Internet via rl0 works fine. All access from the LAN to FBSD box via 
dc0 works fine as well. packets just don't pass from dc0 to rl0. 

I haven't made any changes lately that I can think of.

Any ideas greatly appreciated. Thanks.

- - - - - - - - system info - - - - - - - - - -

net.inet.ip.forwarding is set to "1"

From /etc/rc.conf:
-----------------------

defaultrouter="192.168.1.1"
hostname="brightstar.ath.cx"
ifconfig_rl0="inet 192.168.1.2  netmask 255.255.255.252"
ifconfig_dc0="inet 192.168.123.8 netmask 255.255.255.0"
inetd_enable="YES"
kern_securelevel_enable="NO"
sendmail_enable="YES"
sshd_enable="YES"
# -- sysinstall generated deltas -- #
kern_securelevel="1"
kern_securelevel_enable="NO"
router_flags="-q"
router="routed"
router_enable="NO"
gateway_enable="YES"
named_enable="No"



Netstat -r output :
-----------------------

Routing tables

Internet:
Destination   Gateway       Flags     Refs     Use     Netif 
default       192.168.1.1   UGSc        7      222      rl0
localhost     localhost          UH          1       21      lo0
192.168.1     link#2             UC          0        0      rl0 =>
192.168.123   link#1             UC          0        0    dc0 =>


ifconfig output:
-----------------

dc0: 
flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 
mtu 1500
	inet 192.168.123.8 netmask 0xffffff00 broadcast  
192.168.123.255
	inet6 fe80::204:5aff:fe69:460c%dc0 prefixlen 64 scopeid 
0x1 
	ether 00:04:5a:69:46:0c 
	media: autoselect (100baseTX <full-duplex>) status: active
	supported media: autoselect 100baseTX <full-duplex> 
100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP none


rl0: 
flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 
mtu 1500
	inet 192.168.1.2 netmask 0xffffff00 broadcast 
192.168.1.255
	inet6 fe80::250:bfff:fe3f:526d%rl0 prefixlen 64 scopeid 0x2 
	ether 00:50:bf:3f:52:6d 
	media: autoselect (none) status: active
	supported media: autoselect 100baseTX <full-duplex> 
100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX 
<hw-loopback>



God's Blessings,
Gene

To everything there is a season, and a time to every 
purpose under heaven.    Ecl 3:1 - 
and more recently, The Byrds



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D7381C0.18427.BE1BB0B>