LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-17-2009, 09:11 PM   #1
dpeterson3
Member
 
Registered: Jun 2008
Distribution: Debian
Posts: 164

Rep: Reputation: 16
nfs mount IPV6


Just started college and all my machines have to run on the college network getting their DHCP from the school's servers not my router. Since I no longer can use static IP addresses to mount NFS shares from my server, I though I would use my MAC address instead. I am not sure how to do this and there is not much out there on it (at least that I can find). I have the server set with my laptop's mac in the hosts.allow and exports
Code:
ALL: [xx:xx:xx:xx:xx:xx]

and

/home/ [xx:xx:xx:xx:xx:xx](options)
which I assume is the correct format. Now I can't figure out how to mount the file from the client side. I tried
Code:
mount -t nfs [xx:xx:xx:xx:xx:xx]/home

and 

mount -t nfs xx:xx:xx:xx:xx:xx:/home
but that did not work. What am I doing wrong?

thanks in advance


EDIT:
After some research I realize that IPV6 and MAC are not the same thing as I was thinking they were. Is there a way then to make NFS use arp to see my server or how should I access my nfs server when it can change IP addresses?

Last edited by dpeterson3; 08-18-2009 at 09:14 PM. Reason: Stupidity
 
Old 08-19-2009, 12:20 PM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Testing"
Posts: 6,119

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
Quote:
Since I no longer can use static IP addresses to mount NFS shares from my server, I though I would use my MAC address instead.
I don't think you can do this.

Also, all those xxx's don't help us. Be less paranoid and post the real numbers you are using (It's OK if they are LAN IP addresses, and nobody cares about your MAC addresses, they are easily spoofed)

Please post code within CODE tags (Click Go Advanced, then use the # icon) because your lasy quoted command: mount -t nfs xx:xx:xx:xx:xx:xx:/home looks like it is missing a space and tell us what the exact error messages are.

That said, I think the answer you need will be to have your router ask your school's DHCP server for an IP, then put your machines on your router's subnet: (Eg: IP of router = 198.162.0.200 (received from the school). IP of your PC#1 = 10.0.0.2 IP of your PC#2 = 10.0.0.3 etc (these received from your router's DHCP server, or, better, allocated as static IPs by yourself).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 13 04-11-2016 11:30 PM
[SOLVED] mount.nfs: mount to NFS server 'rpcbind' failed w1k0 Slackware 4 03-30-2010 03:45 PM
mount.nfs: mount to NFS server 'jesse' failed: timed out, retrying keupie Linux - Networking 3 06-05-2009 07:03 PM
NFS mount mount.nfs: access denied by server while mounting knockout_artist Linux - Newbie 2 11-26-2008 02:36 PM
How to give IPv6 support to NFS on Linux ashumundra Linux - Networking 1 03-20-2004 04:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration