Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Nov 2000 09:52:47 -0600
From:      "Gene Harris" <geneh@tetronsoftware.com>
To:        "'Jim Freeze'" <jim@freeze.org>
Cc:        <questions@FreeBSD.ORG>
Subject:   RE: Need help with natd and connecting Windows to LAN
Message-ID:  <51F9B228ED26D311A17700A0C9982664013F46@tetboss.internal.tetronsoftware.com>
In-Reply-To: <54F9B228ED26D311A17700A0C9982664031F46@tetboss.internal.tetronsoftware.com>

next in thread | previous in thread | raw e-mail | index | archive | help
It looks like you need to make sure that bpf is compiled into your
kernel.  If you have compiled, say 4 buffers, then go to /dev and
MAKEDEV bpf3, this will make bpf0..bpf3.  You need to have Berkeley
Packet Filters compiled into your kernel for this stuff to work.  And
you need the corresponding devices in /dev.

If you have any questions about adding bpf into your kernel, search
the freebsd.org list archives for copious instructions.  Or read the
manual.

Gene

> -----Original Message-----
> From: owner-freebsd-questions@FreeBSD.ORG
> [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Jim Freeze
> Sent: Sunday, November 26, 2000 6:58 AM
> To: cjclark@alum.mit.edu
> Cc: questions@FreeBSD.ORG
> Subject: Re: Need help with natd and connecting Windows to LAN
>
>
> I tried
>  tcpdump -eni al0
> but got an error.
>
>
> root@eeyore1 ('tty') ~ 24 -> tcpdump -eni al0
> tcpdump: /dev/bpf1: No such file or directory
>
> Could this be related to the problem?
>
> Thanks
> Jim
>
> On Sat, 25 Nov 2000, Crist J . Clark wrote:
>
> > On Sun, Nov 26, 2000 at 01:06:51AM -0500, Jim Freeze wrote:
> > > I am running FBSD3.4R as a gateway/router with a Win98
> box connected on
> > > a local LAN. The gateway machine can see the internet and
> the Win98 box,
> > > but the Win98 box cannot ping the gateway nor see beyond it.
> >
> > [snip]
> >
> > The configs look OK. But...
> >
> > > root@eeyore1 ('tty') ~ 17 -> ifconfig -a
> > > vx0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> > >         inet 24.9.218.175 netmask 0xffffff00 broadcast
> 24.9.218.255
> > >         ether 00:60:97:4f:aa:a0
> > > al0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> > >         inet 192.168.1.1 netmask 0xffffff00 broadcast
> 192.168.1.255
> > >         ether ff:ff:ff:ff:ff:ff
> >                 ^^^^^^^^^^^^^^^^^
> > This does not look at all right.
> >
> > >         media: autoselect (100baseTX <full-duplex>)
> > >         supported media: autoselect 100baseTX
> <full-duplex> 100baseTX
> > > <half-duplex> 100baseTX 10baseT/UTP <full-duplex>
> 10baseT/UTP 10baseT/UTP
> > > <half-duplex>
> > > lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
> > > tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> > > sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
> > > ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> > > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
> > >         inet 127.0.0.1 netmask 0xff000000
> >
> > If you do a 'tcpdump -eni al0' while you try both the ping from
the
> > gateway to the Win98 box and the other way, what do you see?
> > --
> > Crist J. Clark                           cjclark@alum.mit.edu
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> >
>
>
> ===========================
> Jim Freeze
> jim@freeze.org
> ---------------------------
> Am I a webmaster?
> No. More like a webslave.
> ===========================
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>




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?51F9B228ED26D311A17700A0C9982664013F46>