From owner-freebsd-questions Thu Jan 25 22:23:58 2001 Delivered-To: freebsd-questions@freebsd.org Received: from bryden.apana.org.au (bryden.apana.org.au [203.3.126.129]) by hub.freebsd.org (Postfix) with ESMTP id C95BF37B402 for ; Thu, 25 Jan 2001 22:23:34 -0800 (PST) Received: from roadrunner (roadrunner.apana.org.au [203.3.126.132]) by bryden.apana.org.au (8.11.1/8.11.1) with SMTP id f0Q6NSA01327 for ; Fri, 26 Jan 2001 16:23:31 +1000 (EST) (envelope-from dougy@bryden.apana.org.au) Message-ID: <001101c08760$897aa3e0$847e03cb@apana.org.au> From: "Doug Young" To: Subject: Two IP addresses for one interface Date: Fri, 26 Jan 2001 16:23:40 +1000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000E_01C087B4.58135960" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_000E_01C087B4.58135960 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Is there any reason why one interface should NOT have two IP addresses = ?? My reason is to do with testing NAT .... I've got a problem thats been = driving me to distraction for ages & because it involves one of two tun's it costs = a mint to keep=20 dialling the incoming line to test changes. If I can try things on a = regular ethernet=20 interface I might have a chance of seeing whats not right without = enriching Tel$tra \any further. I guess the second (private) address is assigned similarly to the first = (public) one in /etc/rc.conf ??=20 ------=_NextPart_000_000E_01C087B4.58135960 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Is there any reason why one interface = should NOT=20 have two IP addresses ??
 
My reason is to do with testing NAT = .... I've got a=20 problem thats been driving me
to distraction for ages & because = it involves=20 one of two tun's it costs a mint to keep
dialling the incoming line to test = changes. If I=20 can try things on a regular ethernet
interface I might have a chance of = seeing whats not=20 right without enriching Tel$tra \any further.
 
I guess the second (private) address is = assigned=20 similarly to the first (public) one
in /etc/rc.conf = ?? 
------=_NextPart_000_000E_01C087B4.58135960-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message