From owner-freebsd-questions Tue Feb 20 4:48:30 2001 Delivered-To: freebsd-questions@freebsd.org Received: from siafu.iconnect.co.ke (upagraha.iconnect.co.ke [209.198.248.2]) by hub.freebsd.org (Postfix) with ESMTP id 4210737B4EC for ; Tue, 20 Feb 2001 04:48:22 -0800 (PST) (envelope-from wash@poeza.iconnect.co.ke) Received: from [212.22.163.2] (helo=poeza.iconnect.co.ke) by siafu.iconnect.co.ke with esmtp (Exim 2.12 #1) id 14VCBP-000FIf-00 for freebsd-questions@freebsd.org; Tue, 20 Feb 2001 15:46:19 +0300 Received: from wash by poeza.iconnect.co.ke with local (Exim 3.20 #1) id 14VCEb-0003u6-00 for freebsd-questions@freebsd.org; Tue, 20 Feb 2001 15:49:37 +0300 Date: Tue, 20 Feb 2001 15:49:36 +0300 From: Odhiambo Washington To: FBSD-Q Subject: Multiple IPs on FreeBSD and TCP/IP Message-ID: <20010220154936.A14608@poeza.iconnect.co.ke> Mail-Followup-To: Odhiambo Washington , FBSD-Q Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="X1bOJ3K7DJ5YkBrT" Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD poeza.iconnect.co.ke 4.2-STABLE FreeBSD 4.2-STABLE X-Location: Mombasa, KE, East Africa Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --X1bOJ3K7DJ5YkBrT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I'm a bit confused when it comes to having multiple IPs on one interface. Here is my situation: I have this box running 4.2-STABLE with an fxp0 to which I have assigned an IP in the range of 212.22.163.0/24. I also happen to have another small block of 64.110.74.48/28=20 So I have this: ifconfig_fxp0=3D"inet 212.22.163.2 netmask 255.255.255.0" ifconfig_fxp0_alias0=3D"inet 64.110.74.50 netmask 255.255.255.240" defaultrouter=3D"64.110.74.49" Now in this situation how does the box identify itself to the outside world? I have a gw of 212.22.163.1 but it seems if I use this for defaultrouter then some services seem to fail. TIA -Wash -- Odhiambo Washington Inter-Connect Ltd., wash@iconnect.co.ke 5th Flr Furaha Plaza Tel: 254 11 222604 Nkrumah Rd., Fax: 254 11 222636 PO Box 83613 MOMBASA, KE. I have discovered that all human evil comes from this, man's being unable t= o=20 sit still in a room. -Blaise Pascal=20 --X1bOJ3K7DJ5YkBrT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6kmfgA2k+MNyI/bERAn9BAJoDueNgi6LTjUXFQLdfPN6mBXdHZACguyST av6uGjHmQBz9B/IJ56cAv/k= =/eb5 -----END PGP SIGNATURE----- --X1bOJ3K7DJ5YkBrT-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message