Network Address Translation for NFS not happening!
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Network Address Translation for NFS not happening!
I'm trying to set up NFS to have access to one other computer through a router but unless I specify actual IP addresses it doesn't work. I'm using DHCP so that's not too practical. Is there some way to activate NAT so that computer names translate to proper IP addresses?
Well there is a couple of ways. You could build your own DNS server which would dynamically update requesting systems to the "friendly" name. But since you don't know what DNS is, this is probably a daunting task.
An easier workaround would be through host files and system names. You can edit your /etc/hosts file and put an entry to map the IP address of a system to it's "friendly" name. You can change a system's "friendy" name by editing the /etc/sysconfig/network file and changeing the "HOSTNAME=" line.
Well, I know what DNS is but I don't know how to build my own server. I'm into learning so I might try it though. As for the /etc/sysconfig/network file, I don't have it so I didn't edit it. I'm working fine by using the IP address and the addresses aren't changing too often so it's not a problem but I will look into the server. Can I make one of my two computers the server or would I need to have a third computer?
Thanks for your help!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.