1 |
Florian Philipp schrieb: |
2 |
> Dan Farrell schrieb: |
3 |
>> On Sun, 02 Sep 2007 05:12:11 -0500 |
4 |
>> Dale <dalek1967@×××××××××.net> wrote: |
5 |
>> |
6 |
>>> Florian Philipp wrote: |
7 |
>>>> Hi list! |
8 |
>>>> |
9 |
>>>> I'm trying to set up my laptop as the router for my PC. |
10 |
>>>> ... |
11 |
>>>> My problem: As soon as set up eth0 with "ifconfig 192.168.1.1 |
12 |
>>>> netmask 255.255.255.0 eth0" ppp0 is no longer used. |
13 |
>>> I do this too and I have this in my /etc/conf.d/net file on the one |
14 |
>>> that connects to the internet. |
15 |
>>> |
16 |
>>> gateway="ppp0" |
17 |
>>> |
18 |
>>> You may want to try that. |
19 |
>>> |
20 |
>>> Dale |
21 |
>> Yes, this is your problem Florian. You need to make sure the default |
22 |
>> route is not set to eth0, which will probably be done automatically for |
23 |
>> eth0 when you bring it up. |
24 |
>> |
25 |
>> In other words, follow Dale's advice. |
26 |
> |
27 |
> Thanks! At least they can ping each other now but routing still doesn't |
28 |
> work: "Destination host unreachable". |
29 |
> |
30 |
> Is there anything wrong with the server script in the howto? I've |
31 |
> already tried to deactivate ipv6 on the server. |
32 |
|
33 |
I'll attach relevant ifconfig, route and iptables -L output. |