From owner-freebsd-questions Wed Apr 10 23: 1:46 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.broadpark.no (mail.broadpark.no [217.13.4.2]) by hub.freebsd.org (Postfix) with ESMTP id 76EF337B404 for ; Wed, 10 Apr 2002 23:01:43 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.broadpark.no (Postfix) with ESMTP id 122727E6B for ; Thu, 11 Apr 2002 08:01:37 +0200 (MEST) Received: from 217.13.29.51 ( [217.13.29.51]) as user johann@mail.broadpark.no by mail.broadpark.no with HTTP; Thu, 11 Apr 2002 08:01:36 +0200 Message-ID: <1018504896.3cb526c0dd69e@mail.broadpark.no> Date: Thu, 11 Apr 2002 08:01:36 +0200 From: johann@broadpark.no To: questions@freebsd.org Subject: Network structure and setup MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1;q=1.0 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.0 X-Originating-IP: 217.13.29.51 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 Hello! Right now I'm sitting here on my workstation connected to my ADSL-modem trying to figure out how to make my gateway route things for me. I haven't yet found detailed enough documentation on how to set up this type of network. The handbook doesn't seem to help me much. I assume changes are made in rc.conf and rc.conf alone with gateway_enable="YES" and by running ifconfig on all NICs and desires IPs. I picture the network layout to be pretty basic; WORKSTATION (rl0) === GATEWAY (lnc0/ep0) === ADSL-MODEM 10.0.0.3 ============== 10.0.0.2 ============== 10.0.0.1 However when it comes to setting it up, --Workstation's rc.conf: ifconfig_rl0="10.0.0.3 netmask 255.255.255.0" --Gateway's rc.conf: defaultrouter="10.0.0.1" (ADSL-modem, Cisco 677i-DIR) ifconfig_lnc0="10.0.0.2 netmask 255.255.255.0" ifconfig_ep0="10.0.0.3 netmask 255.255.255.0" You can probably understand that I don't really comprehend networks. I'm also wondering how to use a different set of IPs. But how can my ADSL-modem modem be recognized when I suddenly change its IP in defaultrouter? And, I've also heard that I should not have multiple NICs on the same subnet. This is all so confusing :/ Regards, Johann To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message