From owner-freebsd-questions Sun Feb 9 03:55:30 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA12945 for questions-outgoing; Sun, 9 Feb 1997 03:55:30 -0800 (PST) Received: from lib.amu.edu.pl (bogusz@lib.amu.edu.pl [150.254.100.254]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id DAA12940 for ; Sun, 9 Feb 1997 03:55:22 -0800 (PST) Received: (from bogusz@localhost) by lib.amu.edu.pl (8.6.12/8.6.9) id MAA06445; Sun, 9 Feb 1997 12:59:30 +0100 Date: Sun, 9 Feb 1997 12:59:29 +0100 (MET) From: Bogusz Jelinski To: freebsd-questions@freebsd.org Subject: Routing problem with two ethernet cards (2.1.5) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk A couple months ago I configured routing on FBSD 2.1. It worked fine with the following sysconfig: network_interfaces="ed0 ed1 lo0" ifconfig_ed0="inet 150.254.178.65 netmask 255.255.255.192" ifconfig_ed1="inet 150.254.162.217 netmask 255.255.255.252" ifconfig_lo0="inet localhost" static_routes="multicast loopback" route_multicast="224.0.0.0 -netmask 0xf0000000 -interface ${hostname}" route_loopback="${hostname} localhost" defaultrouter="150.254.162.218" routedflags="-q" gateway="YES" gated=NO Unfortunately, my 2.1.5 doesn't want to route. I set it up in the following way: network_interfaces="ed0 ed1 lo0" ifconfig_ed0="inet 150.254.193.33 netmask 255.255.255.240" ifconfig_ed1="inet 150.254.162.150 netmask 255.255.255.240" ifconfig_lo0="inet localhost" static_routes="multicast loopback" route_multicast="224.0.0.0 -netmask 0xf0000000 -interface ${hostname}" route_loopback="${hostname} localhost" defaultrouter="150.254.162.145" router=routed routerflags=-q gateway="YES" My knowledge of TCP/IP is rather limited. Have I made any mistake? Cheers, Bogusz