Difference between revisions of "Cisco IOS"
Line 4: | Line 4: | ||
On a Cisco device running IOS you will want to create a new PPPoE interface/dialer. The following should be what is needed: | 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 | :interface Dialer1 | ||
Line 17: | Line 16: | ||
You will then want to configure the WAN port interface to use this dialer: | 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 | ||
+ | |||
+ | |||
+ | '''Specifically, you can follow these step-by-step instructions:''' | ||
After you telnet to the router and are at the CLI (command line interface) you will need to enter enable mode: | After you telnet to the router and are at the CLI (command line interface) you will need to enter enable mode: | ||
− | |||
− | |||
− | |||
− | router# | + | :router>enable |
− | + | :password: | |
+ | : | ||
+ | :router# | ||
+ | |||
You will then need to enter the configuration terminal to edit/add interfaces and commands: | You will then need to enter the configuration terminal to edit/add interfaces and commands: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | The next step is to configure the dialer/pppoe interface. We named this example Dialer1: | + | :router#config t |
− | + | :Enter configuration commands, one per line. End with CNTL/Z. | |
− | router(config)#interface Dialer1 | + | :router(config)# |
− | router(config-if)# | + | |
− | < | + | |
+ | 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 following 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: | Last we need to configure the physical interface on the WAN port: | ||
− | + | ||
− | router(config)#interface FastEthernet<whatever interface> | + | :router(config)#interface FastEthernet<whatever interface> |
− | router(config-if)#no ip address | + | :router(config-if)#no ip address |
− | router(config-if)#no ip redirects | + | :router(config-if)#no ip redirects |
− | router(config-if)#no ip unreachables | + | :router(config-if)#no ip unreachables |
− | router(config-if)#no ip proxy-arp | + | :router(config-if)#no ip proxy-arp |
− | router(config-if)#ip tcp adjust-mss 1452 | + | :router(config-if)#ip tcp adjust-mss 1452 |
− | router(config-if)#duplex auto | + | :router(config-if)#duplex auto |
− | router(config-if)#speed auto | + | :router(config-if)#speed auto |
− | router(config-if)#pppoe enable | + | :router(config-if)#pppoe enable |
− | router(config-if)#pppoe-client dial-pool-number 1 | + | :router(config-if)#pppoe-client dial-pool-number 1 |
− | router(config-if)#exit | + | :router(config-if)#exit |
− | + | ||
Now we just need to exit and write the changes: | Now we just need to exit and write the changes: | ||
− | + | ||
− | router(config)#exit | + | :router(config)#exit |
− | router#write | + | :router#write |
− |
Revision as of 15:33, 9 November 2012
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
Specifically, you can follow these step-by-step instructions:
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 following 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