From owner-freebsd-questions Mon Feb 10 9:22:58 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD2D237B401 for ; Mon, 10 Feb 2003 09:22:56 -0800 (PST) Received: from darkpossum.medill.northwestern.edu (darkpossum.medill.northwestern.edu [129.105.51.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0A6C43F85 for ; Mon, 10 Feb 2003 09:22:55 -0800 (PST) (envelope-from possum@darkpossum.medill.northwestern.edu) Received: from darkpossum.medill.northwestern.edu (bb1e6c71a3ecd5f42996124506bfec98@localhost.medill.northwestern.edu [127.0.0.1]) by darkpossum.medill.northwestern.edu (8.12.6/8.12.6) with ESMTP id h1AHDRuN037845 for ; Mon, 10 Feb 2003 11:13:27 -0600 (CST) (envelope-from possum@darkpossum.medill.northwestern.edu) Received: (from possum@localhost) by darkpossum.medill.northwestern.edu (8.12.6/8.12.6/Submit) id h1AHDR9A037844 for freebsd-questions@freebsd.org; Mon, 10 Feb 2003 11:13:27 -0600 (CST) Date: Mon, 10 Feb 2003 11:13:27 -0600 From: Redmond Militante To: freebsd-questions@freebsd.org Subject: rc.conf syntax for ip alias on external nic Message-ID: <20030210171327.GA37804@darkpossum> Reply-To: Redmond Militante Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bp/iNruPH9dso1Pn" Content-Disposition: inline User-Agent: Mutt/1.4i X-Sender: redmond@darkpossum.medill.northwestern.edu X-URL: http://darkpossum.medill.northwestern.edu/modules.php?name=Content&pa=showpage&pid=1 X-DSS-PGP-Fingerprint: F9E7 AFEA 0209 B164 7F83 E727 5213 FAFA 1511 7836 X-Tofu: The other white meat substitute. Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline hi i have the following lines in my rc.conf, and i was wondering if my syntax was ok: ------- #here, i'm setting the ip/subnet mask for outside nic interface for a dual homed gateway box ifconfig_xl0="inet 129.x.x.35 netmask 255.255.255.0" #declaring three network interfaces - outside nic interface for gateway, internal interface for private subnet, and loopback network_interfaces="xl0 xl1 lo0" #not sure about the following lines: trying to alias two public ip's to the outside nic interface for the gateway. the gateway will use ipnat to nat these public ip's to two internal client machines hooked up to the internal interface - xl1- of the gateway box ifconfig_xl0_alias0="inet 129.x.x.6 netmask 255.0.0.0" ifconfig_xl0_alias1="inet 129.x.x.5 netmask 255.0.0.0" #inside nic of gateway box ifconfig_xl1="inet 192.168.1.1 netmask 255.0.0.0" ------- i'm having trouble i think with the two aliases to the outside nic of the gateway. it works fine when i have only one client hooked up to the gateway, but when i have both clients hooked up to the gateway through a hub, i have problems - mainly, i reboot both machines, and one machine usually freezes on reboot. any advice would be really appreciated thanks redmond --bp/iNruPH9dso1Pn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+R922FNjun16SvHYRAqttAJ0do1+lA/H2GMYZHf9A3ZX1WWYJOgCdEIYR a1ljDbyYfbqZEVDw3dlPhRo= =byDm -----END PGP SIGNATURE----- --bp/iNruPH9dso1Pn-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message