Why not fix MAC to IP bindings on your router's DHCP server? On most
routers this can be done with a web based interface. Would be simpler
if for any reason you need to reinstall.
Currently I have a laptop and a desktop at my home, and the router (I
use an ASUS router) is configured to assign the same IP for DHCP
queries from the MAC addresses of these two hosts. So, everytime the
hosts try to get an IP, they will get the same one. This keeps the
configuration simple on the host machines, specially on the desktop
which I keep messing up with my frequent expeditions to the distro
land...

But IMO, if you are happy with your setup then well and good..

Happy hacking
-Santanu

----
Upset the established order, and everything becomes chaos. I'm an
agent of chaos. Oh and you know the thing about chaos, it's fair.



On Wed, Mar 25, 2009 at 3:36 AM, das <[email protected]> wrote:
> Thanks for the help from Santanu Sinha. I am using 'exportfs' after your mail.
>
> And for Debarshi Ray's question, yes something like that happened,
> which I interpreted as coming from reading only the first line from
> /etc/exports, and now that I know this is not true, I don't know why
> it happened. Let me report it.
>
> Because in my router the mac address is not fixed with IP-s, it
> assigns anything between 192.168.1.2-35. And sometimes when I connect
> the laptop with WL, it assigns 5, and at times it is 3. In the same
> way usually it assigns 2 or 4 with the desktop.
>
> Now, because I did not know NFS fully well (and I am too old and lazy
> to read the NFS howto thoroughly) I was going some commonsense (later
> I discovered it to be common nonsense) way for the NFS to work. What I
> did was that, for every IP from 2 to 7 I wrote a line in /etc/exports,
> because the '*' regular expression was not working for me, and I
> copied the same file in both the desktop and the laptop.
>
> Now, when I tried NFS, the desktop machine was getting mounted from
> the laptop but it was not working the other way round. I interpreted
> it as that because only the first line was read, so the 192.168.1.2
> thing was getting activated which was then the desktop IP, while the
> laptop IP, which was then 192.168.1.5, was not. And before the mail
> from Santanu Sinha I thought that was the case, and now I don't know
> any more why it was happening.
>
> Anyway, thanks to both of you.
>
> --
> das
> ddts.randomink.org
> _______________________________________________
> Ilug-cal-discuss mailing list
> [email protected]
> http://list.ilug-cal.org/mailman/listinfo/ilug-cal-discuss
>
_______________________________________________
Ilug-cal-discuss mailing list
[email protected]
http://list.ilug-cal.org/mailman/listinfo/ilug-cal-discuss

Reply via email to