From owner-freebsd-questions Wed Mar 31 16:58: 1 1999 Delivered-To: freebsd-questions@freebsd.org Received: from gaia.euronet.nl (gaia.euronet.nl [194.134.0.10]) by hub.freebsd.org (Postfix) with ESMTP id A1EA914DB1 for ; Wed, 31 Mar 1999 16:57:55 -0800 (PST) (envelope-from roelof@eboa.com) Received: from charon.eboa.com (n669.telekabel.euronet.nl [194.134.130.170]) by gaia.euronet.nl (8.8.8/8.8.8) with ESMTP id CAA09089; Thu, 1 Apr 1999 02:57:32 +0200 (MET DST) Received: from eboa.com (roelof [10.0.0.2]) by charon.eboa.com (8.8.8/8.8.8) with ESMTP id CAA00227; Thu, 1 Apr 1999 02:57:30 +0200 Message-ID: <3702C502.4BB53D29@eboa.com> Date: Thu, 01 Apr 1999 02:59:46 +0200 From: Roelof Osinga Organization: eboa - engineering buro Office Automation X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Jeff Fisher Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Routing probs. References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jeff Fisher wrote: > > Ok, I know I've made some stupid mistake, but I can't figure it out. > > I have two interfaces in a box. One is on the internal network, and > ... > When I try to ping from the external interface, I get host down messages. When I > try to ping from an external box to the external interface, I get the same messages. > I doubt it's the interface, since I used ed0 as the only interface when I first set > up the box. Alas, no help. Instead I got the very same problem you do. I even swapped NICs to eliminate hardware problems. n669:~$ uname -a FreeBSD n669.telekabel.euronet.nl 3.1-STABLE FreeBSD 3.1-STABLE #3: Thu Apr 1 0 2:03:17 CEST 1999 toor@n669.telekabel.euronet.nl:/usr/src/sys/compile/FORSET I i386 rc.conf: gateway_enable="YES" network_interfaces="ep0 ep1 lo0" #network_interfaces="ep0 le0 lo0" ifconfig_ep0="inet 10.0.0.55 netmask 255.255.255.0" ifconfig_ep1="inet 194.134.130.170 netmask 255.255.252.0" #ifconfig_le0="inet 194.134.130.170 netmask 255.255.252.0" #defaultrouter="10.0.0.10" defaultrouter="194.134.128.1" #hostname="forseti.eboa.com" hostname="n669.telekabel.euronet.nl" n669:~$ ifconfig -a ep0: flags=8843 mtu 1500 inet 10.0.0.55 netmask 0xffffff00 broadcast 10.0.0.255 ether 00:60:97:14:31:a7 ep1: flags=8843 mtu 1500 inet 194.134.130.170 netmask 0xfffffc00 broadcast 194.134.131.255 ether 00:60:97:e4:98:db lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 n669:~$ netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 10/24 link#1 UC 0 0 ep0 10.0.0.2 0:80:1e:0:1:68 UHLW 4 432 ep0 1172 127.0.0.1 127.0.0.1 UH 0 0 lo0 194.134.128 194.134.128.1 UGSc 0 0 ep1 => 194.134.128/22 link#2 UC 0 0 ep1 194.134.128.1 link#2 UHLW 1 4 ep1 IPX: Destination Gateway Flags Refs Use Netif Expire In my case it's the ep1 that's the NIC to the outside. Though I have compiled with firewalling enabled, I did gave: options IPFIREWALL #firewall options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default options IPDIVERT #divert sockets options IPFILTER #kernel ipfilter support and have disabled the rc.conf.local and with natd et al. The NIC is up and the cablemodem it's attached to shows the correct LEDs. Also n669:~$ route get gate.way route to: gate.way destination: gate.way interface: ep1 flags: recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire 0 0 0 0 0 0 1500 -586 the routing seems to be in order. Still it refuses to do anything useful. > Help!!!! Ditto. Roelof -- Home is where the (@) http://eboa.com/ is. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message