Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Aug 2002 09:32:52 -0500
From:      "Gene Bomgardner" <gene@bomgardner.net>
To:        FreeBSD-questions@freebsd.org
Subject:   Gateway not Gatewaying
Message-ID:  <3D708D44.11818.56B9CE@localhost>

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

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.

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_rl0="DHCP"
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-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D708D44.11818.56B9CE>