02-26-2011 04:59 AM - edited 03-04-2019 11:35 AM
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
# 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
02-26-2011 06:12 AM
At least you need the following:
ip route 0.0.0.0 0.0.0.0 interface Serial0.1
Goodluck!
Leo
02-26-2011 03:45 PM
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
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
02-28-2011 05:39 AM
[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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide