One-way communication with fwip(4) between FreeBSD and MacOS X?
Arjan van Leeuwen
avleeuwen at gmail.com
Fri Oct 28 12:12:27 PDT 2005
Sorry for the second mail, forgot to reply to all and include freebsd-firewire@:
2005/10/28, Eric Anderson <anderson at centtech.com>:
> Arjan van Leeuwen wrote:
> > Hi,
> >
> > I'm trying to establish an fwip(4) connection between my Powerbook
> > running MacOS X 10.4 and my FreeBSD 6.0-RC1 host. I included fwip in
> > my kernel and assigned an IP address to the fwip0 interface.
> >
> > The weird thing is that it seems to work only one-way. I can ping my
> > Powerbook from the FreeBSD machine, I can even ssh to it, etc. But
> > from the Powerbook to the FreeBSD host, I get no replies to my pings,
> > and I can't access ssh.
> >
> > If I do a tcpdump on the FreeBSD machine on fwip0, I can see that the
> > ping requests arrive, but there's no answer:
> >
> > winston% sudo tcpdump -i fwip0
> > tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
> > listening on fwip0, link-type APPLE_IP_OVER_IEEE1394 (Apple
> > IP-over-IEEE 1394), capture size 96 bytes
> > 20:54:32.853931 IP 10.0.0.2 > 10.0.0.1: ICMP echo request, id 20738,
> > seq 0, length 64
> > 20:54:33.854038 IP 10.0.0.2 > 10.0.0.1: ICMP echo request, id 20738,
> > seq 1, length 64
> > 20:54:34.854122 IP 10.0.0.2 > 10.0.0.1: ICMP echo request, id 20738,
> > seq 2, length 64
> >
> > It almost looks like there's a firewall setup to stop any incoming
> > traffic on the fwip interface (I have no firewall installed).
> >
> > How do I proceed in debugging this?
> >
> > Thanks,
> >
> > Arjan
> >
> > P.S. I'm not subscribed to the firewire@ list, please CC me on reply.
>
> If you run a tcpdump on fxp0 while doing the pings, do you see the
> packets leaving on that interface?
No.
>
> You might send the output of netstat -rn also
winston% netstat -rn
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 192.168.0.1 UGS 0 952 fxp0
10/24 link#1 UC 0 0 fwip0
10.0.0.1 ff.ff.ff.ff.ff.ff.ff.ff.a.2.ff.fe.0.0.0.0 UHLW
1 2 lo0
10.0.0.2 0.11.24.ff.fe.36.85.28.b.2.0.1.0.0.0.0 UHLW
1 84 fwip0 1162
127.0.0.1 127.0.0.1 UH 0 36 lo0
192.168.0 link#2 UC 0 0 fxp0
192.168.0.1 00:40:f4:67:3e:64 UHLW 2 39 fxp0 1097
Thanks for your help,
Arjan
>
> Eric
>
>
>
>
> --
> ------------------------------------------------------------------------
> Eric Anderson Sr. Systems Administrator Centaur Technology
> Anything that works is better than anything that doesn't.
> ------------------------------------------------------------------------
>
More information about the freebsd-firewire
mailing list