From owner-freebsd-questions Fri Sep 7 4: 7:26 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f189.pav2.hotmail.com [64.4.37.189]) by hub.freebsd.org (Postfix) with ESMTP id 8490537B401 for ; Fri, 7 Sep 2001 04:07:19 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 7 Sep 2001 04:07:19 -0700 Received: from 147.8.182.207 by pv2fd.pav2.hotmail.msn.com with HTTP; Fri, 07 Sep 2001 11:07:19 GMT X-Originating-IP: [147.8.182.207] From: "Wing Tim" To: freebsd-questions@FreeBSD.ORG Subject: Problems about routing Date: Fri, 07 Sep 2001 19:07:19 +0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 07 Sep 2001 11:07:19.0533 (UTC) FILETIME=[42E561D0:01C1378D] 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 Hello, I have 3 machines. Machine 1 has 1 Ethernet card E1 with IP 192.168.0.1 and is running Windows 2000 Server. Machine 2 has 2 Ethernet cards E2 with IP 192.168.0.2 and E3 with IP 192.168.0.3 and is running FreeBSD 4.2 Release. Machine 3 has 1 Ethernet card E4 with IP 192.168.0.4. I really want to use the FreeBSD machine to control the data flow between Machine 1 and Machine 3 and so I have set up a firewall gateway in it. I have added the following into the kernel configuration file GENERIC: options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_DEFAULT_TO_ACCEPT options IPFIREWALL_VERBOSE_LIMIT = 200 options IPDIVERT options DUMMYNET options BRIDGE Then recompile everything and add the following into rc.conf: gateway_enable=YES firewall_enable="YES" firewall_type="open" firewall_quite="NO" sysctl -w net.link.ether.bridge=1 After that, I found Machine 1 can ping E2 and E3 but not E4. Also Machine 2 can ping E1 and E4. Upon running "ifconfig -a", I found E2 belongs to xl0 and E3 belongs to vx0. However, when running "netstat -r", I totally can't find the entry of vx0 just like those for xl0. Can anyone tell me what mistake I have made? What should I change so that Machine 1 can ping Machine 3? Thanks very much for all your help! Regards, Wing _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message