Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Mar 1995 13:09:38 +0100
From:      jg@euronet.nl (Jan_Guldemond)
To:        questions@FreeBSD.org
Subject:   Routing / gateway
Message-ID:  <199503141209.NAA07591@mail.euronet.nl>

next in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
***	inet 193.78.175.1 netmask 0xffffff80 broadcast 193.78.175.127
***	ether 08:00:00:19:67:32 
*** lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 65532
***	inet 127.0.0.1 netmask 0xff000000 
*** sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
*** sl1: flags=c010<POINTOPOINT,LINK2,MULTICAST> 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<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
***	inet 193.78.175.2 netmask 0xffffff80 broadcast 193.78.175.127
***	ether 00:00:1b:4f:b9:38 
*** ed1: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
***	inet 193.78.175.129 netmask 0xffffff80 broadcast 193.78.175.255
***	ether 00:00:1b:4f:bd:fc 
*** lp0: flags=810<POINTOPOINT,SIMPLEX> mtu 1500
*** lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 65532
***	inet 127.0.0.1 netmask 0xff000000 
*** sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
*** sl1: flags=c010<POINTOPOINT,LINK2,MULTICAST> 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?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503141209.NAA07591>