Route oder Bridge?? -- Hilfe

klaus nospam at gr7.com
Son Mai 20 13:28:48 BST 2007


Kai Bausch schrieb:
> Versuche als ersten mal folgendes!
>
> in die /etc/network/options ( falls nicht vorhanden einfach anlegen ! )
>
> ip_forward=yes
>   
War nicht da, habe ich jetzt angelegt
>
> Falls FW vorhanden und nicht als nat konfiguriert einfach zum test deaktivieren
> iptables -P INPUT ACCEPT
>
> iptables -P FORWARD ACCEPT
>
> iptables -P OUTPUT ACCEPT
>
>   
Hallo Kai,
vielen Dank für die schnelle Antwort.
Ich vermute, dass "FW vorhanden" das forwarding meint, bin mir aber
nicht ganz sicher was Du mir sagen willst. Habe die drei Befehle in
einem Terminal ausgeführt und dann das Netz neu geladen.  Vom Client ist
der Server nicht erreichbar. Ping nach 192.168.47.47 geht nicht.
Ich vermute, dass ich irgendwie das logische dev/eth0 vernichtet habe
und jetzt alle Einträge in ifaces für eth1 nicht beachtet werden.
Gestern hatte ich irgendwie erreicht, eth2 zu konfigurieren und die
Pings gingen wieder. Wo finde ich denn die dev Einträge für die
Netzwerk-Devices, bzw. wie kann ich das eth1 wieder erstellen?
Hier die Ausgaben (müsste da nicht eth1 auch irgendwo vorkommen?):
klabog at cruces:~$ sudo iptables -P INPUT ACCEPT
Password:
klabog at cruces:~$ sudo iptables -P FORWARD ACCEPT
klabog at cruces:~$ sudo iptables -P OUTPUT ACCEPT
klabog at cruces:~$ sudo /etc/init.d/networking force-reload
* Reconfiguring network
interfaces... 

There is already a pid file /var/run/dhclient.eth0.pid with pid 5271
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:13:8f:ad:cf:48
Sending on   LPF/eth0/00:13:8f:ad:cf:48
Sending on   Socket/fallback
DHCPRELEASE on eth0 to 192.168.1.1 port 67
There is already a pid file /var/run/dhclient.eth0.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:13:8f:ad:cf:48
Sending on   LPF/eth0/00:13:8f:ad:cf:48
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPOFFER from 192.168.1.1
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.102 -- renewal in 34368 seconds.
RTNETLINK answers: File exists
run-parts: /etc/network/if-up.d/avahi-autoipd exited with return code 2