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 via email to