On Fri, Dec 27, 2002 at 08:38:20PM -0800, Curtis Spencer wrote: > I am using dhclient right now on startup to give me a DHCP ip address, > but I want to set the system to have a static IP on my sub net so I can > have the router forward everything on port 80 to the debian system. > What is a decent way to do this?
/etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.0.4
gateway 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
Something like this. See interfaces(5) for details.
--
.''`. Baloo <[EMAIL PROTECTED]>
: :' : proud Debian admin and user
`. `'`
`- Debian - when you have better things to do than to fix a system
msg21243/pgp00000.pgp
Description: PGP signature

