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

Re: /etc/network/interfaces file



On Tue, 13 Mar 2001 11:38:43 -0700
Bill Fowler <bill@mesanetworks.net> wrote:

> Hello,
> 
> I want to make my network config permanent with the /etc/network/interfaces
> file in Debian 2.2.  The file is as follows:
> 
> # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
> #
> # Configure loopback interface
> ifconfig lo 127.0.0.1
> # Configure ethernet interface
> IPADDR="10.10.10.254"
> NETMASK="255.255.255.0"
> BROADCAST="10.10.10.255"
> ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}

iface lo inet loopback

iface eth0 inet static
	address 10.10.10.254
	netmask 255.255.255.0
	network 10.10.10.0
	broadcast 10.10.10.255

Then do
	ifdown eth0
	ifup eth0

--
Christoph Simon
datageo@terra.com.br
---
^X^C
q
quit
:q
^C
end
x
exit
ZZ
^D
?
help
shit
.



Reply to: