PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Einwahlserver PPP -> Apache



pierre
26.06.01, 18:04
Hallo...

Ich bin gerade dabei einen Linux PPP-Server aufzusetzen ( suse 7.1 )...jedoch mit schwierigkeiten ;)... also die einwahl klappt soweit..auch mit Identifizierung PAP !!!!

Auf den PPP-Server läuft ein Apache..der funzt auch local...jedoch erreiche ich ihn nicht vom Client aus!!!!!
Ping funzt auch net...außer local!!
ist das vielleicht ne routing problem..oder dns...oder wie auch immer ich komm einfach net weiter... :(

für hilfen oder Tips wäre ich dankbar... :p

Oliver@Home
26.06.01, 20:42
ich schätze mal es ist das routing, wenn dein client bei der einwahl am server z.b. die ip 199.199.199.199 hat, musst du auch das routing konfigurieren, sonst weiss er ja garnicht wohin er muss.

poste mal deine konfiguration und auch die ausgabe von "ifconfig" und "route -n" :rolleyes:

gruss
oliver

pierre
28.06.01, 00:14
# /etc/ppp/options.ippp?
#
#
# Version: 27.08.97 (5.1)
#
#

/dev/ippp0

192.168.0.1:192.168.0.41

# The netmask
# it should be 255.255.255.255

netmask 255.255.255.255

# my user name
#user TEST
# my system name (only for CHAP!)
# name my_system_name
#name TEST
# accept IP addresses from peer
# use with dynamic IP
#ipcp-accept-local
#ipcp-accept-remote
noipdefault
# default route should be set by ipppd

defaultroute

# try to get IP address from interface
# option specific to ipppd (as opposed to pppd)
# use only with static IP
# useifip
# disable all header-compression
-vj

-vjccomp
-ac
-pc
-bsdcomp
# max receive unit

mru 1524
# max transmit unit

mtu 1500

# If this machine is a server, force authentication by uncommenting one
# of the following. However, if this machine is a client, doing this will
# prevent a succesful connection! (message "peer refused to authenticate").
# So, only uncomment on a server.

# "+pap" / "+chap" NUR AKTIVIEREN, WENN DIES EIN SERVER IST!!!

+pap

#+chap

# if you have problems with handshaking (no response for first
# lcp-package) try to decrease the retry-cycle. Default is 3 sec,
# try for example 2 sec:
# lcp-restart 2
# sometimes you need this:
#noccp
# Get dns info from peer

debug

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

#/etc/ppp/pap-secrets

"TEST" "*" "TEST"

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

Ifconfig bei der Verbindung von Server-Client

eth0 Link encap:Ethernet HW 00:30:05:06:E1:1D
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask 255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX patches:11893 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:9 Base address:0x9000

ippp0 Link encap: Point-to-Point Protocol
inet addr:192.168.0.1 P-t-P:192.168.0.41 Mask:255.255.255.0
UP POINTTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:46 errors:0 dropped:0 overruns:0 frame:0
TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:30

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3792 Metric:1
RX packets:79 errors:0 dropped:0 overruns:0 frame:0
TX packets:79 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0

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

route -n

Kernel IP routing table:

Destination Gateway Genmask Flags Metric Ref Use Iface

192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 ippp0