Tag: UKgoodbyeGroup

 

Lab, simulation, configuring PPPoE client&server side GNS3

Lab, simulation, configuring PPPoE client&server side GNS3
Configuring PPPE_CCNA_RS GNS3
Step 1 Configuring PPPoE Server side
PPPoEServer#conf t
Enter configuration commands, one per line. End with CNTL/Z.
PPPoEServer(config)#bb?
bba-group
PPPoEServer(config)#bba-group ?
pppoe PPPoE type
PPPoEServer(config)#bba-group pppoe ?
WORD BBA Group name
global PPPoE global group

PPPoEServer(config)#bba-group pppoe UKgoodbyeGroup
PPPoEServer(config-bba-group)#
*Sep 6 11:41:03.807: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access1, changed state to up
PPPoEServer(config-bba-group)#
*Sep 6 11:41:03.815: %LINK-3-UPDOWN: Interface Virtual-Access1, changed state to up

PPPoEServer(config-bba-group)#virtual-template ?
Virtual Template interface number
PPPoEServer(config-bba-group)#virtual-template 26
PPPoEServer(config-bba-group)#?
BBA Group configuration commands:
control-packets PPPoE control packets related configuration
default Set a command to its defaults
exit Exit from BBA Group configuration mode
limit limit contents of pppoe control messages
mac-address Set mac address
nas-port Specific format for nas-port
nas-port-id Specific format for nas-port-id
no Negate a command or set its defaults
pado PADO delay options
pppoe PPPoE server selection configuration
service Services to be associated with this group
sessions BBA session commands
tag Configure processing options for a tag
vendor-tag PPPoE Vendor Specific Tag
virtual-template BBA virtual template command

PPPoEServer(config-bba-group)#sessions per-mac limit 2
PPPoEServer(config-bba-group)#exit
PPPoEServer(config)#interface virtual-template ?
Virtual-Template interface number

PPPoEServer(config)#interface virtual-template 26
PPPoEServer(config-if)#ip address 10.1.3.1 255.255.255.0

Authentication:
PPPoEServer(config-if)#ppp authentication chap callin

PPPoEServer(config-if)#peer default ip address ?
dhcp Use DHCP proxy client mechanism to allocate a peer IP address
dhcp-pool Use local DHCP pools to allocate a peer IP address
pool Use IP pool mechanism to allocate a peer IP address

PPPoEServer(config-if)#peer default ip address pool EUPool
PPPoEServer(config)#ip local pool EUPool 10.1.3.2 10.1.3.254

You must to create a username and password on the client side too.
PPPoEServer(config)#username Brexit password fromEU

Associate the interface of the server side:
PPPoEServer(config)#interface g4/0
PPPoEServer(config-if)#no ip address
PPPoEServer(config-if)#pppoe enable group UKgoodbyeGroup
PPPoEServer(config-if)#no shutdow
PPPoEServer(config-if)#

Step 2 Configuring PPPoE client side

PPPoEClient(config)#interface dialer 1
PPPoEClient(config-if)#dialer pool 1
PPPoEClient(config-if)#encapsulation ppp

The authentication from to client side to pppoe server, will as username “Brexit” and password “fromEU”.
PPPoEClient(config-if)#ppp chap hostname Brexit
PPPoEClient(config-if)#ppp chap password fromEU

PPPoEClient(config-if)#ip address negotiated

The MTU is 1500-8= 1492, because the PPP header adds 8 bytes of overhead to each frame.

PPPoEClient(config-if)#mtu ?
MTU size in bytes

PPPoEClient(config-if)#mtu 1492
PPPoEClient(config-if)#exi

PPPoEClient(config)#interface g4/0
PPPoEClient(config-if)#no ip address

PPPoEClient(config-if)#pppoe-client ?
dial-pool-number dialer pool keyword
ppp-max-payload Send PPP Max-Payload tag in PPPoE control packets

PPPoEClient(config-if)#pppoe-client dial-pool-number ?
Dialer pool number
PPPoEClient(config-if)#pppoe-client dial-pool-number 1
PPPoEClient(config-if)#no shutdown
PPPoEClient(config-if)#

The PPPoE session has successfully formed

*Sep 6 12:28:59.347: %DIALER-6-BIND: Interface Vi1 bound to profile Di1
PPPoEClient(config-if)#
*Sep 6 12:28:59.359: %LINK-3-UPDOWN: Interface Virtual-Access1, changed state to up
PPPoEClient(config-if)#
*Sep 6 12:29:00.039: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access1, changed state to up

Step 3 Verification

PPPoEClient#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.16.1 YES manual up up

Serial5/0 192.168.16.65 YES manual up up
Dialer1 10.1.3.2 YES IPCP up up
PPPoEClient#
The show pppoe session shows the session stablished on dialer 1 via GigabitEthernet4/0

PPoEClient#show pppoe session
1 client session

Uniq ID PPPoE RemMAC Port VT VA State
SID LocMAC VA-st Type
N/A 16 ca03.1540.0070 Gi4/0 Di1 Vi1 UP
ca01.0410.0070 UP
PPPoEClient#

Download the GNS3 file for the simulation WAN PPPoE and OSPF as routing protocol
[download id=”4137″]