From owner-freebsd-questions Thu May 23 16:28:18 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA03528 for questions-outgoing; Thu, 23 May 1996 16:28:18 -0700 (PDT) Received: from solar.os.com (root@solar.os.com [199.232.136.65]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id QAA03485 for ; Thu, 23 May 1996 16:28:12 -0700 (PDT) Received: from LOCALNAME (ppp1-os-gw.os.com [199.232.136.17]) by solar.os.com (8.7/8.7.0) with SMTP id TAA02633; Thu, 23 May 1996 19:28:32 -0400 Date: Thu, 23 May 1996 19:28:32 -0400 Message-Id: <199605232328.TAA02633@solar.os.com> X-Sender: craigs@os.com X-Mailer: Windows Eudora Version 1.4.4 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: Paul Walsh From: craigs@os.com (Craig Shrimpton) Subject: Re: Router IP address Cc: questions@freebsd.org Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >When the freeBSD box is routing, the router IP and the boxes IP are one >in the same. Is that right? > >Then how do I give the router a separate IP address?? > >Regards, Paul Walsh. > > IP addresses are assigned to interfaces not machines. In fact, using alias techniques, you can assign multiple addresses to the same interface. This is how virtual domains are done. A router will have a seperate (could be more than one) IP address for each ethernet card installed. If you only have one interface, then it's not a router it's a host. A router, often called a gateway but not to be confused with a bridge, is necessary to enable hosts on different subnets to talk. -Craig