[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hilfe mein router routet nicht



Hallo Ulf,

Du schriebst gerade
Es ist nicht üblich, mehrere NICs im gleichen Subnet zu betreiben.
Sind mit "NICs" Netzwerkkarten gemeint?

Hier die noch fehlenden Informationen:
- Von welchem Interface auf welches Interface soll geroutet werden?
Von eth0 nach eth1 und eth2 (Aus dem WLan der Fritzbox ins interne Netz)
Von eth1 nach eth0 (Aus dem internen Netz an die Fritzbox und ins Internet über die Fritzbox)

- Was spricht "route -n"?
Kernel-IP-Routentabelle
Ziel            Router          Genmask         Flags   MSS Fenster irtt Iface
192.168.28.30   0.0.0.0         255.255.255.255 UH        0 0          0 eth2
192.168.30.0    0.0.0.0         255.255.255.0   U         0 0          0 eth0
192.168.28.0    0.0.0.0         255.255.255.0   U         0 0          0 eth1
0.0.0.0         192.168.30.1    0.0.0.0         UG        0 0          0 eth0

INTERFACES
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
    address 192.168.30.2
    netmask 255.255.255.0
    # network 192.168.30.0
    broadcast 192.168.30.255
    gateway 192.168.30.1

# The second network interface
auto eth1
iface eth1 inet static
    address 192.168.28.1
    netmask 255.255.255.0
    # network 192.168.28.0
    broadcast 192.168.28.255

# The third network interface (Direct DataServer connection)
auto eth2
iface eth2 inet static
    address 192.168.28.2
    netmask 255.255.255.0
    # network 192.168.28.0
    broadcast 192.168.28.255

up route add -host 192.168.28.30 netmask 255.255.255.255 dev eth2


Reply to: