From owner-freebsd-questions Sat Nov 9 2:23:27 2002 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 998C937B476 for ; Sat, 9 Nov 2002 02:23:21 -0800 (PST) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id D0F7743E88 for ; Sat, 9 Nov 2002 02:23:19 -0800 (PST) (envelope-from neuhauser@bellavista.cz) Received: (qmail 2567 invoked from network); 9 Nov 2002 10:23:12 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 9 Nov 2002 10:23:12 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 6839C2FDAB5; Sat, 9 Nov 2002 11:23:09 +0100 (CET) Date: Sat, 9 Nov 2002 11:23:09 +0100 From: Roman Neuhauser To: freebsd-questions Subject: problems getting 4.7-STABLE gateway to behave Message-ID: <20021109102309.GA3446@freepuppy.bellavista.cz> Mail-Followup-To: freebsd-questions Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi there, I have a problem getting routing on a freshly cvsupped STABLE box work as I need. No surprise, given that I'm not much of a network person, and this is the first time I'm doing something like that. A picture is worth a thousand words... internet | v eth0/12.34.56.78 linux (NAT) eth1/10.1.0.200 | hub 1 -> Freepuppy de0/10.1.0.10 | v vx0/10.1.0.1 Lilith ep0/10.0.0.1 | hub 2 | v rl0/10.1.0.25 Ishtar Lilith, Freepuppy, and that Linux box (called "fw") can ping each other w/o problems. Ishtar can ping (and be pinged by) the windows boxes in the same hub. The problem is that nothing gets from Lilith to the other side of hub 2, nor the other way around. It's not the cable (tried a few). It's not the hub (tried two or three). It's not the ep0 nic in Lilith (tried switching the ip's). What the fsck is it? lilith# uname -a FreeBSD lilith.bellavista.cz 4.7-STABLE FreeBSD 4.7-STABLE #1: Sat Nov 9 01:38:03 CET 2002 roman@freepuppy.bellavista.cz:/usr/obj/usr/src/sys/LILITH_2 i386 lilith# sysctl net.inet.ip.forwarding net.inet.ip.forwarding: 1 lilith# ifconfig vx0: flags=8843 mtu 1500 inet 10.1.0.1 netmask 0xffffff00 broadcast 10.1.0.255 ether 00:a0:24:49:54:85 ep0: flags=8843 mtu 1500 inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 ether 00:a0:24:0d:b0:ee media: Ethernet 10baseT/UTP lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 faith0: flags=8002 mtu 1500 lilith# netstat -r Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default fw UGSc 1 0 vx0 10/24 link#2 UC 0 0 ep0 10.1/24 link#1 UC 2 0 vx0 10.1.0.10 00:80:c8:94:aa:c2 UHLW 1 159 vx0 489 fw 00:20:af:34:dc:94 UHLW 1 2 vx0 745 localhost localhost UH 0 0 lo0 -- If you cc me or take the list(s) out completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message