Gentoo Archives: gentoo-server

From: "Halassy Zoltán" <zhalassy@×××××××.hu>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] gentoo router and server on one machine, need help.
Date: Mon, 09 Nov 2009 08:57:52
Message-Id: 4AF7D98C.7090806@loginet.hu
In Reply to: [gentoo-server] gentoo router and server on one machine, need help. by Tamer Higazi
1 > I am not a network pro, therefor I ask you gladly for help. I have a
2 > gentoo box with 2 eth0 cards.
3
4 You don't. You have two Ethernet cards maybe.
5
6 > config_ppp0=("ppp")
7 > link_ppp0="eth1"
8 > plugins_ppp0=("pppoe")
9 > pppd_ppp0=(
10 > "defaultroute"
11 > "usepeerdns"
12 > )
13 >
14 > username_ppp0="xxxx"
15 > password_ppp0="xxxx"
16 >
17 > config_eth1=("85.183.112.3 broadcast 85.255.255.255 netmask 255.0.0.0")
18 > config_eth0=("192.168.1.1 broadcast 192.168.1.255 netmask 255.255.255.0")
19
20 The main problem here is: Your internet connection is on ppp0, not eth1.
21 eth1 makes connection with your modem, so IP communication is not
22 direct, rather tunneled (you don't need an IP configuration therefore on
23 eth1).
24
25 config_eth1=("null")
26
27 Also remove the second config_ppp0 line, it overwrites your first one
28 which you need ( config_ppp0=("ppp") ). You should get your IP address
29 from your ISP even if it's static.

Attachments

File name MIME type
smime.p7s application/x-pkcs7-signature