User Tools

Site Tools


documentation:examples:pppoe_and_l2tp_lab

PPPoE and L2TP lab with mpd

This lab shows an example with MPD.

Presentation

Network diagram

Here is the logical and physical view:

Preparing

This chapter will describe how to start each routers.

Downloading BSD Router Project images

Download BSDRP a serial image for avoiding to have to use an X display.

Download Qemu/Virtualbox Lab scripts

More information on these BSDRP lab scripts available on How to build a BSDRP router lab.

Starting the lab

Using Qemu

Start the Qemu based lab with this command:

./qemu.sh -i BSDRP_0.35_full_i386_serial.img -n 4

The output should be like that:

BSD Router Project: Qemu lab script
(etc...)
Router1 have the folllowing NIC:
em0 connected to Router2.
em1 connected to Router3.
em2 connected to Router4.
Connect to the router 1 by telneting to localhost on port 8001
Router2 have the folllowing NIC:
em0 connected to Router1.
em1 connected to Router3.
em2 connected to Router4.
Connect to the router 2 by telneting to localhost on port 8002
Router3 have the folllowing NIC:
em0 connected to Router1.
em1 connected to Router2.
em2 connected to Router4.
Connect to the router 3 by telneting to localhost on port 8003
Router4 have the folllowing NIC:
em0 connected to Router1.
em1 connected to Router2.
em2 connected to Router3.
Connect to the router 4 by telneting to localhost on port 8004

Using Virtualbox

Start the Virtualbox based lab with this command:

./virtualbox.sh -i BSDRP_0.35_full_i386_serial.img -n 4

The output should be like that:

BSD Router Project VirtualBox lab script
(etc...)
Router1 have the folllowing NIC:
em0 connected to Router2.
em1 connected to Router3.
em2 connected to Router4.
Router2 have the folllowing NIC:
em0 connected to Router1.
em1 connected to Router3.
em2 connected to Router4.
Router3 have the folllowing NIC:
em0 connected to Router1.
em1 connected to Router2.
em2 connected to Router4.
Router4 have the folllowing NIC:
em0 connected to Router1.
em1 connected to Router2.
em2 connected to Router3.
Connect to the router 1 by telneting to localhost on port 8001
Connect to the router 2 by telneting to localhost on port 8002
Connect to the router 3 by telneting to localhost on port 8003
Connect to the router 4 by telneting to localhost on port 8004

Routers configuration

Router 1

Router 1 is configured as a simple workstation : PPPoE client.

Note: There is no IP address configured on the ethernet interface.

Modify configuration

Configure global parameters:

sysrc hostname=R1
sysrc gateway_enable=NO
sysrc ipv6_gateway_enable=NO
sysrc quagga_enable=NO
sysrc mpd_enable=YES
sysrc mpd_flags="-b -s ppp"

Configure mpd:

cat > /usr/local/etc/mpd5/mpd.conf <<'EOF'
default:
        create bundle static B1
        set bundle enable ipv6cp
        set ipcp enable req-pri-dns  
        set ipcp enable req-sec-dns  
        set iface route default
        create link static L1 pppoe
        set link action bundle B1
        set auth authname olivier
        set auth password secret
        set pppoe iface em0
        open
'EOF'

And apply your changes:

service netif restart
service routing restart
service quagga stop
service mpd5 start

Saving configuration

Save configuration:

config save

Router 2

Router 2 is configured as a BAS and LAC (forward PPP between PPPoE and L2TP).

Modify configuration

Set the base parameters:

sysrc hostname=R2
sysrc ifconfig_em1="10.0.23.2/24"
sysrc quagga_enable=NO
sysrc mpd_enable=YES
sysrc mpd_flags="-b -s ppp"

Configure mpd5:

cat > /usr/local/etc/mpd5/mpd.conf <<'EOF'
default:
        create link template L1 pppoe
        set pppoe iface em0
        set link action forward L2
        set link enable incoming
        create link template L2 l2tp
        set l2tp peer 10.0.23.3
'EOF'

And apply your changes:

service netif restart
service routing restart
service quagga stop
service mpd5 start

Saving configuration

Save configuration:

config save

Router 3

Router 3 is configured as a LNS (L2TP server).

Modify configuration

Set the global parameters:

sysrc hostname=R3
sysrc ifconfig_em1="10.0.23.3/24"
sysrc ifconfig_em2="88.88.88.4/24"
sysrc quagga_enable="NO"
sysrc mpd_enable=YES
sysrc mpd_flags="-b -s ppp"

Configure mpd5:

cat > /usr/local/etc/mpd5/mpd.conf <<'EOF'
default:
        set ippool add pool1 88.88.0.1 88.88.0.99
        create bundle template B
        set ipcp ranges 88.88.0.254/32 ippool pool1
        set ipcp dns 8.8.8.8
        set bundle enable ipv6cp
        create link template L l2tp
        set l2tp enable length
        set link action bundle B
        set link enable chap
        set auth authname Olivier
        set l2tp self 10.0.23.3
        set link enable incoming
'EOF'

Set the password:

cat > /usr/local/etc/mpd5/mpd.secret <<'EOF'
olivier         secret
'EOF'

And apply your changes:

service netif restart
service routing restart
service quagga stop
service mpd5 start

Saving configuration

Save configuration:

config save

Router 4

Router 4 is configured as simple host, and be used an Internet server too for testing connectivity with the PC.

Modify configuration

Set the basic parameters:

sysrc hostname=R4
sysrc defaultrouter="88.88.88.4"
sysrc ifconfig_em2="88.88.88.5/24"
sysrc quagga_enable=NO

And apply your changes:

service routing restart
service netif restart
service quagga stop

Saving configuration

Save configuration:

config save

Final testing

From R1, ping the server R4 (88.88.88.4):

[root@R1]~#ping 88.88.88.4
PING 88.88.88.4 (88.88.88.4): 56 data bytes
64 bytes from 88.88.88.4: icmp_seq=0 ttl=64 time=0.815 ms
64 bytes from 88.88.88.4: icmp_seq=1 ttl=64 time=1.497 ms
64 bytes from 88.88.88.4: icmp_seq=2 ttl=64 time=0.822 ms

From R1, ping the link-local remote IPv6 address on the PPP link (R3):

[root@R1]~#ping6 -I ng0 fe80::a8aa:00ff:fe00:0323
PING6(56=40+8+8 bytes) fe80::2bb:bbff:fe00:1%ng0 --> fe80::a8aa:ff:fe00:323
16 bytes from fe80::a8aa:ff:fe00:323%ng0, icmp_seq=0 hlim=64 time=0.890 ms
16 bytes from fe80::a8aa:ff:fe00:323%ng0, icmp_seq=1 hlim=64 time=1.376 ms
16 bytes from fe80::a8aa:ff:fe00:323%ng0, icmp_seq=2 hlim=64 time=1.290 ms
16 bytes from fe80::a8aa:ff:fe00:323%ng0, icmp_seq=3 hlim=64 time=0.901 ms

Full Logs

PPPoE client (R1)

cat /var/log/ppp.log
Mar  8 11:37:35 R1 ppp: process 1679 started, version 5.5 (root@bigdev.bsdrp.net 04:44  3-Apr-2011)
Mar  8 11:37:35 R1 ppp: Label 'startup' not found
Mar  8 11:37:35 R1 ppp: [B1] Bundle: Interface ng0 created
Mar  8 11:37:35 R1 ppp: [L1] Link: OPEN event
Mar  8 11:37:35 R1 ppp: [L1] LCP: Open event
Mar  8 11:37:35 R1 ppp: [L1] LCP: state change Initial --> Starting
Mar  8 11:37:35 R1 ppp: [L1] LCP: LayerStart
Mar  8 11:37:35 R1 ppp: [L1] PPPoE: Connecting to '*'
Mar  8 11:37:35 R1 ppp: PPPoE: rec'd ACNAME "R2"
Mar  8 11:37:35 R1 ppp: [L1] PPPoE: connection successful
Mar  8 11:37:35 R1 ppp: [L1] Link: UP event
Mar  8 11:37:35 R1 ppp: [L1] LCP: Up event
Mar  8 11:37:35 R1 ppp: [L1] LCP: state change Starting --> Req-Sent
Mar  8 11:37:35 R1 ppp: [L1] LCP: SendConfigReq #1
Mar  8 11:37:35 R1 ppp: [L1]   PROTOCOMP
Mar  8 11:37:35 R1 ppp: [L1]   MRU 1492
Mar  8 11:37:35 R1 ppp: [L1]   MAGICNUM 2cad751e
Mar  8 11:37:35 R1 ppp: [L1] LCP: rec'd Configure Request #1 (Req-Sent)
Mar  8 11:37:35 R1 ppp: [L1]   ACFCOMP
Mar  8 11:37:35 R1 ppp: [L1]   PROTOCOMP
Mar  8 11:37:35 R1 ppp: [L1]   MRU 1500
Mar  8 11:37:35 R1 ppp: [L1]   MAGICNUM 70e87e96
Mar  8 11:37:35 R1 ppp: [L1]   AUTHPROTO CHAP MSOFTv2
Mar  8 11:37:35 R1 ppp: [L1] LCP: SendConfigRej #1
Mar  8 11:37:35 R1 ppp: [L1]   ACFCOMP
Mar  8 11:37:35 R1 ppp: [L1] LCP: rec'd Configure Request #2 (Req-Sent)
Mar  8 11:37:35 R1 ppp: [L1]   PROTOCOMP
Mar  8 11:37:35 R1 ppp: [L1]   MRU 1500
Mar  8 11:37:35 R1 ppp: [L1]   MAGICNUM 70e87e96
Mar  8 11:37:35 R1 ppp: [L1]   AUTHPROTO CHAP MSOFTv2
Mar  8 11:37:35 R1 ppp: [L1] LCP: SendConfigAck #2
Mar  8 11:37:35 R1 ppp: [L1]   PROTOCOMP
Mar  8 11:37:35 R1 ppp: [L1]   MRU 1500
Mar  8 11:37:35 R1 ppp: [L1]   MAGICNUM 70e87e96
Mar  8 11:37:35 R1 ppp: [L1]   AUTHPROTO CHAP MSOFTv2
Mar  8 11:37:35 R1 ppp: [L1] LCP: state change Req-Sent --> Ack-Sent
Mar  8 11:37:37 R1 ppp: [L1] LCP: SendConfigReq #2
Mar  8 11:37:37 R1 ppp: [L1]   PROTOCOMP
Mar  8 11:37:37 R1 ppp: [L1]   MRU 1492
Mar  8 11:37:37 R1 ppp: [L1]   MAGICNUM 2cad751e
Mar  8 11:37:37 R1 ppp: [L1] LCP: rec'd Configure Ack #2 (Ack-Sent)
Mar  8 11:37:37 R1 ppp: [L1]   PROTOCOMP
Mar  8 11:37:37 R1 ppp: [L1]   MRU 1492
Mar  8 11:37:37 R1 ppp: [L1]   MAGICNUM 2cad751e
Mar  8 11:37:37 R1 ppp: [L1] LCP: state change Ack-Sent --> Opened
Mar  8 11:37:37 R1 ppp: [L1] LCP: auth: peer wants CHAP, I want nothing
Mar  8 11:37:37 R1 ppp: [L1] LCP: LayerUp
Mar  8 11:37:37 R1 ppp: [L1] CHAP: rec'd CHALLENGE #1 len: 28
Mar  8 11:37:37 R1 ppp: [L1]   Name: "Olivier"
Mar  8 11:37:37 R1 ppp: [L1] CHAP: Using authname "olivier"
Mar  8 11:37:37 R1 ppp: [L1] CHAP: sending RESPONSE #1 len: 61
Mar  8 11:37:37 R1 ppp: [L1] CHAP: rec'd SUCCESS #1 len: 46
Mar  8 11:37:37 R1 ppp: [L1]   MESG: S=467654170B8DD6BF974E1A860DA360E36C726982
Mar  8 11:37:37 R1 ppp: [L1] LCP: authorization successful
Mar  8 11:37:37 R1 ppp: [L1] Link: Matched action 'bundle "B1" ""'
Mar  8 11:37:37 R1 ppp: [L1] Link: Join bundle "B1"
Mar  8 11:37:37 R1 ppp: [B1] Bundle: Status update: up 1 link, total bandwidth 64000 bps
Mar  8 11:37:37 R1 ppp: [B1] IPCP: Open event
Mar  8 11:37:37 R1 ppp: [B1] IPCP: state change Initial --> Starting
Mar  8 11:37:37 R1 ppp: [B1] IPCP: LayerStart
Mar  8 11:37:37 R1 ppp: [B1] IPV6CP: Open event
Mar  8 11:37:37 R1 ppp: [B1] IPV6CP: state change Initial --> Starting
Mar  8 11:37:37 R1 ppp: [B1] IPV6CP: LayerStart
Mar  8 11:37:37 R1 ppp: [B1] IPCP: Up event
Mar  8 11:37:37 R1 ppp: [B1] IPCP: state change Starting --> Req-Sent
Mar  8 11:37:37 R1 ppp: [B1] IPCP: SendConfigReq #1
Mar  8 11:37:37 R1 ppp: [B1]   IPADDR 192.168.56.11
Mar  8 11:37:37 R1 ppp: [B1]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Mar  8 11:37:37 R1 ppp: [B1]   PRIDNS 0.0.0.0
Mar  8 11:37:37 R1 ppp: [B1]   SECDNS 0.0.0.0
Mar  8 11:37:37 R1 ppp: [B1] IPV6CP: Up event
Mar  8 11:37:37 R1 ppp: [B1] IPV6CP: state change Starting --> Req-Sent
Mar  8 11:37:37 R1 ppp: [B1] IPV6CP: SendConfigReq #1
Mar  8 11:37:37 R1 ppp: [B1] IPCP: rec'd Configure Request #1 (Req-Sent)
Mar  8 11:37:37 R1 ppp: [B1]   IPADDR 88.88.0.254
Mar  8 11:37:37 R1 ppp: [B1]     88.88.0.254 is OK
Mar  8 11:37:37 R1 ppp: [B1]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Mar  8 11:37:37 R1 ppp: [B1] IPCP: SendConfigAck #1
Mar  8 11:37:37 R1 ppp: [B1]   IPADDR 88.88.0.254
Mar  8 11:37:37 R1 ppp: [B1]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Mar  8 11:37:37 R1 ppp: [B1] IPCP: state change Req-Sent --> Ack-Sent
Mar  8 11:37:37 R1 ppp: [B1] IPV6CP: rec'd Configure Request #1 (Req-Sent)
Mar  8 11:37:37 R1 ppp: [B1] IPV6CP: SendConfigAck #1
Mar  8 11:37:37 R1 ppp: [B1] IPV6CP: state change Req-Sent --> Ack-Sent
Mar  8 11:37:37 R1 ppp: [B1] IPCP: rec'd Configure Reject #1 (Ack-Sent)
Mar  8 11:37:37 R1 ppp: [B1]   SECDNS 0.0.0.0
Mar  8 11:37:37 R1 ppp: [B1] IPCP: SendConfigReq #2
Mar  8 11:37:37 R1 ppp: [B1]   IPADDR 192.168.56.11
Mar  8 11:37:37 R1 ppp: [B1]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Mar  8 11:37:37 R1 ppp: [B1]   PRIDNS 0.0.0.0
Mar  8 11:37:37 R1 ppp: [B1] IPV6CP: rec'd Configure Ack #1 (Ack-Sent)
Mar  8 11:37:37 R1 ppp: [B1] IPV6CP: state change Ack-Sent --> Opened
Mar  8 11:37:37 R1 ppp: [B1] IPV6CP: LayerUp
Mar  8 11:37:37 R1 ppp: [B1]   02bb:bbff:fe00:0001 -> a8aa:00ff:fe00:0323
Mar  8 11:37:37 R1 ppp: [B1] IFACE: Up event
Mar  8 11:37:37 R1 ppp: [B1] IPCP: rec'd Configure Nak #2 (Ack-Sent)
Mar  8 11:37:37 R1 ppp: [B1]   IPADDR 88.88.0.1
Mar  8 11:37:37 R1 ppp: [B1]     88.88.0.1 is OK
Mar  8 11:37:37 R1 ppp: [B1]   PRIDNS 8.8.8.8
Mar  8 11:37:37 R1 ppp: [B1] IPCP: SendConfigReq #3
Mar  8 11:37:37 R1 ppp: [B1]   IPADDR 88.88.0.1
Mar  8 11:37:37 R1 ppp: [B1]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Mar  8 11:37:37 R1 ppp: [B1]   PRIDNS 8.8.8.8
Mar  8 11:37:37 R1 ppp: [B1] IPCP: rec'd Configure Ack #3 (Ack-Sent)
Mar  8 11:37:37 R1 ppp: [B1]   IPADDR 88.88.0.1
Mar  8 11:37:37 R1 ppp: [B1]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Mar  8 11:37:37 R1 ppp: [B1]   PRIDNS 8.8.8.8
Mar  8 11:37:37 R1 ppp: [B1] IPCP: state change Ack-Sent --> Opened
Mar  8 11:37:37 R1 ppp: [B1] IPCP: LayerUp
Mar  8 11:37:37 R1 ppp: [B1]   88.88.0.1 -> 88.88.0.254

LAC (R2)

cat /var/log/ppp.log                                                                                                                          
Mar  8 10:55:34 R2 newsyslog[1004]: logfile first created
Mar  8 11:36:05 R2 ppp: Multi-link PPP daemon for FreeBSD
Mar  8 11:36:05 R2 ppp:  
Mar  8 11:36:05 R2 ppp: process 3432 started, version 5.5 (root@bigdev.bsdrp.net 04:44  3-Apr-2011)
Mar  8 11:36:05 R2 ppp: Label 'startup' not found
Mar  8 11:36:05 R2 ppp: PPPoE: waiting for connection on em0:, service "*"
Mar  8 11:37:36 R2 ppp: Incoming PPPoE connection request via em0: for service "*" from aa:aa:00:00:01:12
Mar  8 11:37:36 R2 ppp: [L1-2] Accepting PPPoE connection
Mar  8 11:37:36 R2 ppp: [L1-2] Link: Matched action 'forward "L2"'
Mar  8 11:37:36 R2 ppp: [R-L1-2] Rep: INCOMING event from L1-2 (0)
Mar  8 11:37:36 R2 ppp: L2TP: Initiating control connection 0x801c8d110 0.0.0.0 0 <-> 10.0.23.3 1701
Mar  8 11:37:36 R2 ppp: [L1-2] PPPoE: connection successful
Mar  8 11:37:36 R2 ppp: L2TP: Control connection 0x801c8d110 10.0.23.2 37619 <-> 10.0.23.3 1701 connected
Mar  8 11:37:36 R2 ppp: [L2-3] L2TP: Incoming call #6190000 via control connection 0x801c8d110 initiated
Mar  8 11:37:36 R2 ppp: [L2-3] L2TP: Call #6190000 connected
Mar  8 11:37:36 R2 ppp: [R-L1-2] Rep: UP event from L2-3 (1)
Mar  8 11:37:36 R2 ppp: [R-L1-2] Rep: UP event from L1-2 (0)

LNS (R3)

cat /var/log/ppp.log
Mar  8 11:42:11 R3 ppp: process 1678 started, version 5.5 (root@bigdev.bsdrp.net 04:44  3-Apr-2011)
Mar  8 11:42:11 R3 ppp: Label 'startup' not found
Mar  8 11:42:11 R3 ppp: L2TP: waiting for connection on 10.0.23.3 1701
Mar  8 11:42:26 R3 ppp: Incoming L2TP packet from 10.0.23.2 37671
Mar  8 11:42:26 R3 ppp: L2TP: Control connection 0x801c90a10 10.0.23.3 1701 <-> 10.0.23.2 37671 connected
Mar  8 11:42:26 R3 ppp: L2TP: Incoming call #6190001 via connection 0x801c90a10 received
Mar  8 11:42:26 R3 ppp: [L-1] L2TP: Incoming call #6190001 via control connection 0x801c90a10 accepted
Mar  8 11:42:26 R3 ppp: [L-1] Link: OPEN event
Mar  8 11:42:26 R3 ppp: [L-1] LCP: Open event
Mar  8 11:42:26 R3 ppp: [L-1] LCP: state change Initial --> Starting
Mar  8 11:42:26 R3 ppp: [L-1] LCP: LayerStart
Mar  8 11:42:26 R3 ppp: [L-1] L2TP: Call #6190001 connected
Mar  8 11:42:26 R3 ppp: [L-1] Link: UP event
Mar  8 11:42:26 R3 ppp: [L-1] LCP: Up event
Mar  8 11:42:26 R3 ppp: [L-1] LCP: state change Starting --> Req-Sent
Mar  8 11:42:26 R3 ppp: [L-1] LCP: SendConfigReq #1
Mar  8 11:42:26 R3 ppp: [L-1]   ACFCOMP
Mar  8 11:42:26 R3 ppp: [L-1]   PROTOCOMP
Mar  8 11:42:26 R3 ppp: [L-1]   MRU 1500
Mar  8 11:42:26 R3 ppp: [L-1]   MAGICNUM 6d815426
Mar  8 11:42:26 R3 ppp: [L-1]   AUTHPROTO CHAP MSOFTv2
Mar  8 11:42:26 R3 ppp: [L-1] LCP: rec'd Configure Reject #1 (Req-Sent)
Mar  8 11:42:26 R3 ppp: [L-1]   ACFCOMP
Mar  8 11:42:26 R3 ppp: [L-1] LCP: SendConfigReq #2
Mar  8 11:42:26 R3 ppp: [L-1]   PROTOCOMP
Mar  8 11:42:26 R3 ppp: [L-1]   MRU 1500
Mar  8 11:42:26 R3 ppp: [L-1]   MAGICNUM 6d815426
Mar  8 11:42:26 R3 ppp: [L-1]   AUTHPROTO CHAP MSOFTv2
Mar  8 11:42:26 R3 ppp: [L-1] LCP: rec'd Configure Ack #2 (Req-Sent)
Mar  8 11:42:26 R3 ppp: [L-1]   PROTOCOMP
Mar  8 11:42:26 R3 ppp: [L-1]   MRU 1500
Mar  8 11:42:26 R3 ppp: [L-1]   MAGICNUM 6d815426
Mar  8 11:42:26 R3 ppp: [L-1]   AUTHPROTO CHAP MSOFTv2
Mar  8 11:42:26 R3 ppp: [L-1] LCP: state change Req-Sent --> Ack-Rcvd
Mar  8 11:42:28 R3 ppp: [L-1] LCP: rec'd Configure Request #2 (Ack-Rcvd)
Mar  8 11:42:28 R3 ppp: [L-1]   PROTOCOMP
Mar  8 11:42:28 R3 ppp: [L-1]   MRU 1492
Mar  8 11:42:28 R3 ppp: [L-1]   MAGICNUM bbb496f6
Mar  8 11:42:28 R3 ppp: [L-1] LCP: SendConfigAck #2
Mar  8 11:42:28 R3 ppp: [L-1]   PROTOCOMP
Mar  8 11:42:28 R3 ppp: [L-1]   MRU 1492
Mar  8 11:42:28 R3 ppp: [L-1]   MAGICNUM bbb496f6
Mar  8 11:42:28 R3 ppp: [L-1] LCP: state change Ack-Rcvd --> Opened
Mar  8 11:42:28 R3 ppp: [L-1] LCP: auth: peer wants nothing, I want CHAP
Mar  8 11:42:28 R3 ppp: [L-1] CHAP: sending CHALLENGE #1 len: 28
Mar  8 11:42:28 R3 ppp: [L-1] LCP: LayerUp
Mar  8 11:42:28 R3 ppp: [L-1] CHAP: rec'd RESPONSE #1 len: 61
Mar  8 11:42:28 R3 ppp: [L-1]   Name: "olivier"
Mar  8 11:42:28 R3 ppp: [L-1] AUTH: Trying INTERNAL
Mar  8 11:42:28 R3 ppp: [L-1] AUTH: INTERNAL returned: undefined
Mar  8 11:42:28 R3 ppp: [L-1] CHAP: Auth return status: undefined
Mar  8 11:42:28 R3 ppp: [L-1] CHAP: Response is valid
Mar  8 11:42:28 R3 ppp: [L-1] CHAP: Reply message: S=1D5B1FA4EF9CB1A946A2A4685B8332A0658BD16A
Mar  8 11:42:28 R3 ppp: [L-1] CHAP: sending SUCCESS #1 len: 46
Mar  8 11:42:28 R3 ppp: [L-1] LCP: authorization successful
Mar  8 11:42:28 R3 ppp: [L-1] Link: Matched action 'bundle "B" ""'
Mar  8 11:42:28 R3 ppp: [L-1] Creating new bundle using template "B".
Mar  8 11:42:28 R3 ppp: [B-1] Bundle: Interface ng0 created
Mar  8 11:42:28 R3 ppp: [L-1] Link: Join bundle "B-1"
Mar  8 11:42:28 R3 ppp: [B-1] Bundle: Status update: up 1 link, total bandwidth 64000 bps
Mar  8 11:42:28 R3 ppp: [B-1] IPCP: Open event
Mar  8 11:42:28 R3 ppp: [B-1] IPCP: state change Initial --> Starting
Mar  8 11:42:28 R3 ppp: [B-1] IPCP: LayerStart
Mar  8 11:42:28 R3 ppp: [B-1] IPV6CP: Open event
Mar  8 11:42:28 R3 ppp: [B-1] IPV6CP: state change Initial --> Starting
Mar  8 11:42:28 R3 ppp: [B-1] IPV6CP: LayerStart
Mar  8 11:42:28 R3 ppp: [B-1] IPCP: Up event
Mar  8 11:42:28 R3 ppp: [B-1] IPCP: Got IP 88.88.0.1 from pool "pool1" for peer
Mar  8 11:42:28 R3 ppp: [B-1] IPCP: state change Starting --> Req-Sent
Mar  8 11:42:28 R3 ppp: [B-1] IPCP: SendConfigReq #1
Mar  8 11:42:28 R3 ppp: [B-1]   IPADDR 88.88.0.254
Mar  8 11:42:28 R3 ppp: [B-1]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Mar  8 11:42:28 R3 ppp: [B-1] IPV6CP: Up event
Mar  8 11:42:28 R3 ppp: [B-1] IPV6CP: state change Starting --> Req-Sent
Mar  8 11:42:28 R3 ppp: [B-1] IPV6CP: SendConfigReq #1
Mar  8 11:42:28 R3 ppp: [B-1] IPCP: rec'd Configure Request #1 (Req-Sent)
Mar  8 11:42:28 R3 ppp: [B-1]   IPADDR 192.168.56.11
Mar  8 11:42:28 R3 ppp: [B-1]     NAKing with 88.88.0.1
Mar  8 11:42:28 R3 ppp: [B-1]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Mar  8 11:42:28 R3 ppp: [B-1]   PRIDNS 0.0.0.0
Mar  8 11:42:28 R3 ppp: [B-1]     NAKing with 8.8.8.8
Mar  8 11:42:28 R3 ppp: [B-1]   SECDNS 0.0.0.0
Mar  8 11:42:28 R3 ppp: [B-1] IPCP: SendConfigRej #1
Mar  8 11:42:28 R3 ppp: [B-1]   SECDNS 0.0.0.0
Mar  8 11:42:28 R3 ppp: [B-1] IPV6CP: rec'd Configure Request #1 (Req-Sent)
Mar  8 11:42:28 R3 ppp: [B-1] IPV6CP: SendConfigAck #1
Mar  8 11:42:28 R3 ppp: [B-1] IPV6CP: state change Req-Sent --> Ack-Sent
Mar  8 11:42:28 R3 ppp: [B-1] IPCP: rec'd Configure Ack #1 (Req-Sent)
Mar  8 11:42:28 R3 ppp: [B-1]   IPADDR 88.88.0.254
Mar  8 11:42:28 R3 ppp: [B-1]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Mar  8 11:42:28 R3 ppp: [B-1] IPCP: state change Req-Sent --> Ack-Rcvd
Mar  8 11:42:28 R3 ppp: [B-1] IPV6CP: rec'd Configure Ack #1 (Ack-Sent)
Mar  8 11:42:28 R3 ppp: [B-1] IPV6CP: state change Ack-Sent --> Opened
Mar  8 11:42:28 R3 ppp: [B-1] IPV6CP: LayerUp
Mar  8 11:42:28 R3 ppp: [B-1]   a8aa:00ff:fe00:0323 -> 02bb:bbff:fe00:0001
Mar  8 11:42:28 R3 ppp: [B-1] IFACE: Up event
Mar  8 11:42:28 R3 ppp: [B-1] IPCP: rec'd Configure Request #2 (Ack-Rcvd)
Mar  8 11:42:28 R3 ppp: [B-1]   IPADDR 192.168.56.11
Mar  8 11:42:28 R3 ppp: [B-1]     NAKing with 88.88.0.1
Mar  8 11:42:28 R3 ppp: [B-1]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Mar  8 11:42:28 R3 ppp: [B-1]   PRIDNS 0.0.0.0
Mar  8 11:42:28 R3 ppp: [B-1]     NAKing with 8.8.8.8
Mar  8 11:42:28 R3 ppp: [B-1] IPCP: SendConfigNak #2
Mar  8 11:42:28 R3 ppp: [B-1]   IPADDR 88.88.0.1
Mar  8 11:42:28 R3 ppp: [B-1]   PRIDNS 8.8.8.8
Mar  8 11:42:28 R3 ppp: [L-1] rec'd unexpected protocol IPv6
Mar  8 11:42:28 R3 ppp: [B-1] IPCP: rec'd Configure Request #3 (Ack-Rcvd)
Mar  8 11:42:28 R3 ppp: [B-1]   IPADDR 88.88.0.1
Mar  8 11:42:28 R3 ppp: [B-1]     88.88.0.1 is OK
Mar  8 11:42:28 R3 ppp: [B-1]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Mar  8 11:42:28 R3 ppp: [B-1]   PRIDNS 8.8.8.8
Mar  8 11:42:28 R3 ppp: [B-1] IPCP: SendConfigAck #3
Mar  8 11:42:28 R3 ppp: [B-1]   IPADDR 88.88.0.1
Mar  8 11:42:28 R3 ppp: [B-1]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Mar  8 11:42:28 R3 ppp: [B-1]   PRIDNS 8.8.8.8
Mar  8 11:42:28 R3 ppp: [B-1] IPCP: state change Ack-Rcvd --> Opened
Mar  8 11:42:28 R3 ppp: [B-1] IPCP: LayerUp
Mar  8 11:42:28 R3 ppp: [B-1]   88.88.0.254 -> 88.88.0.1
documentation/examples/pppoe_and_l2tp_lab.txt · Last modified: 2013/10/28 18:17 by olivier