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 1N77Qa-0000Yc-Ia for garchives@archives.gentoo.org; Sun, 08 Nov 2009 13:03:33 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B7A86E08E2; Sun, 8 Nov 2009 13:03:29 +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 7DBC7E08E2 for ; Sun, 8 Nov 2009 13:03:29 +0000 (UTC) Received: by ewy2 with SMTP id 2so471702ewy.34 for ; Sun, 08 Nov 2009 05:03:29 -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=uLJKWHNDvPjgXBcWI2JccIN3lZL9cvJDwWDTSf/LpWcAPuNkRCxlttfKW5kRqb4Q7E XEWJjOLi438gJjYnR4hvnWKLO/QxHNCqVB3fJlBKzkU0AFJ7XlDPtX1N/3k6RirYtjZu HDe5yxsbDSomPXVzf2tAZMDU0DHlXsaIzAmao= 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=xGNLohjla/VfSoI3KzQeu3AfzWiibBD257tlIJyhnoJCgVdnuEMbWV0HL64jNnf09t s9nZQfcOGjmPjZ0n+l2Jo2o6zqPQnKkgny2BRH/K4DN3z8Famzhf55fYuPSw5caUurlV Gl10NIi6KR/PYP9wpEqblUfULziyM63K33QRA= Received: by 10.213.1.5 with SMTP id 5mr1895432ebd.21.1257685408973; Sun, 08 Nov 2009 05:03:28 -0800 (PST) Received: from ?85.183.112.3? ([85.183.112.3]) by mx.google.com with ESMTPS id 5sm3504294eyf.23.2009.11.08.05.03.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 08 Nov 2009 05:03:28 -0800 (PST) Message-ID: <4AF6C19F.6080404@googlemail.com> Date: Sun, 08 Nov 2009 14:03:27 +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: 135c411d-5d1b-4bdb-ac0d-9c5850223990 X-Archives-Hash: 43079439ffbe07f40293f6ef3862277e 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