public inbox for gentoo-server@lists.gentoo.org
 help / color / mirror / Atom feed
From: Tamer Higazi <th982a@googlemail.com>
To: gentoo-server@lists.gentoo.org
Subject: [gentoo-server] gentoo router and server on one machine, need help.
Date: Sun, 08 Nov 2009 14:03:27 +0100	[thread overview]
Message-ID: <4AF6C19F.6080404@googlemail.com> (raw)

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




             reply	other threads:[~2009-11-08 13:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-08 13:03 Tamer Higazi [this message]
2009-11-09  8:57 ` [gentoo-server] gentoo router and server on one machine, need help Halassy Zoltán
  -- strict thread matches above, loose matches on Subject: below --
2009-11-08 14:56 Tamer Higazi
2009-11-08 15:33 ` LMA1980

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AF6C19F.6080404@googlemail.com \
    --to=th982a@googlemail.com \
    --cc=gentoo-server@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox