[olug] Debian fixed IP address

Nate Rotschafer writetogenius at hotmail.com
Tue Nov 12 01:06:55 UTC 2002


I suggest looking at the /etc/network/interfaces file....this is my
config for a static private ip:

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

# The first network card - this entry was created during the Debian
installation
# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
    address 172.16.236.90
    netmask 255.255.0.0
    network 172.16.0.0
    broadcast 172.16.236.255
    gateway 172.16.0.1

Hope this helps....

Nate

-----Original Message-----
From: olug-admin at olug.org [mailto:olug-admin at olug.org] On Behalf Of Eric
Penne
Sent: Monday, November 11, 2002 7:02 PM
To: olug at olug.org
Subject: [olug] Debian fixed IP address

I setup my debian box with dhcp.  Now I want it to have a fixed IP.  I
cannot figure out the scripts so I can do this.

This arises because I don't like using the dns servers taht are
provided by my isp.  Therefore I setup dnscache.  I have a linksys
router/dhcp server that doesn't allow me to specify the dns server to
send out to the clients.  It will only allow static IPs with my dns
server or it will send out whatever it gets from the dhcp server on the
other side.

How do I configure my debian box to hav a fixed IP.  This is my storage
server, so the fixed ip will be useful.  I am getting a Pentium 90
pretty soon to setup my own router/dhcp server but right now I still
need to use the linksys.

Eric


__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2
_______________________________________________
OLUG mailing list
OLUG at olug.org
http://lists.olug.org/mailman/listinfo/olug



More information about the OLUG mailing list