Thanks for the help
I just reinstalled Fedora. Probably not necessary but I want to do it right this time.
The only thing I changed until now is ifcfg-eth0. It now looks like this (configuration taken from Fedoranews.org):
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none
NETMASK=255.255.255.0
USERCTL=yes
PEERDNS=no
GATEWAY=eth1
TYPE=Ethernet
IPADDR=10.1.1.1
ifcfg-eth1:
DEVICE=eth1
BOOTPROTO=dhcp
HWADDR=00:50:BF:97:AB:7E
ONBOOT=yes
TYPE=Ethernet
ifconfig:
eth0 Link encap:Ethernet HWaddr 00:08:54:36:7B:87
inet addr:10.1.1.1 Bcast:10.1.1.255 Mask:255.255.255.0
inet6 addr: fe80::208:54ff:fe36:7b87/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:83 errors:0 dropped:0 overruns:0 frame:0
TX packets:58 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5884 (5.7 KiB) TX bytes:4956 (4.8 KiB)
Interrupt:11 Base address:0x2000
eth1 Link encap:Ethernet HWaddr 00:50:BF:97:AB:7E
inet addr:192.168.1.64 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::250:bfff:fe97:ab7e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1633 errors:0 dropped:0 overruns:0 frame:0
TX packets:1833 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:868991 (848.6 KiB) TX bytes:285703 (279.0 KiB)
Interrupt:10 Base address:0xe000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1400 errors:0 dropped:0 overruns:0 frame:0
TX packets:1400 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1812728 (1.7 MiB) TX bytes:1812728 (1.7 MiB)
route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
10.1.1.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
default dsldevice.lan 0.0.0.0 UG 0 0 0 eth1
resolv.conf:
; generated by /sbin/dhclient-script
search lan
nameserver 192.168.1.254
This nameserver should be ok. It's my router which forwards the requests.
Changing resolv.conf doesn't help because it gets overwritten by the dhcp every time I restart the network
Oh yeah, I also changed the net.ipv4.ip_forward-setting to 1