LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 10-21-2004, 09:31 PM   #1
linux_console
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, 02:13 AM   #2
n3tw0rk
Member
 
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, 04:32 PM   #3
CloudBuilder
Member
 
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 :
1.
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).
2.
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 168.100.1.1 subnet 255.255.255.0 ~ 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.

CloudBuilder
 
  


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


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

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