Cisco Systems 802, 804 manual Example of Basic Configuration Output

Page 12

Example of Basic Configuration Output

Step 12 Change to interface command mode. For example:

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

Step 13 Enter the IP address and subnet mask for the LAN. For example: router(config-if)#ip address 192.168.1.1 255.255.255.0

Step 14 Enable Network Address Translation (NAT) on your LAN. The inside network address is not directly routed to the Internet but is subject to translation to a routable address outside the LAN.

router(config-if)# ip nat inside

Step 15 Set the BRI interface IP address. In the following example, IP addresses are dynamically assigned:

router(config-if)# interface bri0 router(config-if)# ip address negotiated

Step 16 Enable PPP.

router(config-if)# encapsulation ppp Step 17 Configure CHAP authentication.

router(config-if)#ppp authentication chap

Step 18 Configure a valid Internet address to which the inside network address will be translated. router(config-if)# ip nat outside

Step 19 Define the router hostname and password to authenticate. For example:

router(config-if)# ppp chap hostname 802 router(config-if)# ppp chap password cisco

Step 20 Exit to global configuration mode. Add default route and interface. For example:

router(config-if)# exit

router(config)# ip route 0.0.0.0 0.0.0.0 bri0

Step 21 End configuration mode.

router(config)# end router#

Step 22 In user mode, set global NAT commands. In the following example, all inside network addresses assigned to interface BRI0 are configured for translation, and the access list that contains the inside network addresses is defined.

router# ip nat inside source list 1 interface bri0 overload

router# access-list1 permit 192.168.1.0 0.0.0.255

Step 23 Save your configuration.

router# copy running-config startup-config

Example of Basic Configuration Output

Current configuration:

!

version 12.0 no service pad

Installing and Configuring Cisco 802 IDSL and Cisco 804 IDSL Routers

12

78-10368-03

 

 

Image 12
Contents Overview Safety Before You StartPreventing Electrostatic Discharge Damage Unpacking the Router Preventing Router DamageConnecting Cables to the Router Cisco 804 Idsl RouterConnecting an Ethernet Device Connecting a Hub Connecting a Server, PC, or Workstation Connecting an Idsl Line Connecting the Power Supply Verifying Router ConnectionsConfiguring the Idsl Router Basic Idsl ConfigurationExample of Basic Configuration Output Change to interface command mode. For exampleHostname cisco802 Ip subnet-zero Idsl Configuration with Frame Relay Example of Frame Relay Configuration Output Interface BRI0.1 point-to-pointTroubleshooting Using Debug Commands Troubleshooting Using Debug CommandsCommand Possible Problem Solution Output 1 Example show isdn statusObtaining Documentation Cisco.comDocumentation Feedback Documentation DVDOrdering Documentation Reporting Security Problems in Cisco Products Cisco Product Security OverviewObtaining Technical Assistance Submitting a Service Request Definitions of Service Request SeverityCisco Technical Support Website Obtaining Additional Publications and Information Obtaining Additional Publications and Information