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

[Debian]: Re: : Isdn routing Problem



Hi,

>> "FA" == Florian Attenberger <valdyn@net-con.net> writes:


FA> Bei "/etc/init.d/isdnutils start" wird die Routing Tabelle bestens
FA> aufgebaut. Wenn aber nach einer ersten Anwahl automatisch aufgelegt wird,
FA> dann wird (komischerweise) die default route fuer ippp0 rausgeschmissen.

FA> Dann muss die route von Hand wieder aufbauen, damits wieder geht:
FA> "route add default ippp0"

Schau mal unter /etc/ppp/ip-down.d nach.
Da sollte eine Datei isdnutils sein. Achte darauf, daß sie executable
ist. 
Diese sollte so aussehen:
--------------------------------------------------

#!/bin/sh

# example /etc/ppp/ip-down.d script for use with ipppd and dynamic IP numbers.
# Edit / add to the entries to suit the requirements of the interface.

case "$PPP_IFACE" in
        ippp0)  # route del default             # this disables dial-on-demand
                route add default $PPP_IFACE    # this enables dial-on-demand
                # The next lines are for masquerading over ippp link.
                # hostname -i should give ip address of local network interface
                # See comments in /etc/isdn/device.* about firewalling!
                # ipfwadm -I -d accept -W $PPP_IFACE -P tcp -D $PPP_LOCAL smtp
                # ipfwadm -I -d accept -W $PPP_IFACE -P udp -D $PPP_LOCAL 1024:
                # masquerading rules, for transparently connecting local net to
                # ETH_IP=`hostname -i | tr -d ' '`
                # ipfwadm -F -d accept -m -P tcp -S $ETH_IP/24
                # ipfwadm -F -d accept -m -P udp -S $ETH_IP/24
                ;;
esac
                ;;
esac

--------------------------------------------------

Wenn die Internetverbindung beendet wird, dann sollte die defaultroute 
wieder gesetzt werden.

Gruss, Reha

------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie
bitte eine E-Mail an majordomo@jfl.de die im Body
"unsubscribe debian-user-de <deine emailadresse>"
enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@jfl.de
------------------------------------------------
Anzahl der eingetragenen Mitglieder:     670


Reply to: