03-09-2015 09:42 PM - edited 03-05-2019 12:59 AM
Hi,
I have configured a Cisco 887, I can connect to the internet through the router, but as soon as i connect PC i can't connect. i have checked that my dialer 0 comes up and i get an ip address. but i cant ping anything on the Internet.
here is the current config.
Building configuration...
Current configuration : 2088 bytes
!
! Last configuration change at 04:18:44 UTC Tue Mar 10 2015
version 15.2
no service pad
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
memory-size iomem 10
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
license udi pid CISCO887VA-K9 sn ****************
!
!
!
!
!
!
!
controller VDSL 0
!
!
!
!
!
!
!
!
!
!
interface Ethernet0
no ip address
shutdown
!
interface ATM0
description connection to telkom
no ip address
no atm ilmi-keepalive
!
interface ATM0.35 point-to-point
description telkom adsl
pvc 8/35
pppoe-client dial-pool-number 1
!
!
interface FastEthernet0
switchport mode trunk
no ip address
!
interface FastEthernet1
no ip address
shutdown
!
interface FastEthernet2
no ip address
shutdown
!
interface FastEthernet3
no ip address
shutdown
!
interface Vlan1
no ip address
shutdown
!
interface Vlan10
ip address 10.0.0.254 255.255.255.0
!
interface Vlan20
ip address 10.0.1.254 255.255.255.0
!
interface Vlan30
ip address 10.0.2.254 255.255.255.0
!
interface Vlan40
ip address 10.0.3.254 255.255.255.0
!
interface Dialer0
description To Telkom ADSL 1
ip address negotiated
no ip redirects
no ip proxy-arp
ip mtu 1492
ip nat outside
ip virtual-reassembly in
encapsulation ppp
ip tcp adjust-mss 1452
dialer pool 1
dialer-group 1
ppp authentication chap pap callin
ppp chap hostname **********************
ppp chap password 0 *****************
ppp pap sent-username ***************** password 0 *******************
ppp ipcp dns request accept
ppp ipcp route default
ppp ipcp address accept
no cdp enable
!
ip default-gateway 10.0.0.254
ip forward-protocol nd
no ip http server
no ip http secure-server
!
ip nat inside source route-map DIAL0 interface Dialer0 overload
ip route 0.0.0.0 0.0.0.0 Dialer0
!
ip access-list standard NAT
permit 10.0.0.0 0.0.0.255
!
!
route-map DIAL0 permit 10
match ip address NAT
match interface Dialer0
!
!
!
line con 0
no modem enable
line aux 0
line vty 0 4
login
transport input all
!
!
end
03-09-2015 09:49 PM
If the PC is connected to F0?
Interface F0 is associated to VLAN 1.
03-10-2015 10:55 PM
No, its not that i never put nating on the vlans and my route was wrong.
its working now, thanks for the help
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