🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.pl.comp.os.linux.debian
Article #17042

Re: /etc/network/interfaces

#17042
From: qnox
Date: Sun, 07 Sep 2003 17:12
28 lines
1684 bytes
Krzysztof Bożętka wrote:
> Witam
> 
> Moze ktoś z szanownych grupowiczów wie jak ustawić alias dla interfejsu 
> eth0, wiem że wystarczy wpisać #ifconfig eth0 add 192.168.1.3 i wszystko 
> gra tylko nie wiem jak to zrobić zeby działo sie to automatycznie przy 
> odpalaniu eth0 ??? Czy poniższy wpis w /etc/networks/interfaces zadziała?
> 
> 
> iface eth0 inet static
>         address 192.168.1.2
>         address 192.168.1.3
> 
> Najprosciej bylo by sprawdzić :-P niestety nie moge sobie pozwolić na 
> restart, ani wyłączanie interfejów... użytkownicy bedą mnie ścigać ;-)
> 
> Pomocy :-)
> 
> Krzysztof Bożętka
> 

zdecydowanie polecam:

  iface eth0 inet static
          address 192.168.1.2

  iface eth0:0 inet static
          address 192.168.1.3
Technical Details
Message-ID: <bjfotu$8tn$1@news.telbank.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!news.ipartners.pl!newsfeed.gazeta.pl!news.man.poznan.pl!news.telbank.pl!not-for-mail
References: <bjflmo$nvj$1@news.onet.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!news.ipartners.pl!newsfeed.gazeta.pl!news.man.poznan.pl!news.telbank.pl!not-for-mail
From: qnox <temp@pol-net.com.pl>
Newsgroups: alt.pl.comp.os.linux.debian
Subject: Re: /etc/network/interfaces
Date: Sun, 07 Sep 2003 19:12:30 +0200
Organization: BPTNet - http://www.telbank.pl
Lines: 29
Message-ID: <bjfotu$8tn$1@news.telbank.pl>
References: <bjflmo$nvj$1@news.onet.pl>
NNTP-Posting-Host: callisto.pol-net.com.pl
Mime-Version: 1.0
X-Trace: news.telbank.pl 1062954750 9143 195.136.108.18 (7 Sep 2003 17:12:30 GMT)
X-Complaints-To: usenet@news.telbank.pl
NNTP-Posting-Date: 7 Sep 2003 17:12:30 GMT
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030827
X-Accept-Language: en-us, en
In-Reply-To: <bjflmo$nvj$1@news.onet.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit