Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Adding interfaces
- To: tlug@example.com
- Subject: Adding interfaces
- From: Darren Cook <darrenj@example.com>
- Date: Mon, 04 Sep 2000 10:53:10 +0900
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=iso-2022-jp
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <Y7ntBB.A.Q-E.6Hws5@example.com>
- Resent-Sender: tlug-request@example.com
I've been adding a second IP address to my Linux (Debian) test server. So to /etc/networks/interfaces I duplicated the existing entry, then changed "eth0" to "eth0:0" and "eth0:1" [1]. I did "ifup -a", and ssh,ftp, etc. to either address now work, but I've not tried rebooting yet. Then I looked at two other machines and saw the first entry was left as "eth0", and the 2nd address was called "eth0:0", 3rd was "eth0:1". Does this matter? And should I have changed anything else or is this really all there is to it? Darren [1]: # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) # The loopback interface iface lo inet loopback # The first network card - this entry was created during the Debian installation # (network, broadcast and gateway are optional) iface eth0:0 inet static address 211.123.38.194 netmask 255.255.255.240 network 211.123.38.192 broadcast 211.123.38.207 gateway 211.123.38.193 #Another interface on eth0 iface eth0:1 inet static address 211.123.38.197 netmask 255.255.255.240 network 211.123.38.192 broadcast 211.123.38.207 gateway 211.123.38.193
- Follow-Ups:
- Re: Adding interfaces
- From: "Scott M. Stone" <sstone@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re:new webpage: rikai.com
- Next by Date: new webpage: rikai.com
- Prev by thread: Re: new webpage: rikai.com
- Next by thread: Re: Adding interfaces
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links