From owner-freebsd-questions Tue Mar 14 04:09:49 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id EAA08571 for questions-outgoing; Tue, 14 Mar 1995 04:09:49 -0800 Received: from mail.euronet.nl (mail.euronet.nl [193.67.112.150]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id EAA08565 for ; Tue, 14 Mar 1995 04:09:45 -0800 Received: from p89.euronet.nl (p89.euronet.nl [193.67.112.249]) by mail.euronet.nl (8.6.4.1/A/UX 3.1) with SMTP id NAA07591 for ; Tue, 14 Mar 1995 13:09:38 +0100 Date: Tue, 14 Mar 1995 13:09:38 +0100 Message-Id: <199503141209.NAA07591@mail.euronet.nl> X-Sender: jg@mail.euronet.nl Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: questions@FreeBSD.org From: jg@euronet.nl (Jan_Guldemond) Subject: Routing / gateway X-Mailer: Sender: questions-owner@FreeBSD.org Precedence: bulk Hi, Using your advise I have put up the ethernet cards. I use three machines |--------------| |------------------------------| |----------------| | FreeBSD | | FreeBSD | | MS-Windows | | 193.78.175.1 | | 193.78.175.2 193.78.175.129 | | 193.78.175.138 | |--------------| |------------------------------| |----------------| | | | | \------------------/ \--------------------/ The configuration of the first FreeBSD machine (snap 2-2, one ethernet card): ifconfig -a: *** ed1: flags=8863 mtu 1500 *** inet 193.78.175.1 netmask 0xffffff80 broadcast 193.78.175.127 *** ether 08:00:00:19:67:32 *** lo0: flags=8009 mtu 65532 *** inet 127.0.0.1 netmask 0xff000000 *** sl0: flags=c010 mtu 552 *** sl1: flags=c010 mtu 552 netstat -rn: *** Routing tables *** *** Internet: *** Destination Gateway Flags Refs Use Netif Expire *** default 193.78.175.2 UGSc 1 33 ed1 *** 127.0.0.1 127.0.0.1 UH 0 0 lo0 *** 193.78.175 link#1 UC 0 0 ed1 -2078 *** 193.78.175.1 8:0:0:19:67:32 UHLW 0 152 lo0 *** 193.78.175.2 0:0:1b:4f:b9:38 UHLW 2 52 ed1 65 *** 224 link#1 UCS 0 0 ed1 -2078 The configuration of the second FreeBSD-machine (also 2-2 snap, but two ethernet cards): ifconfig -a: *** ed0: flags=8863 mtu 1500 *** inet 193.78.175.2 netmask 0xffffff80 broadcast 193.78.175.127 *** ether 00:00:1b:4f:b9:38 *** ed1: flags=8863 mtu 1500 *** inet 193.78.175.129 netmask 0xffffff80 broadcast 193.78.175.255 *** ether 00:00:1b:4f:bd:fc *** lp0: flags=810 mtu 1500 *** lo0: flags=8009 mtu 65532 *** inet 127.0.0.1 netmask 0xff000000 *** sl0: flags=c010 mtu 552 *** sl1: flags=c010 mtu 552 netstat -rn: *** Routing tables *** *** Internet: *** Destination Gateway Flags Refs Use Netif Expire *** 127.0.0.1 127.0.0.1 UH 0 0 lo0 *** 193.78.175 link#1 UC 0 0 ed0 -2216 *** 193.78.175.1 8:0:0:19:67:32 UHLW 1 89 ed0 1109 *** 193.78.175.2 0:0:1b:4f:b9:38 UHLW 1 8 lo0 *** 193.78.175.128 link#2 UC 0 0 ed1 -2216 *** 193.78.175.138 8:0:0:19:52:72 UHLW 0 4 ed1 247 I can ping: from to 193.78.175.1 193.78.175.2 193.78.175.1 193.78.175.129 193.78.175.2 193.78.175.138 193.78.175.2 193.78.175.1 But I can't ping from 193.78.175.1 to 193.78.175.138. The gateway doesn't seem to work. When I track te netstat -in output on the gateway while pinging 193.78.175.138 from 193.78.175.1, I can see that: * Ipkts on ed0 (193.78.175.2) is increasing * All other numbers (including Opkts on 193.78.175.129) are constant!!! Also no response is given on the 193.78.175.1 station, that is pinging. It just says: PING 193.78.175.138 (193.78.175.138): 56 data bytes I get no response like 'no route to host' etc.. When I stop the pinging I get: --- 193.78.175.138 ping statistics --- 146 packets transmitted, 0 packets received, 100% packet loss So it seems like the gateway isn't sending the pakkets on the other ethernet-card to 193.78.175.138. WHY NOT?