ppp nach re-connect mit mehreren IPs

pbtraveller

Well-Known Member
HI,

nutze pppoe mit folgenden Einstellungen unter freebsd 14.1. Leider bekommt die Kiste seit kurzem immer nach einem re-connect eine weitere IP-Adresse. Dachte
set ifaddr 0 0 verhindert das gerade. Was muss ich anpassen?

Code:
default:
  set log Phase Chat LCP IPCP CCP tun command    # Enable verbose logging
  set device PPPoE:igb0                         # Use igb0 interface for PPPoE
  set mru 1492                                  # Set the maximum receive unit
  set mtu 1492                                  # Set the maximum transmission unit
  set speed sync                                # Set synchronous mode for PPPoE
  enable lqr                                    # Enable Link Quality Reporting
  disable acfcomp protocomp vjcomp               # Disable unnecessary compressions
  set cd 5                                      # Carrier detect
  set timeout 0                                 # Do not timeout
  set redial 0 0                                # Unlimited redial attempts
  set ifaddr 0 0
  set ipcp noalias
  set ipcp ranges 0.0.0.0/0 0.0.0.0/0
  enable lqr                                    # Enable link quality reporting
  enable dns                                    # Request DNS settings from the ISP

o2:
  set authname "asfsdfdsdfdfd@s92.bbi-o2.de"                  # Your O2 PPPoE username
  set authkey "sdfsdfss"                   # Your O2 PPPoE password
  set dial                                      # Automatically dial on demand
  set login                                     # Use PAP/CHAP authentication
  add default HISADDR                           # Use the ISP-provided IP as the default gateway

Viele Grüße und einen schönen zweiten Weihnachtsfeiertag!

pbtraveller
 
Aus mir nicht mehr nachvollziehbaren Gründen bin ich damals auf https://www.freshports.org/net/mpd5/ gewechselt. OPNsense ist irgendwann auch gewechselt, welches ich jetzt schon länger sehr zufrieden benutze. Vielleicht willst du auch umsteigen oder das hier hilft dir irgendwie weiter:

Meine mpd_wan.conf:
Code:
default:
pppoeclient:
  create bundle static wan
  set bundle enable ipcp
  set bundle enable ipv6cp
  set iface name pppoe0
  set iface disable on-demand
  set iface idle 0
  set iface enable tcpmssfix
  set iface up-script /usr/local/opnsense/scripts/interfaces/ppp-linkup.sh
  set iface down-script /usr/local/opnsense/scripts/interfaces/ppp-linkdown.sh
  set ipcp ranges 0.0.0.0/0 0.0.0.0/0
  create link static wan_link0 pppoe
  set link action bundle wan
  set link disable multilink
  set link keep-alive 10 60
  set link max-redial 0
  set link disable chap pap
  set link accept chap pap eap
  set link disable incoming
  set link mtu 1492
  set auth authname "loginXXX"
  set auth password passwortXXX
  set pppoe service "providerXXX"
  set pppoe iface re0
        open

/usr/local/opnsense/scripts/interfaces/ppp-linkup.sh
Code:
#!/bin/sh

export PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin

IF="${1}"
AF="${2}"

DNS1=
if echo "${6}" | grep -q dns1; then
        DNS1="-a $(echo "${6}" | awk '{print $2}')"
fi

DNS2=
if echo "${7}" | grep -q dns2; then
        DNS2="-a $(echo "${7}" | awk '{print $2}')"
fi

ROUTER=
if [ -n "${4}" ]; then
        # XXX if this is link-local why bother stripping the required scope?
        ROUTER="-a $(echo ${4} | cut -d% -f1)"
fi

/usr/bin/logger -t ppp "ppp-linkup: executing on ${IF} for ${AF}"

if [ "${AF}" = "inet" ]; then
        /usr/local/sbin/ifctl -i ${IF} -4nd ${DNS1} ${DNS2}
        /usr/local/sbin/ifctl -i ${IF} -4rd ${ROUTER}
        /usr/local/opnsense/scripts/interfaces/ppp-ipv6.php ${IF} 4
        /usr/local/sbin/configctl -d interface newip ${IF} force
elif [ "${AF}" = "inet6" ]; then
        /usr/local/sbin/ifctl -i ${IF} -6nd ${DNS1} ${DNS2}
        /usr/local/sbin/ifctl -i ${IF} -6rd ${ROUTER}
        /usr/local/sbin/configctl -d interface newipv6 ${IF} force
fi

touch /tmp/${IF}_uptime

exit 0

/usr/local/opnsense/scripts/interfaces/ppp-linkdown.sh
Code:
#!/bin/sh

export PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin

IF="${1}"
AF="${2}"

/usr/bin/logger -t ppp "ppp-linkdown: executing on ${IF} for ${AF}"

ngctl shutdown ${IF}:

if [ "${AF}" = "inet" ]; then
        /usr/local/sbin/ifctl -i ${IF} -4nd
        /usr/local/sbin/ifctl -i ${IF} -4rd

        /usr/local/sbin/configctl -d interface newip ${IF}
elif [ "${AF}" = "inet6" ]; then
        # remove previous SLAAC addresses as the ISP may
        # not respond to these in the upcoming session
        /usr/local/sbin/ifctl -i ${IF} -f

        /usr/local/sbin/ifctl -i ${IF} -6nd
        /usr/local/sbin/ifctl -i ${IF} -6rd

        /usr/local/sbin/configctl -d interface newipv6 ${IF}
fi

UPTIME=$(/usr/local/opnsense/scripts/interfaces/ppp-uptime.sh ${IF})
if [ -n "${UPTIME}" -a -f "/conf/${IF}.log" ]; then
        echo $(date -j +%Y.%m.%d-%H:%M:%S) ${UPTIME} >> /conf/${IF}.log
fi

rm -f /tmp/${IF}_uptime

exit 0
 
HI,

nutze pppoe mit folgenden Einstellungen unter freebsd 14.1. Leider bekommt die Kiste seit kurzem immer nach einem re-connect eine weitere IP-Adresse. Dachte
set ifaddr 0 0 verhindert das gerade. Was muss ich anpassen?

Code:
default:
  set log Phase Chat LCP IPCP CCP tun command    # Enable verbose logging
  set device PPPoE:igb0                         # Use igb0 interface for PPPoE
  set mru 1492                                  # Set the maximum receive unit
  set mtu 1492                                  # Set the maximum transmission unit
  set speed sync                                # Set synchronous mode for PPPoE
  enable lqr                                    # Enable Link Quality Reporting
  disable acfcomp protocomp vjcomp               # Disable unnecessary compressions
  set cd 5                                      # Carrier detect
  set timeout 0                                 # Do not timeout
  set redial 0 0                                # Unlimited redial attempts
  set ifaddr 0 0
  set ipcp noalias
  set ipcp ranges 0.0.0.0/0 0.0.0.0/0
  enable lqr                                    # Enable link quality reporting
  enable dns                                    # Request DNS settings from the ISP

o2:
  set authname "asfsdfdsdfdfd@s92.bbi-o2.de"                  # Your O2 PPPoE username
  set authkey "sdfsdfss"                   # Your O2 PPPoE password
  set dial                                      # Automatically dial on demand
  set login                                     # Use PAP/CHAP authentication
  add default HISADDR                           # Use the ISP-provided IP as the default gateway

Viele Grüße und einen schönen zweiten Weihnachtsfeiertag!

pbtraveller

Magst du evtl. sonst auch einfmal die komplette ausgabe von ifconfig posten wenn die zweite ip da ist?

Wenn du möchtest kannst du IP & Mac-Addressen natürlich anonymisieren
 
Anonymisierte Logs von Login und reconnect wären natürlich auch interessant. Was für ein Gerät werkelt bei dir eigentlich davor?
Mein lokaler ISP hat irgendwann letztes Jahr auf vlan7 umgestellt, o2 anscheinend auch (7,11): https://hilfe.o2online.de/dsl-kabel...nie-34/zugangsdaten-pppoe-fuer-fritzbox-60443

Anekdotisch: Meinem Vater wurde das via Mail mitgeteilt und sogar ein Wunschtermin zur Umstellung ermöglicht, mir allerdings nicht. Ich habe bei mir zunächst auf OPNsense das tag eingerichtet. Klappt, aber weil pppoe kein echtes Interface ist, funktioniert das leider nur bis zum reconnect. Also umgedübelt, das erste Gerät setzt nun vlan7 + passthrough und die OPNsense macht pppoe untagged wie gehabt.
 
HIer der relevante Teil des Logfiles:

Code:
Dec 28 07:23:48 LittelGate ppp[495]: tun0: LCP: deflink: SendEchoReply(6) state = Opened
Dec 28 07:24:18 LittelGate ppp[495]: tun0: LCP: deflink: RecvEchoRequest(7) state = Opened
Dec 28 07:24:18 LittelGate ppp[495]: tun0: LCP: deflink: SendEchoReply(7) state = Opened
Dec 28 07:24:48 LittelGate ppp[495]: tun0: LCP: deflink: RecvEchoRequest(8) state = Opened
Dec 28 07:24:48 LittelGate ppp[495]: tun0: LCP: deflink: SendEchoReply(8) state = Opened
Dec 28 07:25:02 LittelGate ppp[495]: tun0: Phase: Received NGM_PPPOE_CLOSE
Dec 28 07:25:02 LittelGate ppp[495]: tun0: Phase: deflink: Device disconnected
Dec 28 07:25:02 LittelGate ppp[495]: tun0: CCP: deflink: State change Stopped --> Closed
Dec 28 07:25:02 LittelGate ppp[495]: tun0: CCP: deflink: State change Closed --> Initial
Dec 28 07:25:02 LittelGate ppp[495]: tun0: LCP: deflink: LayerDown
Dec 28 07:25:02 LittelGate ppp[495]: tun0: LCP: deflink: State change Opened --> Starting
Dec 28 07:25:02 LittelGate ppp[495]: tun0: Phase: deflink: open -> lcp
Dec 28 07:25:02 LittelGate ppp[495]: tun0: IPCP: deflink: LayerDown: 77.XXX.XXX.XX
Dec 28 07:25:02 LittelGate ppp[495]: tun0: IPCP: deflink: State change Opened --> Starting
Dec 28 07:25:02 LittelGate ppp[495]: tun0: IPCP: deflink: LayerFinish.
Dec 28 07:25:02 LittelGate ppp[495]: tun0: IPCP: Connect time: 86400 secs: 17783937808 octets in, 202151040 octets out
Dec 28 07:25:02 LittelGate ppp[495]: tun0: IPCP: 12313223 packets in, 2013094 packets out
Dec 28 07:25:02 LittelGate ppp[495]: tun0: IPCP:  total 208172 bytes/sec, peak 11701658 bytes/sec on Sat Dec 28 04:54:09 2024
Dec 28 07:25:02 LittelGate ppp[495]: tun0: IPCP: deflink: State change Starting --> Initial
Dec 28 07:25:02 LittelGate ppp[495]: tun0: Phase: bundle: Terminate
Dec 28 07:25:02 LittelGate ppp[495]: tun0: LCP: deflink: LayerFinish
Dec 28 07:25:02 LittelGate ppp[495]: tun0: LCP: deflink: State change Starting --> Initial
Dec 28 07:25:02 LittelGate ppp[495]: tun0: Phase: deflink: Disconnected!
Dec 28 07:25:02 LittelGate ppp[495]: tun0: Phase: deflink: lcp -> logout
Dec 28 07:25:02 LittelGate ppp[495]: tun0: Phase: deflink: Disconnected!
Dec 28 07:25:02 LittelGate ppp[495]: tun0: Phase: deflink: logout -> hangup
Dec 28 07:25:02 LittelGate ppp[495]: tun0: Phase: deflink: Connect time: 86401 secs: 17759347394 octets in, 206205990 octets out
Dec 28 07:25:02 LittelGate ppp[495]: tun0: Phase: deflink: 12316129 packets in, 2015931 packets out
Dec 28 07:25:02 LittelGate ppp[495]: tun0: Phase:  total 207932 bytes/sec, peak 11718074 bytes/sec on Sat Dec 28 04:54:09 2024
Dec 28 07:25:02 LittelGate ppp[495]: tun0: Phase: deflink: hangup -> opening
Dec 28 07:25:02 LittelGate ppp[495]: tun0: Phase: bundle: Establish
Dec 28 07:25:02 LittelGate ppp[495]: tun0: Phase: deflink: Enter pause (3) for redialing.
Dec 28 07:25:02 LittelGate ppp[495]: tun0: Chat: deflink: Reconnect try 1 of 0
Dec 28 07:25:05 LittelGate ppp[495]: tun0: Chat: deflink: Redial timer expired.
Dec 28 07:25:05 LittelGate ppp[495]: tun0: Phase: deflink: Connected!
Dec 28 07:25:05 LittelGate ppp[495]: tun0: Phase: deflink: opening -> dial
Dec 28 07:25:05 LittelGate ppp[495]: tun0: Phase: deflink: dial -> carrier
Dec 28 07:25:06 LittelGate ppp[495]: tun0: Phase: Received NGM_PPPOE_ACNAME (hook "XXXXX")
Dec 28 07:25:06 LittelGate ppp[495]: tun0: Phase: Received NGM_PPPOE_SESSIONID
Dec 28 07:25:06 LittelGate ppp[495]: tun0: Phase: Received NGM_PPPOE_SUCCESS
Dec 28 07:25:06 LittelGate ppp[495]: tun0: Phase: deflink: carrier -> login
Dec 28 07:25:06 LittelGate ppp[495]: tun0: Phase: deflink: login -> lcp
Dec 28 07:25:06 LittelGate ppp[495]: tun0: LCP: FSM: Using "deflink" as a transport
Dec 28 07:25:06 LittelGate ppp[495]: tun0: LCP: deflink: State change Initial --> Closed
Dec 28 07:25:06 LittelGate ppp[495]: tun0: LCP: deflink: State change Closed --> Stopped
Dec 28 07:25:06 LittelGate ppp[495]: tun0: LCP: deflink: RecvConfigReq(151) state = Stopped
Dec 28 07:25:06 LittelGate ppp[495]: tun0: LCP:  MRU[4] 1492
Dec 28 07:25:06 LittelGate ppp[495]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP)
Dec 28 07:25:06 LittelGate ppp[495]: tun0: LCP:  MAGICNUM[6] 0x4d3e4e02
Dec 28 07:25:06 LittelGate ppp[495]: tun0: LCP: deflink: SendConfigReq(3) state = Stopped
Dec 28 07:25:06 LittelGate ppp[495]: tun0: LCP:  MRU[4] 1492
Dec 28 07:25:06 LittelGate ppp[495]: tun0: LCP:  MAGICNUM[6] 0xb7b01278
Dec 28 07:25:06 LittelGate ppp[495]: tun0: LCP:  QUALPROTO[8] proto c025, interval 30000ms
Dec 28 07:25:06 LittelGate ppp[495]: tun0: LCP: deflink: SendConfigAck(151) state = Stopped
Dec 28 07:25:06 LittelGate ppp[495]: tun0: LCP: deflink: SendConfigAck(151) state = Stopped
Dec 28 07:25:06 LittelGate ppp[495]: tun0: LCP:  MRU[4] 1492
Dec 28 07:25:06 LittelGate ppp[495]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP)
Dec 28 07:25:06 LittelGate ppp[495]: tun0: LCP:  MAGICNUM[6] 0x4d3e4e02
Dec 28 07:25:06 LittelGate ppp[495]: tun0: LCP: deflink: LayerStart
Dec 28 07:25:06 LittelGate ppp[495]: tun0: LCP: deflink: State change Stopped --> Ack-Sent
Dec 28 07:25:06 LittelGate ppp[495]: tun0: LCP: deflink: RecvConfigRej(3) state = Ack-Sent
Dec 28 07:25:06 LittelGate ppp[495]: tun0: LCP:  QUALPROTO[8] proto c025, interval 30000ms
Dec 28 07:25:06 LittelGate ppp[495]: tun0: LCP: deflink: SendConfigReq(4) state = Ack-Sent
Dec 28 07:25:06 LittelGate ppp[495]: tun0: LCP:  MRU[4] 1492
Dec 28 07:25:06 LittelGate ppp[495]: tun0: LCP:  MAGICNUM[6] 0xb7b01278
Dec 28 07:25:06 LittelGate ppp[495]: tun0: LCP: deflink: RecvConfigAck(4) state = Ack-Sent
Dec 28 07:25:06 LittelGate ppp[495]: tun0: LCP:  MRU[4] 1492
Dec 28 07:25:06 LittelGate ppp[495]: tun0: LCP:  MAGICNUM[6] 0xb7b01278
Dec 28 07:25:06 LittelGate ppp[495]: tun0: LCP: deflink: State change Ack-Sent --> Opened
Dec 28 07:25:06 LittelGate ppp[495]: tun0: LCP: deflink: LayerUp
Dec 28 07:25:06 LittelGate ppp[495]: tun0: Phase: bundle: Authenticate
Dec 28 07:25:06 LittelGate ppp[495]: tun0: Phase: deflink: his = PAP, mine = none
Dec 28 07:25:06 LittelGate ppp[495]: tun0: Phase: Pap Output: DSL0XXXXX@xxx.bbi-o2.de ********
Dec 28 07:25:07 LittelGate ppp[495]: tun0: Phase: Pap Input: SUCCESS (Accepted.)
Dec 28 07:25:07 LittelGate ppp[495]: tun0: CCP: FSM: Using "deflink" as a transport
Dec 28 07:25:07 LittelGate ppp[495]: tun0: CCP: deflink: State change Initial --> Closed
Dec 28 07:25:07 LittelGate ppp[495]: tun0: CCP: deflink: LayerStart.
Dec 28 07:25:07 LittelGate ppp[495]: tun0: CCP: MPPE: Not usable without CHAP81
Dec 28 07:25:07 LittelGate ppp[495]: tun0: CCP: deflink: SendConfigReq(1) state = Closed
Dec 28 07:25:07 LittelGate ppp[495]: tun0: CCP:  DEFLATE[4] win 15
Dec 28 07:25:07 LittelGate ppp[495]: tun0: CCP:  PRED1[2]
Dec 28 07:25:07 LittelGate ppp[495]: tun0: CCP: deflink: State change Closed --> Req-Sent
Dec 28 07:25:07 LittelGate ppp[495]: tun0: Phase: deflink: lcp -> open
Dec 28 07:25:07 LittelGate ppp[495]: tun0: Phase: bundle: Network
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP: FSM: Using "deflink" as a transport
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP: deflink: State change Initial --> Closed
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP: deflink: LayerStart.
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP: deflink: SendConfigReq(3) state = Closed
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP:  IPADDR[6] 77.XXX.XXX.XX
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP:  PRIDNS[6] 62.XXX.XXX.X
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP:  SECDNS[6] 62.XXX.XXX.X
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP: deflink: State change Closed --> Req-Sent
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP: deflink: RecvConfigReq(1) state = Req-Sent
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP:  IPADDR[6] 62.XXX.XXX.XXX
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP: deflink: SendConfigAck(1) state = Req-Sent
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP:  IPADDR[6] 62.XXX.XXX.XXX
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent
Dec 28 07:25:07 LittelGate ppp[495]: tun0: LCP: deflink: RecvProtocolRej(1) state = Opened
Dec 28 07:25:07 LittelGate ppp[495]: tun0: LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was rejected!
Dec 28 07:25:07 LittelGate ppp[495]: tun0: CCP: deflink: State change Req-Sent --> Stopped
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP: deflink: RecvConfigNak(3) state = Ack-Sent
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP:  IPADDR[6] 78.XXX.XXX.XXX
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP:  IPADDR[6] changing address: 77.XXX.XXX.XXX  --> 78.XXX.XXX.XXX
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP:  PRIDNS[6] 62.XXX.XXX.X
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP:  SECDNS[6] 62.XXX.XXX.X
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP: Primary nameserver set to 62.XXX.XXX.X
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP: Secondary nameserver set to 62.XXX.XXX.X
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP: deflink: SendConfigReq(4) state = Ack-Sent
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP:  IPADDR[6] 78.XX.XXX.XXX
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP:  PRIDNS[6] 62.XXX.XXX.X
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP:  SECDNS[6] 62.XXX.XXX.X
Dec 28 07:25:07 LittelGate ppp[495]: tun0: Warning: ff02::/: Change route failed: errno: File exists
Dec 28 07:25:07 LittelGate syslogd: last message repeated 1 times
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP: deflink: RecvConfigAck(4) state = Ack-Sent
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP:  IPADDR[6] 78.XX.XXX.XXX
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP:  PRIDNS[6] 62.XXX.XXX.X
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP:  SECDNS[6] 62.XXX.XXX.X
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP: deflink: State change Ack-Sent --> Opened
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP: deflink: LayerUp.
Dec 28 07:25:07 LittelGate ppp[495]: tun0: IPCP: myaddr 78.XX.XXX.XXX hisaddr = 62.XX.XXX.XX
Dec 28 07:25:37 LittelGate ppp[495]: tun0: LCP: deflink: RecvEchoRequest(1) state = Opened
Dec 28 07:25:37 LittelGate ppp[495]: tun0: LCP: deflink: SendEchoReply(1) state = Opened
Dec 28 07:26:22 LittelGate ppp[495]: tun0: LCP: deflink: RecvEchoRequest(2) state = Opened
Dec 28 07:26:22 LittelGate ppp[495]: tun0: LCP: deflink: SendEchoReply(2) state = Opened
Dec 28 07:26:52 LittelGate ppp[495]: tun0: LCP: deflink: RecvEchoRequest(3) state = Opened
Dec 28 07:26:52 LittelGate ppp[495]: tun0: LCP: deflink: SendEchoReply(3) state = Opened
Dec 28 07:27:22 LittelGate ppp[495]: tun0: LCP: deflink: RecvEchoRequest(4) state = Opened
Dec 28 07:27:22 LittelGate ppp[495]: tun0: LCP: deflink: SendEchoReply(4) state = Opened
Dec 28 07:27:52 LittelGate ppp[495]: tun0: LCP: deflink: RecvEchoRequest(5) state = Opened
Dec 28 07:27:52 LittelGate ppp[495]: tun0: LCP: deflink: SendEchoReply(5) state = Opened
Dec 28 07:28:22 LittelGate ppp[495]: tun0: LCP: deflink: RecvEchoRequest(6) state = Opened

und der output von ifconfig

tun0: flags=1008051<UP,POINTOPOINT,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 1492
options=80000<LINKSTATE>
inet 77.XXX.XX.5X --> 62.XX.XXX.XX netmask 0xffffffff
inet 89.XX.XX.1XX --> 62.XX.XXX.XX netmask 0xffffffff
inet6 fexx::xxx:xxx:xxx:xxxx%tun0 prefixlen 64 scopeid 0x8
groups: tun
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
Opened by PID 495

Vielen Dank für Eure Hilfe!
 
Zunächst das kann 1x weg, die Zeile hast du doppelt: enable lqr # Enable Link Quality Reporting

Gerade ka, was Protocol 0x80fd ist, aber das kannst du auch disablen, wenn es eh abgelehnt wird:
Dec 28 07:25:07 LittelGate ppp[495]: tun0: LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was rejected!

Ka, ob das auch die zu ändernde/kickende IP blockiert:
Dec 28 07:25:07 LittelGate ppp[495]: tun0: Warning: ff02::/: Change route failed: errno: File exists

Jedenfalls ist mir beim Lesen von https://docs.freebsd.org/en/books/handbook/ppp-and-slip/ jetzt nicht klar geworden, ob du den internen ppp-Client verwendest oder diesen https://cgit.freebsd.org/ports/tree/net/pptpclient/

Für letzteren ist set ifaddr 0 0bei dynamischer IP korrekt, bei ersterem wäre es set ifaddr 10.0.0.1/0 10.0.0.2/0
 
Zurück
Oben