LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-09-2004, 04:31 PM   #1
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
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?

Thanks!
 
Old 01-09-2004, 04:52 PM   #2
dubman
Member
 
Registered: Jan 2003
Distribution: Redhat 9, Fedora Core 1, Suse 8
Posts: 188

Rep: Reputation: 30
NAT is not what you need. You need a DNS entry for the NFS system.
 
Old 01-09-2004, 06:22 PM   #3
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Original Poster
Rep: Reputation: 31
How do I do that? I'll look into it and thank you for your help but if you can post a procedure for that I would appreciate it.
 
Old 01-09-2004, 06:37 PM   #4
dubman
Member
 
Registered: Jan 2003
Distribution: Redhat 9, Fedora Core 1, Suse 8
Posts: 188

Rep: Reputation: 30
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.
 
Old 01-09-2004, 06:57 PM   #5
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Original Poster
Rep: Reputation: 31
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!
 
  


Reply



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
Network Address Translation ashutoshsharma Linux - Networking 0 01-12-2005 07:06 AM
Redhat 9 ip translation for internal network to share ip connection boym1 Linux - Networking 2 05-06-2004 07:39 AM
"fast network address translation" kernel option dunkyb Linux - Networking 0 04-20-2003 06:42 PM
question about network address and broadcast address yuzuohong Linux - Networking 1 09-18-2002 11:47 AM
IP address translation? mikeshn Linux - Software 5 05-25-2002 05:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:21 AM.

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