Introduction
This document is intended to introduce the reader to Cisco routers and switches running the IOS software.
Our intention is to configure a Cisco router to perform basic static routing. Interior routing protocols will be discussed in a seperate document, this will focus entirely on basic configuration, including static routing and security.
Scenario
For the purposes of this document, we'll be configuring 3 Cisco routers for an imaginary network, Pimp Networks. Pimp Networks has been assigned 10.0.0.0/8 from its upstream ISP and will be assigning a /16 to each building.

Basic Configuration
Based on the topology above, we'd configure our first router, gw1, like this :
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname gw1
!
logging buffered 65536 debugging
no logging console
!
enable secret <enable password>
!
ip subnet-zero
no ip source-route
!
ip cef
ip domain-name pimpmynetwork.org
ip name-server 10.10.0.52
ip name-server 10.20.0.34
!
interface FastEthernet0/0
description Upstream Internet
ip address 192.168.0.2 255.255.255.252
no ip directed-broadcast
no cdp enable
!
interface FastEthernet1/0
description gw2
ip address 10.0.0.1 255.255.255.252
no ip directed-broadcast
!
interface FastEthernet1/1
description gw3
ip address 10.0.0.5 255.255.255.252
no ip directed-broadcast
!
ip classless
!
ip route 10.10.0.0 255.255.0.0 10.0.0.2
ip route 10.20.0.1 255.255.0.0 10.0.0.6
!
access-list 10 remark remote administration
access-list 10 permit 10.10.0.0 0.0.255.255
access-list 10 permit 10.20.0.0 0.0.255.255
!
snmp-server community p1mpn3t RO 10
snmp-server ifindex persist
snmp-server location Rack B9 TFM5 THN
snmp-server contact Network Pimp <pimp@pimpmynetwork.org>
!
line con 0
password <login password>
stopbits 1
transport input none
line aux 0
password <login password>
stopbits 1
line vty 0 15
access-class 10 in
transport input telnet
escape-character 27
password <login password>
!
|
|