CHAPTER 5 EXAMPLES OF SETUP ON NETWORKS
PPPoE SETUP EXAMPLE
Set the PPPoE interface Ethernet0.1. Specify the ID and password information and authentication response types (both PAP and CHAP) used to connect to a provider. In this example,
As the IP address of Ehternet0.1, use the one acquired by IPCP.
Router (config) # ppp profile biglobe Enter
Router (config − ppp − biglobe) # authentication myname my − router@xxx.nec.com Router (config − ppp − biglobe) # authentication password my − router@xxx.nec.com
8643bca29 Enter
Router (config − ppp − biglobe) # authentication accept chap − pap Enter
Router (config − ppp − biglobe) # exit |
| Enter |
|
|
|
|
|
| |
Router (config) # interface Ethernet0.1 |
|
|
|
|
|
|
| ||
| Enter |
|
|
|
|
| |||
Router (config − Ethernet0.1) # encapsulation pppoe |
|
|
| ||||||
| Enter | ||||||||
|
|
|
| ||||||
Router (config − Ethernet0.1) # ppp binding biglobe |
| Enter |
|
Router (config − Ethernet0.1) # ip address ipcp Enter
Router (config − Ethernet0.1) # no shutdown Enter
Router (config − Ethernet0.1) #
Enter
As the default route, specify the interface Ethernet0.1.
Router (config − Ethernet0.1) # exit Enter
Router (config) # ip route default Ethernet0.1 Enter
Router (config) #
Set the IP address of the
Router (config) # interface FastEthernet0.0 Enter
Router (config − FastEthernet0.0) # ip address 192.168.1.1/24 Enter
Router (config − FastEthernet0.0) # no shutdown Enter
Router (config − FastEthernet0.0) # interface Ethernet0.1 Enter
Router (config − Ethernet0.1) # ip napt enable Enter
Router (config − Ethernet0.1) #
– 125 – | |
| atch5001.fm |