On Mon, Sep 11, 2000 at 04:03:55PM +0430, Saeed Zamani wrote:
> How can I set a secondary IP address on eth0 of my Linux box? In Solaris
> 2.5 I add the addresses in /etc/hostname.* but in Linux there isn't such file.
Basically there isn't much difference between the solaris & GNU/Linux ifconfig
command, just execute ifconfig eth0:0 xxx.xxx.xxx.xxx You need a Linux kernel
with ip aliasing support.
If you want to add a ip-address permanently you've to edit the network
configuration file this depends on your distribution (/etc/network/interfaces
for Debian 2.2 and run ifup -a)
-- Staf Wagemakers email : staf@digibel.org homepage : http://www.digibel.org/~staf -- To unsubscribe, see http://www.squid-cache.org/mailing-lists.htmlReceived on Tue Sep 12 2000 - 10:37:21 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:55:16 MST