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


  Search this Thread
Old 10-21-2004, 10:31 PM   #1
LQ Newbie
Registered: Aug 2004
Location: Portland, OR
Posts: 8

Rep: Reputation: 0
static names with dynamic ip's

I have a local network with two box's running fedora core 2 and roommates mac running os X, all behind a router with a dns server and a cable connection that is also a dynamic ip. I would like to reference the file server by name in my fstab config files since the ip address change occasionally. I have thought about using static IP behind the router, but I don't want to intrude on my roommates connection (and I want to learn how to figure this out). How would I go about setting this up? Something to where my fstab file would have "fileserver:/sharedfiles' instead of an ip. Already looked at bind and named possibilities, but its not clear to me if that can even solve the problem. Where should I go with this? What are my options?
Old 10-22-2004, 03:13 AM   #2
Registered: Sep 2003
Location: Rawalpindi, Pakistan
Distribution: Slackware
Posts: 86

Rep: Reputation: 15
I think you should be able to access the fileserver by using any netbios share browser. If your fileserver doesn't run the netbios service (Windows) / SAMBA (Linux) then do it. You would then be able to access the fileserver by its netbios name. You can even specify it in the fstab using the netbios name of the fileserver.
Old 01-12-2006, 05:32 PM   #3
Registered: May 2003
Location: Netherlands
Distribution: Ubuntu, Puppy
Posts: 386

Rep: Reputation: 30
If you only want to use the server on the Intra net :
Check if the router supports FIXED adresses (my vigor does) In that case you can tell the router that the adress for the server is always the same. (is is not static it is fixed!) It may be that you have to put the server name and adress of the server in the HOSTS file of the other boxes(not for winboxes but for linux).
You can give the server an adress in the subnet but above the range of adresses the dhcp from the router assigns. ==If your network is subnet ~ Normaly the router / dhcp takes the first 10 adresses the others are give to the boxes that are asking for an adress. Normally there is a pool count, you can order your router not to give out more adresses then say 100. In that case number ~1 to ~10 and ~11 to 110 are the adresses in the network, given by the dhcp. The adresses 111 to say 250 are free ( you can't use some of the last adresses ). Assign one of these adresses to the server. Then you have to make an entry in the hosts file for the router.



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
Trying to get computer names instead of IP's megaspaz Linux - Networking 1 01-12-2006 05:42 PM
Can ping IP's, but not names. Why??? JeffreyKunkle Linux - Newbie 3 08-30-2004 12:22 PM
samba, dynamic ip's Franklin Linux - Networking 2 07-12-2003 02:23 PM
ping IP's but not domain names matrx88 Linux - Networking 11 07-08-2003 03:33 PM
Apache and Dynamic IP's ranixlb Linux - Networking 3 05-24-2002 02:15 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:30 PM.

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