1 |
Hi people! |
2 |
I am not a network pro, therefor I ask you gladly for help. I have a |
3 |
gentoo box with 2 eth0 cards. I have red the gentoo home router guide at: |
4 |
|
5 |
http://www.gentoo.org/doc/en/home-router-howto.xml?style=printable |
6 |
|
7 |
but I need to use the machine as router as well as server itself. |
8 |
|
9 |
I have 2 NIC in the machine (eth0,eth1). On the machine is asterisk and |
10 |
apache installed. I want to use the machine a router and server as well. |
11 |
|
12 |
the sip gateway connected at eth0 is configured as: |
13 |
192.168.1.5 with it's gateway 192.168.1.1 and nothing goes along to |
14 |
asterisk. |
15 |
|
16 |
I guess, it's not possible to have on the same gateway address a service |
17 |
running. Could you give me some good advise how to get the thing to run?! |
18 |
|
19 |
|
20 |
# This network configuration was written by net-setup |
21 |
|
22 |
config_ppp0=("ppp") |
23 |
link_ppp0="eth1" |
24 |
plugins_ppp0=("pppoe") |
25 |
pppd_ppp0=( |
26 |
"defaultroute" |
27 |
"usepeerdns" |
28 |
) |
29 |
|
30 |
username_ppp0="xxxx" |
31 |
password_ppp0="xxxx" |
32 |
|
33 |
config_eth1=("85.183.112.3 broadcast 85.255.255.255 netmask 255.0.0.0") |
34 |
config_eth0=("192.168.1.1 broadcast 192.168.1.255 netmask 255.255.255.0") |
35 |
|
36 |
Tamer |