From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1N77JS-00083l-07 for garchives@archives.gentoo.org; Sun, 08 Nov 2009 12:56:10 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 92129E089C; Sun, 8 Nov 2009 12:56:08 +0000 (UTC) Received: from mail-ew0-f206.google.com (mail-ew0-f206.google.com [209.85.219.206]) by pigeon.gentoo.org (Postfix) with ESMTP id 4994DE089C for ; Sun, 8 Nov 2009 12:56:08 +0000 (UTC) Received: by ewy2 with SMTP id 2so469058ewy.34 for ; Sun, 08 Nov 2009 04:56:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=pBNZ+0qIIoi9I0ChSq5thNDnms1N4Y386s99kjxI+Eo=; b=LmwxUE5gkkO4pEkOgVcrEJisnen5S3BzlNKbKO1+cOBg+/CxW5L+QUjWwssu8Nu7+C Ow6ub1+PpIpLT593rhF0tOZz+zUCL4WhEdaKFfWCX77UENdUGwxgY8KZTJcdPiN04F9v hhwc7MmU1UjP/W0ERUMTgI07JDAG58NiSBj0A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=CrtYTpNhqFnYomnSTirMwuK8aTL0bLEFLF+5KVUHnQRXpiu9ZMS8UjM5YBxBoqnnq/ SHLvWfHY1z5qP3g/FOtNlaPrliryfLg9bChmjQLXX+dF1xTzZ3fU55E7OA1ty6Kcx6WW mDVBxkvAkfsj05sXq5PisPeza56PAeokD9wJ0= Received: by 10.213.50.139 with SMTP id z11mr7605699ebf.36.1257684967761; Sun, 08 Nov 2009 04:56:07 -0800 (PST) Received: from ?85.183.112.3? ([85.183.112.3]) by mx.google.com with ESMTPS id 24sm3477128eyx.45.2009.11.08.04.56.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 08 Nov 2009 04:56:07 -0800 (PST) Message-ID: <4AF6DC03.30906@googlemail.com> Date: Sun, 08 Nov 2009 15:56:03 +0100 From: Tamer Higazi User-Agent: Thunderbird 2.0.0.23 (X11/20091016) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-server@lists.gentoo.org Reply-to: gentoo-server@lists.gentoo.org MIME-Version: 1.0 To: gentoo-server@lists.gentoo.org Subject: [gentoo-server] gentoo router and server on one machine, need help. Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Archives-Salt: 07828c4e-5d3d-4095-821c-07a482a9dea1 X-Archives-Hash: b8b96411c4164970b81a4f35537919d9 Hi people! I am not a network pro, therefor I ask you gladly for help. I have a gentoo box with 2 eth0 cards. I have red the gentoo home router guide at: http://www.gentoo.org/doc/en/home-router-howto.xml?style=printable but I need to use the machine as router as well as server itself. I have 2 NIC in the machine (eth0,eth1). On the machine is asterisk and apache installed. I want to use the machine a router and server as well. the sip gateway connected at eth0 is configured as: 192.168.1.5 with it's gateway 192.168.1.1 and nothing goes along to asterisk. I guess, it's not possible to have on the same gateway address a service running. Could you give me some good advise how to get the thing to run?! # This network configuration was written by net-setup config_ppp0=("ppp") link_ppp0="eth1" plugins_ppp0=("pppoe") pppd_ppp0=( "defaultroute" "usepeerdns" ) username_ppp0="xxxx" password_ppp0="xxxx" config_eth1=("85.183.112.3 broadcast 85.255.255.255 netmask 255.0.0.0") config_eth0=("192.168.1.1 broadcast 192.168.1.255 netmask 255.255.255.0") Tamer