From owner-freebsd-questions@FreeBSD.ORG Wed Aug 1 12:33:22 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 151A816A41A for ; Wed, 1 Aug 2007 12:33:22 +0000 (UTC) (envelope-from deeptech71@gmail.com) Received: from hu-out-0506.google.com (hu-out-0506.google.com [72.14.214.239]) by mx1.freebsd.org (Postfix) with ESMTP id 9AB2B13C468 for ; Wed, 1 Aug 2007 12:33:21 +0000 (UTC) (envelope-from deeptech71@gmail.com) Received: by hu-out-0506.google.com with SMTP id 28so132228hub for ; Wed, 01 Aug 2007 05:33:20 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=o34Zl4LQ94OLlgwcwqx0UirZGGoMEWkbuIkIRSqLFjFoejWXlAGCpXUPoVAk6tQbOhcGuzeGzssvg8vy0YgJcKdJr+WpakXR1834bfFbJXZzqvjEga8IE1jJVdJRjEkgadnCg7InCaIxxj2ru20cayUubbdxh0BsXuyJ1W+yJe0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=s472dx0qehB1YGuMwxWzZ+CFd99dMJfXb8t7WZ9Lpmhystn1oLvpupQmwUFVg7Olrp6au3rdPn12kWZJwGECwmjCqJjng3qa12Z1M2ZnnKIBDq55OeSyv2K1imTIXp3beE7gCaPu6ZtBhVpmvk5qyHTE6n47nOBXX43tDS2fyYA= Received: by 10.86.76.16 with SMTP id y16mr502890fga.1185970732505; Wed, 01 Aug 2007 05:18:52 -0700 (PDT) Received: from ?192.168.123.111? ( [84.2.148.148]) by mx.google.com with ESMTPS id e32sm1336785fke.2007.08.01.05.18.50 (version=SSLv3 cipher=RC4-MD5); Wed, 01 Aug 2007 05:18:52 -0700 (PDT) Message-ID: <46B07A29.8000304@gmail.com> Date: Wed, 01 Aug 2007 14:18:49 +0200 From: deeptech71@gmail.com User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: help, i'm setting up a router X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2007 12:33:22 -0000 Hi, I'm making a FreeBSD router with ppp and telnet access to it (currently part of a network with a hardware router). When I have 1 NIC in the FreeBSD machine (rl0), telnet works fine. Then I add another NIC (ed0). Telnet still works. rc.conf: ipconfig_rl0="inet 192.168.123.251 netmask 255.255.255.0" #ipconfig_ed0="inet 192.168.123.251 netmask 255.255.255.0" hostname="qw.erty.com" defaultrouter="192.168.123.254" inetd_enable="YES" gateway_enable="YES" My PC (192.168.123.111) is hooked up with the FreeBSD box, and through that, to the hardware router. In both cases, when the second line is commented or uncommented, routing doesn't seem to work. (Even if I change the second IP address, but why would that be good?) However, when it's uncommented, I can't connect to the FreeBSD via telnet! Errors on the FreeBSD screen, when my PC is hooked up with rl0: ed0: device timeout and when hooked up with ed0: kernel: arp: 192.168.123.111 is on ed0, but got reply [a MAC address] on rl0 WTF?! I have low experience with FreeBSD. What more should I do to make the routing work? One more question, what files does sysinstall edit (such as /etc/rc.conf) when configuring network interfaces? Thx