Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Sep 2000 10:46:36 +0100
From:      "Martin Hillier" <martin.hillier@sykes.demon.co.uk>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Cant ping linux machine win98 ok?
Message-ID:  <009601c018b0$837b9900$0602a8c0@melksham>

next in thread | raw e-mail | index | archive | help
Just to set the scene,

I have a FreeBSD machine (firewall and isdn gateway to the net)
A Linux box (email etc, and a temporary dialup net connection)
A handfull of windows machines
all on a sub net 192.168.2.*, all on the same physical network

Every thing seems to work ok exept any form of connection between the
freebsd and linux box

I can ping the linux and freebsd from my win98 machine, I can ping my
machine from both freebsd and linux.

but I cant ping the linux box from freebsd or freebsd to linux, or connect
via telnet.

the ping just 'hangs' with no output (I have left it for about 10mins).

my machine is 192.168.2.6
freebsd .110  (blackhole)
linux .100 (sykes)

FREEBSD

Routing tables

Internet:
Destination        Gateway            Flags      Netif Expire
default               <myisp>            UGSc        1    18132     tun0
localhost            localhost            UH          0        2      lo0
192.168.2         link#2                UC          0        0      ed0 =>
192.168.2.6      0:c0:df:5:21:e7    UHLW        2     2719      ed0   1115
192.168.2.11    0:40:33:b0:1e:91  UHLW        0     1995      ed0    984
sykes                 0:a0:24:4e:b2:af   UHLW        0      660      ed0
1143
blackhole           0:20:18:10:4:11   UHLW        0        2      lo0
<myisp>             <isp gw>           UH          2        0     tun0

# route get 192.168.2.100

   route to: sykes
  destination: sykes
   interface: ed0
      flags: <UP,HOST,DONE,LLINFO,WASCLONED>
 recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu
expire
       0         0         0         0         0         0      1500
1177

# sh /etc/rc.firewall
Flushed all rules.
00000 divert 8668 ip from any to any via tun0
00000 allow ip from any to any via lo0
00000 allow ip from any to any via ed0
00000 allow tcp from any to any out xmit tun0 setup
00000 allow tcp from any to any via tun0 established
00000 reset log logamount 100 tcp from any to any 113 in recv tun0
00000 allow udp from any to 212.41.41.1 53 out xmit tun0
00000 allow udp from 212.41.41.1 53 to any in recv tun0
00000 allow udp from any to 212.41.41.6 53 out xmit tun0
00000 allow udp from 212.41.41.6 53 to any in recv tun0
65435 allow icmp from any to any
65435 deny log logamount 100 ip from any to any

LINUX

Kernel routing table
Destination     Gateway         Genmask         Flags MSS    Window Use
Iface
10.0.0.34       *               255.255.255.255 UH    576    0        0 ppp0
192.168.2.0     *               255.255.255.0   U     1500   0       24 eth1
127.0.0.0       *                 255.0.0.0       U     3584   0        4 lo
default         10.0.0.34       *               UG    576    0       11 ppp0





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?009601c018b0$837b9900$0602a8c0>