Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Sep 2009 21:22:28 +0930
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-stable@freebsd.org
Subject:   NFS server replies on wrong IP
Message-ID:  <200909272122.42528.doconnor@gsoft.com.au>

next in thread | raw e-mail | index | archive | help
--nextPart1503951.bs73qAFgsV
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,
I recently upgraded a system from 7.x to 8.0-RC1 (well, got new guts for=20
it and copied the data over..) and I am having trouble getting NFS to=20
work.

I have re0 like so
re0: flags=3D8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0=
=20
mtu 1500
       =20
options=3D389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,=
WOL_MCAST,WOL_MAGIC>
        ether 00:24:1d:d1:92:cc
        inet 10.0.2.1 netmask 0xffffff00 broadcast 10.0.2.255
        inet 10.0.2.3 netmask 0xffffffff broadcast 10.0.2.3
        inet 10.0.2.4 netmask 0xffffffff broadcast 10.0.2.4
        inet 10.0.2.7 netmask 0xffffffff broadcast 10.0.2.7
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active

and when I try and NFS mount something on 10.0.2.7 I see that the reply=20
comes from the wrong address (10.0.2.1). ie from wireshark..
7	0.801704	10.0.2.1	10.0.2.103	NFS	V3 NULL Reply (Call In 6)
8	0.802742	10.0.2.103	10.0.2.1	ICMP	Destination unreachable (Port=20
unreachable)

Interestingly Linux works OK, but perhaps it specifically allows it some=20
how?

I can work around this by using -h to bind to 10.0.2.7 though, which is=20
what I did on 7.x. I was wondering if there was a "correct" solution=20
though.

=2D-=20
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

--nextPart1503951.bs73qAFgsV
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (FreeBSD)

iD8DBQBKv1IK5ZPcIHs/zowRAh5SAKClYQk+ozGfOF9RYtaniSWZ7zuvRACfVS5C
FlHjH0u7z/zIorMZjiKKDPM=
=d3jE
-----END PGP SIGNATURE-----

--nextPart1503951.bs73qAFgsV--



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