feste IP Adresse und ppp

From: Matthias Teege <matthias-dbsdq(at)mteege.de>
Date: Sun, 12 Oct 2003 10:55:04 +0200

Moin,

mein Provider routet mir das Netz 212.21.92.152/29 auf meinen DSL
Anschluss. Allerdings habe ich ein Problem mit dem
Verbindungsaufbau. Es sieht so aus, als gekommt mein ppp die IP
Adresse der Gegenstelle nicht uebermittelt. Das sieht dann aus wie
in dem Log unten.

Ich habe nochmal die Dokumentation zu ppp gelesen, bin mir aber bei
der "set ifaddr" Einstellung nicht sicher. Momentan sieht das wie
folgt aus:

prov:
 set device PPPoE:dc0
 ident user-ppp VERSION (built COMPILATIONDATE)
 set MTU 1492
 set MRU 1492
 set dial
 set crtscts off
 set speed sync
 accept lqr
 enable lqr
 set lqrperiod 45
 set reconnect 3 5
 set redial 8 10
 set timeout 40 50
 disable deflate
 disable pred1
 disable vjcomp
 disable acfcomp
 disable protocomp
 set ifaddr 212.21.92.154/32 10.0.0.2/0
 add! default HISADDR

Bevor ich den Provider madig mache, wuerde mich interessieren, ob
ich eifnach einen Fehler in der Konfiguration habe. Verbindungen
ueber T-Online laufen problemlos.

Hier ein Auszug aus der Logdatei:

ppp[45540]: tun0: LCP: deflink: SendEchoRequest(4) state = Opened
ppp[45540]: tun0: LCP: deflink: RecvEchoReply(4) state = Opened
ppp[45687]: Phase: Using interface: tun0
ppp[45687]: Phase: deflink: Created in closed state
ppp[45687]: tun0: Command: prov: set device PPPoE:dc0
ppp[45687]: tun0: Command: prov: ident user-ppp VERSION (built COMPILATIONDATE)
ppp[45687]: tun0: Command: prov: set MTU 1492
ppp[45687]: tun0: Command: prov: set MRU 1492
ppp[45687]: tun0: Command: prov: set dial
ppp[45687]: tun0: Command: prov: set crtscts off
ppp[45687]: tun0: Command: prov: set speed sync
ppp[45687]: tun0: Command: prov: accept lqr
ppp[45687]: tun0: Command: prov: enable lqr
ppp[45687]: tun0: Command: prov: set lqrperiod 45
ppp[45687]: tun0: Command: prov: set reconnect 3 5
ppp[45687]: tun0: Command: prov: set redial 8 10
ppp[45687]: tun0: Command: prov: set timeout 40 50
ppp[45687]: tun0: Command: prov: disable deflate
ppp[45687]: tun0: Command: prov: disable pred1
ppp[45687]: tun0: Command: prov: disable vjcomp
ppp[45687]: tun0: Command: prov: disable acfcomp
ppp[45687]: tun0: Command: prov: disable protocomp
ppp[45687]: tun0: Command: prov: set ifaddr 212.21.92.154/32 10.0.0.2/0
ppp[45687]: tun0: Command: prov: add! default HISADDR
ppp[45687]: tun0: Command: prov: set login
ppp[45687]: tun0: Command: prov: set authname user
ppp[45687]: tun0: Command: prov: set authkey ********
ppp[45688]: tun0: Phase: PPP Started (ddial mode).
ppp[45688]: tun0: Phase: bundle: Establish
ppp[45688]: tun0: Phase: deflink: closed -> opening
ppp[45688]: tun0: Phase: deflink: Connected!
ppp[45688]: tun0: Phase: deflink: opening -> dial
ppp[45688]: tun0: Phase: deflink: dial -> carrier
ppp[45688]: tun0: Phase: Received NGM_PPPOE_ACNAME (hook "NBBX11-erx")
ppp[45688]: tun0: Phase: Received NGM_PPPOE_SESSIONID
ppp[45688]: tun0: Phase: Received NGM_PPPOE_SUCCESS
ppp[45688]: tun0: Phase: deflink: carrier -> login
ppp[45688]: tun0: Phase: deflink: login -> lcp
ppp[45688]: tun0: LCP: FSM: Using "deflink" as a transport
ppp[45688]: tun0: LCP: deflink: State change Initial --> Closed
ppp[45688]: tun0: LCP: deflink: State change Closed --> Stopped
ppp[45688]: tun0: LCP: deflink: RecvConfigReq(160) state = Stopped
ppp[45688]: tun0: LCP: MRU[4] 1492
ppp[45688]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP)
ppp[45688]: tun0: LCP: MAGICNUM[6] 0x11ee081e
ppp[45688]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped
ppp[45688]: tun0: LCP: MRU[4] 1492
ppp[45688]: tun0: LCP: MAGICNUM[6] 0x7f8d2f4e
ppp[45688]: tun0: LCP: QUALPROTO[8] proto c025, interval 45000ms
ppp[45688]: tun0: LCP: deflink: SendConfigAck(160) state = Stopped
ppp[45688]: tun0: LCP: MRU[4] 1492
ppp[45688]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP)
ppp[45688]: tun0: LCP: MAGICNUM[6] 0x11ee081e
ppp[45688]: tun0: LCP: deflink: LayerStart
ppp[45688]: tun0: LCP: deflink: State change Stopped --> Ack-Sent
ppp[45688]: tun0: LCP: deflink: RecvConfigRej(1) state = Ack-Sent
ppp[45688]: tun0: LCP: deflink: SendIdent(0) state = Ack-Sent
ppp[45688]: tun0: LCP: MAGICNUM 7f8d2f4e
ppp[45688]: tun0: LCP: TEXT user-ppp 3.1 (built Aug 29 2003)
ppp[45688]: tun0: LCP: QUALPROTO[8] proto c025, interval 45000ms
ppp[45688]: tun0: LCP: deflink: SendConfigReq(2) state = Ack-Sent
ppp[45688]: tun0: LCP: MRU[4] 1492
ppp[45688]: tun0: LCP: MAGICNUM[6] 0x7f8d2f4e
ppp[45688]: tun0: LCP: deflink: RecvConfigAck(2) state = Ack-Sent
ppp[45688]: tun0: LCP: MRU[4] 1492
ppp[45688]: tun0: LCP: MAGICNUM[6] 0x7f8d2f4e
ppp[45688]: tun0: LCP: deflink: State change Ack-Sent --> Opened
ppp[45688]: tun0: LCP: deflink: LayerUp
ppp[45688]: tun0: LCP: deflink: SendEchoRequest(0) state = Opened
ppp[45688]: tun0: LCP: deflink: SendIdent(1) state = Opened
ppp[45688]: tun0: LCP: MAGICNUM 7f8d2f4e
ppp[45688]: tun0: LCP: TEXT user-ppp 3.1 (built Aug 29 2003)
ppp[45688]: tun0: Phase: bundle: Authenticate
ppp[45688]: tun0: Phase: deflink: his = PAP, mine = none
ppp[45688]: tun0: Phase: Pap Output: user ********
ppp[45688]: tun0: LCP: deflink: RecvEchoReply(0) state = Opened
ppp[45688]: tun0: LCP: deflink: RecvConfigReq(1) state = Opened
ppp[45688]: tun0: LCP: deflink: LayerDown
ppp[45688]: tun0: LCP: MRU[4] 1456
ppp[45688]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
ppp[45688]: tun0: LCP: MAGICNUM[6] 0xd41920b2
ppp[45688]: tun0: LCP: MRRU[4] 1524
ppp[45688]: tun0: LCP: ENDDISC[12] Local Addr: koblenz-2
ppp[45688]: tun0: LCP: deflink: SendConfigReq(3) state = Opened
ppp[45688]: tun0: LCP: MRU[4] 1492
ppp[45688]: tun0: LCP: MAGICNUM[6] 0x95177bb6
ppp[45688]: tun0: LCP: QUALPROTO[8] proto c025, interval 45000ms
ppp[45688]: tun0: LCP: deflink: SendConfigRej(1) state = Opened
ppp[45688]: tun0: LCP: MRRU[4] 1524
ppp[45688]: tun0: LCP: deflink: SendIdent(2) state = Opened
ppp[45688]: tun0: LCP: MAGICNUM 95177bb6
ppp[45688]: tun0: LCP: TEXT user-ppp 3.1 (built Aug 29 2003)
ppp[45688]: tun0: LCP: deflink: State change Opened --> Req-Sent
ppp[45688]: tun0: LCP: deflink: RecvConfigAck(3) state = Req-Sent
ppp[45688]: tun0: LCP: MRU[4] 1492
ppp[45688]: tun0: LCP: MAGICNUM[6] 0x95177bb6
ppp[45688]: tun0: LCP: QUALPROTO[8] proto c025, interval 45000ms
ppp[45688]: tun0: LCP: deflink: State change Req-Sent --> Ack-Rcvd
ppp[45688]: tun0: LCP: deflink: RecvConfigReq(2) state = Ack-Rcvd
ppp[45688]: tun0: LCP: MRU[4] 1456
ppp[45688]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
ppp[45688]: tun0: LCP: MAGICNUM[6] 0xd41920b2
ppp[45688]: tun0: LCP: ENDDISC[12] Local Addr: koblenz-2
ppp[45688]: tun0: LCP: deflink: SendConfigNak(2) state = Ack-Rcvd
ppp[45688]: tun0: LCP: MRU[4] 1492
ppp[45688]: tun0: LCP: deflink: RecvConfigReq(3) state = Ack-Rcvd
ppp[45688]: tun0: LCP: MRU[4] 1492
ppp[45688]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
ppp[45688]: tun0: LCP: MAGICNUM[6] 0xd41920b2
ppp[45688]: tun0: LCP: ENDDISC[12] Local Addr: koblenz-2
ppp[45688]: tun0: LCP: deflink: SendConfigAck(3) state = Ack-Rcvd
ppp[45688]: tun0: LCP: MRU[4] 1492
ppp[45688]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
ppp[45688]: tun0: LCP: MAGICNUM[6] 0xd41920b2
ppp[45688]: tun0: LCP: ENDDISC[12] Local Addr: koblenz-2
ppp[45688]: tun0: LCP: deflink: State change Ack-Rcvd --> Opened
ppp[45688]: tun0: LCP: deflink: LayerUp
ppp[45688]: tun0: LCP: deflink: SendIdent(3) state = Opened
ppp[45688]: tun0: LCP: MAGICNUM 95177bb6
ppp[45688]: tun0: LCP: TEXT user-ppp 3.1 (built Aug 29 2003)
ppp[45688]: tun0: Phase: deflink: his = CHAP 0x05, mine = none
ppp[45688]: tun0: Phase: Chap Input: CHALLENGE (16 bytes from koblenz-2)
ppp[45688]: tun0: Phase: Chap Output: RESPONSE (user)
ppp[45688]: tun0: Phase: Chap Input: SUCCESS
ppp[45688]: tun0: CCP: FSM: Using "deflink" as a transport
ppp[45688]: tun0: CCP: deflink: State change Initial --> Closed
ppp[45688]: tun0: CCP: deflink: LayerStart.
ppp[45688]: tun0: CCP: MPPE: Not usable without CHAP81
ppp[45688]: tun0: CCP: deflink: SendConfigReq(1) state = Closed
ppp[45688]: tun0: CCP: [EMPTY]
ppp[45688]: tun0: CCP: deflink: State change Closed --> Req-Sent
ppp[45688]: tun0: Phase: deflink: lcp -> open
ppp[45688]: tun0: Phase: bundle: Network
ppp[45688]: tun0: IPCP: FSM: Using "deflink" as a transport
ppp[45688]: tun0: IPCP: deflink: State change Initial --> Closed
ppp[45688]: tun0: IPCP: deflink: LayerStart.
ppp[45688]: tun0: IPCP: deflink: SendConfigReq(1) state = Closed
ppp[45688]: tun0: IPCP: IPADDR[6] 212.21.92.154
ppp[45688]: tun0: IPCP: deflink: State change Closed --> Req-Sent
ppp[45688]: tun0: LCP: deflink: RecvProtocolRej(1) state = Opened
ppp[45688]: tun0: LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was rejected!
ppp[45688]: tun0: CCP: deflink: State change Req-Sent --> Stopped
ppp[45688]: tun0: LCP: deflink: RecvProtocolRej(2) state = Opened
ppp[45688]: tun0: LCP: deflink: -- Protocol 0x8021 (Internet Protocol Control Protocol) was rejected!
ppp[45688]: tun0: Phase: deflink: IPCP protocol reject closes IPCP !
ppp[45688]: tun0: IPCP: deflink: SendTerminateReq(1) state = Req-Sent
ppp[45688]: tun0: IPCP: deflink: State change Req-Sent --> Closing
ppp[45688]: tun0: Warning: Add! route failed: 0.0.0.0/0: errno: Network is unreachable
ppp[45688]: tun0: LCP: deflink: RecvEchoRequest(1) state = Opened
ppp[45688]: tun0: LCP: deflink: SendEchoReply(1) state = Opened
ppp[45688]: tun0: IPCP: deflink: SendTerminateReq(1) state = Closing
peated 2 times
ppp[45688]: tun0: LCP: deflink: RecvEchoRequest(2) state = Opened
ppp[45688]: tun0: LCP: deflink: SendEchoReply(2) state = Opened
ppp[45688]: tun0: IPCP: deflink: SendTerminateReq(1) state = Closing
ppp[45688]: tun0: IPCP: deflink: LayerFinish.
ppp[45688]: tun0: IPCP: Connect time: 16 secs: 0 octets in, 0 octets out
ppp[45688]: tun0: IPCP: 0 packets in, 0 packets out
ppp[45688]: tun0: IPCP: total 0 bytes/sec, peak 0 bytes/sec on Sun Oct 12 10:36:23 2003
ppp[45688]: tun0: IPCP: deflink: State change Closing --> Closed
ppp[45688]: tun0: Phase: Signal 15, terminate.
ppp[45688]: tun0: Phase: bundle: Terminate
ppp[45688]: tun0: CCP: deflink: State change Stopped --> Closed
ppp[45688]: tun0: CCP: deflink: State change Closed --> Initial
ppp[45688]: tun0: LCP: deflink: LayerDown
ppp[45688]: tun0: LCP: deflink: SendTerminateReq(4) state = Opened
ppp[45688]: tun0: LCP: deflink: State change Opened --> Closing
ppp[45688]: tun0: Phase: deflink: open -> lcp
ppp[45688]: tun0: IPCP: deflink: State change Closed --> Initial
ppp[45688]: tun0: LCP: deflink: RecvTerminateAck(4) state = Closing
ppp[45688]: tun0: LCP: deflink: LayerFinish
ppp[45688]: tun0: LCP: deflink: State change Closing --> Closed
ppp[45688]: tun0: LCP: deflink: State change Closed --> Initial
ppp[45688]: tun0: Phase: deflink: Disconnected!
ppp[45688]: tun0: Phase: deflink: lcp -> logout
ppp[45688]: tun0: Phase: deflink: logout -> hangup
ppp[45688]: tun0: Phase: deflink: Disconnected!
ppp[45688]: tun0: Phase: deflink: Connect time: 20 secs: 335 octets in, 574 octets out
ppp[45688]: tun0: Phase: deflink: 18 packets in, 28 packets out
ppp[45688]: tun0: Phase: total 45 bytes/sec, peak 226 bytes/sec on Sun Oct 12 10:36:23 2003
ppp[45688]: tun0: Phase: deflink: hangup -> closed
ppp[45688]: tun0: Phase: bundle: Dead
ppp[45688]: tun0: Phase: PPP Terminated (normal).

Vielen Dank
Matthias

-- 
Matthias Teege -- http://www.mteege.de
make world not war
PGP-Key auf Anfrage
To Unsubscribe: send mail to majordomo.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Sun 12 Oct 2003 - 12:31:30 CEST

search this site