[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DHCP with Static Addresses



|>   o printing to one of the machines running CUPS ... again, I must
|>     specify the addr of the print server machine

This was why I wanted to assign a fixed address to my desktop machine at home---
it has a printer on the parallel port and it serves as  printserver for all of 
the other machines that use the home network (laptops mostly).

But this very simple solution works here. I just have in /etc/network/interfaces:

iface eth0 inet static
address 192.168.1.100
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1

and the DHCP server in the Linksys router (a Wireless-B) is happy to always assign 
the 192.168.1.100 address to the machine in question.

Very unsophisticated, but it does the needful (lets me ssh in and so on),

Jim





Reply to: