Cisco IOS

From XMission Wiki
Revision as of 16:27, 9 November 2012 by Cyeates (talk | contribs)
Jump to: navigation, search

Cisco IOS PPPoE Proceedure

The following should work for most Cisco IOS versions.

On a Cisco device running IOS you will want to create a new PPPoE interface/dialer. The following should be what is needed:

'''interface Dialer1
ip address negotiated (you can also specify the ip with <xm ip address> <subnet mask>, but this is not recommended)
ip virtual-reassembly
encapsulation ppp
dialer pool 1
dialer-group 1
no cdp enable
ppp pap sent-username <xmusername> password <xmpassword> ''' 

You will then want to configure the WAN port interface to use this dialer:

interface FastEthernet<whatever interface> 
no ip address
no ip redirects
no ip unreachables
no ip proxy-arp
ip tcp adjust-mss 1452
duplex auto
speed auto
pppoe enable
pppoe-client dial-pool-number 1

Below is a walk through on what commands to enter:

After you telnet to the router and are at the CLI (command line interface) you will need to enter enable mode:

router>enable
password:

router#

You will then need to enter the configuration terminal to edit/add interfaces and commands:

router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
router(config)#

The next step is to configure the dialer/pppoe interface. We named this example Dialer1:

router(config)#interface Dialer1
router(config-if)#

Now all we need to do is add the options:

router(config-if)#ip address negotiated
router(config-if)#ip virtual-reassembly
router(config-if)#encapsulation ppp
router(config-if)#dialer pool 1
router(config-if)#dialer-group 1
router(config-if)#no cdp enable
router(config-if)#ppp pap sent-username <xmusername> password <xmpassword>
router(config-if)#exit

Last we need to configure the physical interface on the WAN port:

router(config)#interface FastEthernet<whatever interface>
router(config-if)#no ip address
router(config-if)#no ip redirects
router(config-if)#no ip unreachables
router(config-if)#no ip proxy-arp
router(config-if)#ip tcp adjust-mss 1452
router(config-if)#duplex auto
router(config-if)#speed auto
router(config-if)#pppoe enable
router(config-if)#pppoe-client dial-pool-number 1
router(config-if)#exit

Now we just need to exit and write the changes:

router(config)#exit
router#write