Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.vbc.net!alpha.sky.net!winternet.com!news.cinenet.net!news.cais.net!news.jsums.edu!gatech!news.mathworks.com!fu-berlin.de!news.belwue.de!news.uni-stuttgart.de!uni-regensburg.de!uni-erlangen.de!news.th-darmstadt.de!apfel.zit.th-darmstadt.de!user From: petzi@zit.th-darmstadt.de (Michael Beckmann) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: How to do ifconfig alias Date: Thu, 11 Apr 1996 20:09:25 +0200 Organization: Technische Hochschule Darmstadt Lines: 18 Message-ID: <petzi-1104962009250001@apfel.zit.th-darmstadt.de> References: <316D1F69.9D9@shoreland.com> NNTP-Posting-Host: apfel.zit.th-darmstadt.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit In article <316D1F69.9D9@shoreland.com>, Thanva Khouvongsavanh <thanva@shoreland.com> wrote: > I setup the ethernet card in sysconfig > > ifconfig eth0 204.29.202.10 netmask 255.255.255.0 > > then in rc.local I do a > > ifconfig eth0 204.29.202.10 alias 204.29.202.11 In /etc/rc.local you must add: ifconfig eth0 204.29.202.11 netmask 255.255.255.255 alias This works for me (my machine currently has 3 IP aliases). Michael