LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-09-2004, 11:07 AM   #1
ZhiYi
Member
 
Registered: Feb 2003
Distribution: Redhat
Posts: 30

Rep: Reputation: 15
Can NFS run on a dhcp LAN?


Hi,

I have 2 pcs running fedora core 2. I plan to use NFS for networking the 2 pcs. A router connects these 2 computers. Currently, the router is set to serve dhcp among the 2 pcs.

I read up this topic from a book titled 'Using Redhat Linux' by QUE publishing. The steps given are to edit the /etc/hosts file and to use Linuxconf for nfs. In both cases, the computer name must be given followed by the IP address.

My question is that since dhcp has no fixed IP addresses for the computers, how do I supply the IP addresses? Does NFS require static IP addresses or if not, how do I enable NFS on a dhcp network?
If NFS does require static IPs, will my network still be able to share internet connection and files if I disable the router as a dhcp server?

THanks for the replies.
 
Old 12-09-2004, 02:54 PM   #2
k2merlinsix
Member
 
Registered: Dec 2004
Location: West Virginia
Distribution: Fedora
Posts: 35

Rep: Reputation: 15
The way that I have mine set up is that my router is configurable to supply specific ip addressed to a certain MAC address. I have this enabled that way I dont have to use the DNS to give me the ip address it will always be the same.
 
Old 12-09-2004, 03:43 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,386

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
NFS doesn't require static IP's at all, but it does require DNS if you have a changing IP. getting a system to do dynamic dns updates from dhcp isn't that much fun though, and from a 2 node network, pretty pointless.
 
Old 12-09-2004, 06:38 PM   #4
ZhiYi
Member
 
Registered: Feb 2003
Distribution: Redhat
Posts: 30

Original Poster
Rep: Reputation: 15
Hello,

THanks for the replies.

So, a MAC address is the identification number of a network card right? How do I find the MAC of the card?
 
Old 12-09-2004, 06:45 PM   #5
imezsons
LQ Newbie
 
Registered: Sep 2004
Location: india
Posts: 14

Rep: Reputation: 0
just type ifconfig u'll find the disply of your ipaddress in that same text u can find the 12 digit hexadecimal number (for example 00-50-8D-AF-43-E5) like that.this is the mac address of your network card.

regards
lenin
 
Old 12-09-2004, 06:47 PM   #6
k2merlinsix
Member
 
Registered: Dec 2004
Location: West Virginia
Distribution: Fedora
Posts: 35

Rep: Reputation: 15
as root do an 'ifconfig eth0' should give you something like this

eth0 Link encap:Ethernet HWaddr 00:07:E9:B5:F9:Q5
inet addr:192.168.66.217 Bcast:192.168.66.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25843437 errors:0 dropped:0 overruns:0 frame:0
TX packets:23859911 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:3521099028 (3357.9 Mb) TX bytes:3789603949 (3614.0 Mb)
Interrupt:3 Base address:0xb000

The bold section is the hardware address
 
  


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
Network install - TFTP, DHCP, but do I need NFS? redthor Linux - Networking 1 07-07-2005 01:25 AM
LAN browsing - LISa & NFS kevinatkins Linux - Networking 4 05-05-2005 08:53 PM
Unable To Create LAN Using NFS numbersix Linux - Newbie 7 02-15-2005 07:56 AM
Diskless Client Over NFS Using DHCP Question geogecko Linux - Newbie 1 01-10-2004 11:48 PM
I need Mandrake 9.0 LAN/NFS/ftp help walkunafraid Linux - Networking 3 03-30-2003 04:08 PM


All times are GMT -5. The time now is 12:31 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration