From owner-freebsd-questions@FreeBSD.ORG Wed Feb 15 22:46:41 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9090F16A420 for ; Wed, 15 Feb 2006 22:46:41 +0000 (GMT) (envelope-from ian@cerebellum.za.net) Received: from elektra.opteqint.net (elektra.opteqint.net [209.25.178.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A44143D49 for ; Wed, 15 Feb 2006 22:46:38 +0000 (GMT) (envelope-from ian@cerebellum.za.net) Received: from [165.146.68.18] (helo=ianb) by elektra.opteqint.net with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.52 (FreeBSD)) id 1F9VPR-0009YQ-Jy for freebsd-questions@freebsd.org; Wed, 15 Feb 2006 14:46:07 -0800 From: "Ian Barnes" To: Date: Thu, 16 Feb 2006 00:46:33 +0200 Message-ID: <007b01c63281$aebcb310$6400000a@ianb> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Thread-Index: AcYygas6zYGZmvvdTqOvi3BZevBttQ== Subject: Ethernet Stopping Problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Feb 2006 22:46:41 -0000 Hi, I have a freebsd 5.2 box setup as my gateway for my home network. The network is layed out as follows: FreeBSD Gateway - 10.0.0.1/16 ADSL Router - 10.0.0.2/16 DHCP Network - 10.0.1.0 - 10.0.1.254 all /16 with default gateway as .1 I have ppp enabled on the freebsd unit, and it connects fine and then everything works perfectly for anything between 5 and 10 minutes. At this stage, the freebsd machine cant get to the 10.0.1.0 network anymore. It can still ping 10.0.0.2 fine and its connection to the internet remains perfect. It just wont let anyone else come in from anywhere else on the network. It kills all SSH sessions, web sessions etc. I replaced the ifac card with an ed0 card, and also replaced cables and the switch in between. The card in question is both a dc0 and an ed0 card which I have swapped into another PCI port and it still does the same thing there. Below is an ifconfig: ed0: flags=108843 mtu 1500 inet 10.0.0.1 netmask 0xffff0000 broadcast 10.0.255.255 ether 00:c0:df:fa:b8:74 plip0: flags=108810 mtu 1500 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 tun0: flags=8051 mtu 1492 inet 165.x.x.x --> 165.x.x.x netmask 0xffffffff Opened by PID 218 [root@gateway] ~ # Here is a rc.conf: [root@gateway] ~ # cat /etc/rc.conf defaultrouter="10.0.0.2" hostname="gateway.domain.local" ifconfig_ed0="inet 10.0.0.1 netmask 255.255.0.0" saver="logo" sshd_enable="NO" usbd_enable="YES" blanktime="3600" apache2_enable="YES" mysql_enable="YES" sendmail_enable="NONE" gateway_enable="YES" inetd_enable="NO" kern_securelevel_enable="NO" ppp_enable="YES" ppp_nat="YES" ppp_mode="ddial" ppp_profile="dsl1" dhcpd_enable="YES" dhcpd_flags="-q" dhcpd_conf="/usr/local/etc/dhcpd.conf" dhcpd_ifaces="ed0" [root@gateway] ~ # I don't have any sysctl rules in place, and everything else about this unit is standard. I am not running a firewall at this stage and was just wondering what the cause of this problem could be? Cheers Ian