Linux - NetworkingThis 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.
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.
I am still building my home network, and want it o be able to connect to different computers by:
\\pc-name
We have 2 types of computers:
Computers in the workgroup WORKGROUP (2 debian, 1 vista)
Computers in the domain TUE (required by our university) (3 vista, 2 xp)
Within the workgroup, I can call pc's by their name, but this is not possible by the pc's in the domain.
I can however always do \\ip and the 2 debians have a samba server running, which is available through \\ip (and \\name, for the computers in the workgroup).
I know about the hosts file, but I don't want to edit the hosts file everytime someone comes living into the house (students house).
I don't mind setting up a DNS-server, if it is not too complicated
I don't know if I have static IP adresses. From experience I know that my web server has changed it's IP adress once, when both router and PC where down.
So what is your verdict? What is the best solution for my problem?
Your router is almost certainly acting as a DHCP server for the machines on your network, and therefore you probably do not currently have static IP addresses for your machines.
First, I would see if your router configuration allows for DHCP reservations. On my Netgear this is done on the "LAN IP Setup" under "Advanced".
You will need to know the MAC addresses of the network interface that will attach to the LAN, and assign a unique IP address in the network range for each MAC address.
To find out what the MAC address is...
In Vista,
open the Network and Sharing Center from Control Panel
click view status the relevant network interface
click Details
MAC address is shown as Physical Address
In Windows XP,
open the Network and Internet Connections from Control Panel
DHCP Server: Enable
Starting IP Address: 192.168.1.100
Maximum Number of DHCP Users: 50
Client Lease Time: 0 minutes (0 means one day)
Static DNS 1: . . .
Static DNS 2: . . .
Static DNS 3: . . .
WINS: . . .
Further I can edit internet access policies and add/remove a list of pc's under "internet access". At the moment all internet access policies are disabled.
If you do not have an option to configure "DHCP Reservations" on your Router, then you cannot guarantee that the machines will be given the same IP address each time they connect.
Your alternative would be to turn off DHCP on the router, and configure a Linux machine as a DHCP server (this would need to be permanently on and have a static IP address).
You could use the same machine to configure DNS, both of these tasks are quite involved but there is plenty of documentation around.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.