From owner-freebsd-questions Tue Aug 27 3:40: 8 2002 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 3568C37B400 for ; Tue, 27 Aug 2002 03:40:02 -0700 (PDT) Received: from gw.smarts-gsm.ru (gw.smarts-gsm.ru [194.190.8.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92C6843E65 for ; Tue, 27 Aug 2002 03:39:56 -0700 (PDT) (envelope-from vss@gw.smarts-gsm.ru) Received: (from vss@localhost) by gw.smarts-gsm.ru (8.11.3/8.11.0-vlm) id g7RAdnO68285 for freebsd-questions@freebsd.org.AVP; Tue, 27 Aug 2002 14:39:49 +0400 (MSD) (envelope-from vss@gw.smarts-gsm.ru) X-Authentication-Warning: ns.smarts-gsm.ru: vss set sender to vss@gw.smarts-gsm.ru using -f Received: (from vss@localhost) by gw.smarts-gsm.ru (8.11.3/8.11.0-vlm) id g7RAdnU68273 for freebsd-questions@freebsd.org; Tue, 27 Aug 2002 14:39:49 +0400 (MSD) (envelope-from vss@gw.smarts-gsm.ru) Date: Tue, 27 Aug 2002 14:39:49 +0400 From: Vlad Skvortsov To: freebsd-questions@freebsd.org Subject: interface configuration Message-ID: <20020827143949.T96508@smarts-gsm.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i 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 Hi ! [I'm not on the list, please CC: me] I have the following configuration: foreigners 193.125.154.5 | | | [sbni0, ...] box1 [ed0, 192.168.0.101] | | (LAN)---[eth0/0, 192.168.0.1]cisco[as33, 1.2.3.4]---[as, 1.2.3.5]ISP | | [rl0, 192.168.0.103] box2 We have a range of 4 addresses available from ISP: 193.125.154.4-7. One address of this (6) is already used. Foreigners is foreign organization connected to our LAN. We forward another address to them (5). Cisco performs NAT for our internal addresses so that all connections coming outside look like originating at 1.2.3.4. The task is: assign box2 address 193.125.154.4 so that it would be transparently accessed from within LAN and outside. I cannot assign 193.125.154.4 with proper netmask to rl0 interface of box2, because it will then have 0s in host part. To my opinion the task divides into two subtasks: make box2 perform outgoing connections to nonlocal addresses with source address 193.125.154.4 and establish routing of ip packets targetting 193.125.154.4 to box2. Any ideas ? -- Vlad Skvortsov, vss@smarts-gsm.ru, vss@high.net.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message