From owner-freebsd-questions Tue Apr 21 14:28:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA28524 for freebsd-questions-outgoing; Tue, 21 Apr 1998 14:28:24 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.apc.net (mail.inhousecorp.com [207.113.177.8] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id VAA28372 for ; Tue, 21 Apr 1998 21:28:01 GMT (envelope-from dima@apc.net) Received: from icg-apc-pr1-p23.apc.net (icg-apc-pr1-p23.apc.net [207.211.76.177]) by mail.apc.net (NTMail 3.03.0013/1d.aag5) with ESMTP id ba818325 for ; Tue, 21 Apr 1998 14:27:20 -0700 Message-Id: <3.0.5.32.19980421142448.00917dc0@mail.apc.net> X-Sender: dima@mail.apc.net X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Tue, 21 Apr 1998 14:24:48 -0700 To: jmire@lsumc.edu (Mire, John) From: Dima Dorfman Subject: RE: IP Aliasing supported? Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG try ifconfig_ed0_alias0="inet AAA.BB.CC.2 netmask 0xffffff00" ifconfig_ed0_alias1="inet AAA.BB.CC.3 netmask 0xffffff00" Someone will correct me if I'm wrong, but it works for me :-) At 04:14 PM 4/21/98 -0500, you wrote: >speaking of IP aliasing on an interface, currently I'm using the >following rc.local entry to set ip aliases >on the ep0 interface: > >/bin/echo -n 'setting alias for ep0 interface:' >/sbin/ifconfig ep0 inet AAA.BB.CCC.2 netmask 255.255.255.0 alias >/sbin/ifconfig ep0 inet AAA.BB.CCC.3 netmask 255.255.255.0 alias >/bin/echo ' done.' > >is there any way to accomplish this with an entry in rc.conf, i.e., > >for primary interface: >ifconfig_ep0="inet AAA.BB.CCC.1 netmask 255.255.255.0" > >then for the aliases: >ifconfig_ep0="inet AAA.BB.CCC.2 netmask 255.255.255.0 alias" >ifconfig_ep0="inet AAA.BB.CCC.3 netmask 255.255.255.0 alias" > > >\john > >-- >John Mire: jmire@lsumc.edu >LSUMC Shreveport Computer Services >pgpkey: >voice: 318.675.5443 >fax: 318.675.4641 > > > >> ---------- >> From: Doug White[SMTP:dwhite@gdi.uoregon.edu] >> Reply To: Doug White >> Sent: Monday, April 20, 1998 4:01 PM >> To: Francis Vidal >> Cc: FreeBSD Questions >> Subject: Re: IP Aliasing supported? >> >> On Mon, 20 Apr 1998, Francis Vidal wrote: >> >> > is IP aliasing supported in FreeBSD? >> >> Yes. >> >> (This covers both types -- IP address aliasing on interfaces and what >> Linux calls ``IP Masquerading''.) >> >> Doug White | University of Oregon >> Internet: dwhite@resnet.uoregon.edu | Residence Networking >> Assistant >> http://gladstone.uoregon.edu/~dwhite | Computer Science Major >> >> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-questions" in the body of the message >> > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > --- Dima Dorfman (dima@apc.net) "640k ought to be enough for anybody." - Bill Gates, 1981 Micro$oft $ucks! FreeBSD Rules! http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message