From owner-freebsd-questions Sat Jul 13 8:33:35 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 2F45D37B400 for ; Sat, 13 Jul 2002 08:33:32 -0700 (PDT) Received: from frl.nisser.com (c0039.upc-c.chello.nl [212.187.0.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E7ED43E31 for ; Sat, 13 Jul 2002 08:33:31 -0700 (PDT) (envelope-from roelof@eboa.com) Received: from eboa.com (roelof.nisser.com [10.0.0.2]) by frl.nisser.com (Postfix) with ESMTP id 909F5EA94 for ; Sat, 13 Jul 2002 17:33:26 +0200 (CEST) Message-ID: <3D304846.7020300@eboa.com> Date: Sat, 13 Jul 2002 17:33:26 +0200 From: Roelof Osinga Organization: eBOA - Programming the Web User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc3) Gecko/20020523 X-Accept-Language: en,pdf MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Three nics routing problem Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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 I've got a routing problem the answer to which eludes me. The situation is as follows. The box (4.6) has three NICs: rl0: flags=8843 mtu 1500 inet 10.0.1.55 netmask 0xffffff00 broadcast 10.0.1.255 ether 00:e0:4c:39:00:32 media: Ethernet autoselect (100baseTX ) status: active ep0: flags=8843 mtu 1500 inet 10.0.0.55 netmask 0xffffff00 broadcast 10.0.0.255 ether 00:60:97:14:31:a7 media: Ethernet 10base2/BNC ep1: flags=8843 mtu 1500 inet 212.187.0.39 netmask 0xfffff800 broadcast 212.187.7.255 ether 00:60:97:e4:98:db media: Ethernet 10baseT/UTP The ep1 connects to the CATV external connection. The ep0 to the local coax cable and finally the rl0 to a "switchlet". The idea was to start moving to the UTP network. However, the box fails to comply. Diagrammatically it looks like this: CATV <--- ep1 ep0 <---> test's ed0 as 10.0.0.10 <---> other boxes rl0 <---> test's rl0 as 10.0.1.100 <---> other stuff Destination Gateway Flags Refs Use Netif Expire default 212.187.0.1 UGSc 35 338854 ep1 10/24 link#2 UC 2 0 ep0 10.0.0.2 0:0:e8:ef:7b:fb UHLW 9 87347 ep0 1139 10.0.1/24 link#1 UCc 1 0 rl0 127.0.0.1 127.0.0.1 UH 2 17851 lo0 212.187.0/21 link#3 UC 2 0 ep1 212.187.0.1 0:30:7b:94:31:c8 UHLW 29 4 ep1 1200 212.187.7.255 ff:ff:ff:ff:ff:ff UHLWb 0 5 ep1 frl:~/samba/NOTAS$ sysctl -a|grep forward net.inet.ip.forwarding: 1 net.inet.ip.fastforwarding: 0 Even with forwarding enabled it does not forward. My workstation can connect to 10.0.1.100 but only through the coax cable (the test box also has forwarding enabled). When I unplug that cable it can no longer reach the test box. Which is unfortunate. The frl box will of course always communicate with the test box. But it will not forward packets from the 10.0.0. net to the 10.0.1. net without resorting to the coax net. If someone knows what I'm overlooking, please inform! Roelof -- _______________________________________________________________________ eBOAź est. 1982 http://eBOA.com/ tel. +31-58-2123014 mailto:info@eBOA.com?subject=Information_request fax. +31-58-2160293 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message