Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
12-09-2004, 12:07 PM
|
#1
|
Member
Registered: Feb 2003
Distribution: Redhat
Posts: 30
Rep:
|
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.
|
|
|
12-09-2004, 03:54 PM
|
#2
|
Member
Registered: Dec 2004
Location: West Virginia
Distribution: Fedora
Posts: 35
Rep:
|
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.
|
|
|
12-09-2004, 04:43 PM
|
#3
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
12-09-2004, 07:38 PM
|
#4
|
Member
Registered: Feb 2003
Distribution: Redhat
Posts: 30
Original Poster
Rep:
|
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?
|
|
|
12-09-2004, 07:45 PM
|
#5
|
LQ Newbie
Registered: Sep 2004
Location: india
Posts: 14
Rep:
|
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
|
|
|
12-09-2004, 07:47 PM
|
#6
|
Member
Registered: Dec 2004
Location: West Virginia
Distribution: Fedora
Posts: 35
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 11:28 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|