cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
534
Views
0
Helpful
3
Replies

base conf. for 1721

alessandro_t
Level 1
Level 1

Hi all,

  I bought a cisco 1721, and since yesterday I have an shdsl. The 1721 has only a WIC-1T, with the V35 cable.

The telecom company gave me a simple "template" configuration, where I had to set the password and the public ip (see below).

Note that I'm "new" in cisco IOS world, so -obviously- it doesn't work. I check if it is working by "pinging" some internet ip.

The V35 is connected, the lan ethernet no.

I need only a simple working configuration, in order check the line. Then I have all the time I want to study IOS.

Actually I'm not able to ping anything (Success rate is 0 percent (0/5)) , but it seems to me that traceroute is working:

# trace 170.149.173.130

Type escape sequence to abort.

Tracing the route to 170.149.173.130

  1 213.21.129.54 8 msec 8 msec 12 msec

  2 213.21.130.2 12 msec 8 msec 12 msec

  3  *  *  *

Thanks for your help

The output of  "show interfaces" is the following (note the two "down" virtual interfaces; is it normal?):

FastEthernet0 is up, line protocol is down

..
   Internet address is <Pubblic Subnet IP>/<Subnet Public Mask CIDR>
...
Serial0 is up, line protocol is up
...
Serial0.1 is up, line protocol is up
..
    Internet address is X.X.X.X/32   (<= this is not my configuration, it should be assigned by PPP)
...
Virtual-Access2 is down, line protocol is down
...
Virtual-Template1 is down, line protocol is down
...

# running-config:

Building configuration...

Current configuration : 989 bytes

!

version 12.4

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname Router

!

boot-start-marker

boot-end-marker

!

!

no aaa new-model

!

resource policy

!

mmi polling-interval 60

no mmi auto-configure

no mmi pvc

mmi snmp-timeout 180

ip subnet-zero

ip cef   

!        

!        

no ip dhcp use vrf connected

!        

!        

!        

!        

!        

!        

interface FastEthernet0

description connected to EthernetLAN

ip address <first ip of the public subnet> <Pubblic Subnet Mask>

speed auto

!        

interface Serial0

no ip address

encapsulation frame-relay IETF

no fair-queue

!        

interface Serial0.1 point-to-point

description Connessione SHDSL

no cdp enable

frame-relay interface-dlci 20 ppp Virtual-Template1

!        

interface Virtual-Template1

ip address negotiated

ppp chap hostname <CODE>

ppp chap password 0 <PASSWD>

ppp pap sent-username <CODE> password 0 <PASSWD>

ppp ipcp route default

!        

ip classless

!        

no ip http server

!        

!        

control-plane

!        

!        

line con 0

line aux 0

line vty 0 4
login   
!        
end      
      

3 Replies 3

lgijssel
Level 9
Level 9

At least you need the following:

ip route 0.0.0.0 0.0.0.0 interface Serial0.1

Goodluck!

Leo

The following configuration works better

I can reach the router from internet with telnet!

But I'm not able to ping anything from the router.. could it be a nat problem?

No lan client is able to connect to internet

#show run
Building configuration...

Current configuration : 1353 bytes
!
version 12.4
service tcp-keepalives-in
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip subnet-zero
ip cef
!
!
no ip dhcp use vrf connected
!
!
!
interface Loopback0
description PUBBLIC LAN
ip address 255.255.255.248
!
interface FastEthernet0
description PRIVATE LAN
ip address 192.168.9.1 255.255.255.0
ip nat inside
ip route-cache flow
no ip mroute-cache
speed auto
full-duplex
!
interface Serial0
description Frame-Relay Net
bandwidth 2048
no ip address
encapsulation frame-relay IETF
no fair-queue
!
interface Serial0.1 point-to-point
description Connessione SHDSL MC-link
ip nat outside
no cdp enable
frame-relay interface-dlci 20 ppp Virtual-Template1
!
interface Virtual-Template1
ip address negotiated
ppp chap hostname
ppp chap password 0
ppp pap sent-username password 0
ppp ipcp route default
!
ip classless
ip route 0.0.0.0 0.0.0.0 Serial0.1
!
no ip http server
ip nat inside source list 1 interface Loopback0 overload
!
access-list 1 permit any
!
control-plane
!
!
line con 0
line aux 0
line vty 0 4
login
!
end

[the following is relevant the first configuration, on the top of the thread]

The "ping" didn't work because in this particular configuration I have to use the extended command:


Router#ping
Protocol [ip]:
Target IP address: 8.8.8.8
Repeat count [5]:
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]: y
Source address or interface: FastEthernet0
Type of service [0]:
Set DF bit in IP header? [no]:
Validate reply data? [no]:
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:
Packet sent with a source address of
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 48/50/52 ms

Pc clients works by setting as default gateway the FastEthernet0 public ip, and as ip another public ip.

Regards

Review Cisco Networking for a $25 gift card