From owner-freebsd-questions Tue Dec 21 1:31: 8 1999 Delivered-To: freebsd-questions@freebsd.org Received: from oznet15.ozemail.com.au (oznet15.ozemail.com.au [203.2.192.116]) by hub.freebsd.org (Postfix) with ESMTP id 655BB15432 for ; Tue, 21 Dec 1999 01:31:04 -0800 (PST) (envelope-from death@southcom.com.au) Received: from windows (1Cust62.tnt1.hba1.da.uu.net [210.84.240.62]) by oznet15.ozemail.com.au (8.9.0/8.6.12) with ESMTP id UAA28715; Tue, 21 Dec 1999 20:30:52 +1100 (EST) Message-Id: <4.2.2.19991221190055.00a31100@mail.southcom.com.au> X-Sender: death@mail.southcom.com.au X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2 Date: Tue, 21 Dec 1999 20:30:23 +1100 To: "David Uzzell" From: death Subject: Re: Multi IP's to one interface ie. tun0 Cc: In-Reply-To: <001d01bf4b7d$209fc500$0200a8c0@web.saintspc.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 05:32 PM 21/12/1999 +1100, David Uzzell wrote: >I have finally got my permanent connection going. >I have to setup the dialup as for a router which is fine but I need to be >able to serve www page and mail of the same machine. >How would I go about having multi ip's set for the one interface tun0 If they're real IPs that your ISP or whoever gave you (ie: not 10.* 192.168.* or 127.*) then you can just do something like: ifconfig lo0 inet yer.ip.goes.here alias That machine now has that IP address. You can do it as many times as you like for all of your IPs. Worked for my friend with his 80 odd IPs. To remove an ip just do the same but have "-alias" instead. Cheers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message