Error » Error News and Info » Knowledge Base » Cisco router configuration

Knowledge Base Most common error and how to trouble shoot them off

Post New Thread Reply
  Cisco router configuration
LinkBack Thread Tools Display Modes
Old 22-Feb-2007, 09:27 PM   #1 (permalink)
Administrator
 
Anilrgowda's Avatar

Posts: 18,712
Join Date: Jan 2006
Rep Power: 10 Anilrgowda is on a distinguished road

IM:
Default Cisco router configuration

I have a Cisco 1721 router with a single WIC t1 card. The wic card plugs into the smart jack to the ISP and the fastethernet plugs into a Sonic Wall that handles all my lan work.

The following configuration does not work. If I remove the fastethernet IP address (no ip address YY.YY.255.113), I can telnet from outside into the router and ping yahoo with success. But if I enter the YY.YY.255.113 ip into the fastethernet0 I cannot see the router from the outside or inside. If I type “show ip route” I get default gateway is not set but unsure if this matters or is correct. I am also not sure if the gateway they gave me is correct, XX.XX.140.173 or should it be YY.YY.255.113?

The ISP gave me :
CSU information
Clock source: line
Channels: 1-24
Framing: esf
Line coding: B8ZS

Router info:

T1 serial as follows:
Encapsulation: PPP
T1 serial/WAN interface
Serial or wan IP: XX.XX.140.174
Subnet mask: 255.255.255.252

LAN IP address
Lan ip address: YY.YY.255.113
Subnet mask: 255.255.255.252
Gateway or remote ip: XX.XX.140.173 (I think)


XXXXXXXXXXX#show running-config
Building configuration...

Current configuration : 1192 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname XXXXXXXXX
!
enable secret 5 XXXXXXXXX
enable password XXXXXXXX
!
ip subnet-zero
no ip routing
!
!
ip domain name cavtel.net
ip name-server 64.83.0.10
ip name-server 209.137.160.3
!
!
!
!
!
interface FastEthernet0
description To Office
ip address YY.YY.255.113 255.255.255.248
no ip route-cache
speed auto
full-duplex
!
interface Serial0
description To ISP
bandwidth 1536
ip address XX.XX.140.174 255.255.255.252
encapsulation ppp
no ip route-cache
no fair-queue
service-module t1 timeslots 1-24
!
ip classless
ip route 0.0.0.0 0.0.0.0 XX.XX.140.173
no ip http server
!
snmp-server community 6f72fb15ad RO
snmp-server community public RO
snmp-server enable traps snmp authentication
snmp-server enable traps tty
!
line con 0
password XXXX
login
transport preferred none
line aux 0
password XXXX
login
modem InOut
transport preferred none
transport input all
transport output pad udptn telnet rlogin
stopbits 1
flowcontrol hardware
line vty 0 4
password XXXX
login
transport preferred none
Anilrgowda is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
   


   
Old 22-Feb-2007, 09:28 PM   #2 (permalink)
Administrator
 
Anilrgowda's Avatar

Posts: 18,712
Join Date: Jan 2006
Rep Power: 10 Anilrgowda is on a distinguished road

IM:
Default Re: Cisco router configuration

Damn. I didn't see the "no ip routing" in the config that you posted either. With it normally being enabled by default, I don't always look for it.

I would use the 2nd option with IP address on the serial interface.
It is preferable to use the IP address of the next hop as the default gateway.
Anilrgowda is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Post New Thread Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -8. The time now is 03:27 PM.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

DMCA Policy

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227