10-09-2024 01:06 AM
I connect my ISP provided ONT directly to the wan port on the cisco 897 and I can't access internet. I don't know if its my configuration or such or if it is my ISP. Can someone please give me some advice on what to do because I am pretty new to cisco CLI and cisco routers in general.
Thank you
10-09-2024 04:25 AM
When you say you can not connect I am assuming you are plugging a computer behind those devices and testing. Then some questions arise.
Does the PC gets IP address?
Does the PC gets DNS server?
Can you ping 8.8.8.8?
Do you have NAT on the 897?
Do you have ACL (access list) ?
10-09-2024 05:01 AM
Yes I get local ipv4 ip addresses , the pc does not get a dns server when I am plugged directly through the cisco router, I cannot ping 8.8.8.8, I do have NAT on and I am not sure about the access list
10-09-2024 05:51 AM - edited 10-09-2024 05:58 AM
If you are receiving a public IP from the ISP, you need NAT on the router.
Can I see the output of "show ip route" ?
10-09-2024 06:09 AM
Here it is:
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override
Gateway of last resort is not set
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.1.0/24 is directly connected, Vlan1
L 192.168.1.1/32 is directly connected, Vlan1
10-09-2024 07:30 AM
I saw the router config down below. The problem seems to be related to NAT. On the configuration for interface GigabitEthernet8. you need to add the command "ip nat outside"
!
interface GigabitEthernet8
description PrimaryWANDesc_
mac-address 7406.3513.7850
ip address dhcp
ip tcp adjust-mss 1412
duplex auto
speed auto
pppoe enable group global
pppoe-client dial-pool-number 2
ip nat outside
!
10-09-2024 08:14 AM
I did that but unfortunately still no connection
My gigabitethernet 8 interface doesn't appear to pull any ip's
10-09-2024 08:33 AM
If your interface is not pulling any IP that could be an ISP problem.
The NAT config must be there, that´s for sure. Now, you need to get an IP address on that interface. If you connection method is really PPOE, I would recommend you to see the following video
https://www.youtube.com/watch?v=W3einvpbxCU
10-09-2024 09:09 AM
Watched the video wrote the commands one by one and configured it exactly the same I even did a router restart still no ip tho
10-09-2024 09:10 AM
It is connected to an ISP, right? If so, I would given them a call
10-09-2024 09:16 AM
I would give them a call but nothing will possibly change.
10-09-2024 09:19 AM
Isn't there any way I can bypass this somehow?
Maybe an sfp module or something.
10-09-2024 09:49 AM
I dont know the environment out there. If you have a ISP and they can provide you only the PPPOE method, It is hard to believe there will be another way.
If they can provide you another access method, then things change. Here
10-09-2024 04:29 AM
We would definitely have to see your configuration as it could be anything.
10-09-2024 05:00 AM
here is my configuration:
Current configuration : 5499 bytes
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname yourname
!
boot-start-marker
boot-end-marker
!
!
logging buffered 51200 warnings
!
no aaa new-model
memory-size iomem 10
!
!
!
!
!
!
!
!
!
!
!
ip dhcp excluded-address 10.10.10.1
ip dhcp excluded-address 192.168.2.1
ip dhcp excluded-address 192.168.1.1
!
ip dhcp pool ccp-pool
import all
network 10.10.10.0 255.255.255.128
default-router 10.10.10.1
lease 0 2
!
ip dhcp pool vodafonerouter
import all
network 192.168.2.0 255.255.255.0
default-router 192.168.2.1
!
ip dhcp pool LAN
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 8.8.8.8
!
!
!
ip domain list station
no ip domain lookup
ip domain name yourdomain.com
ip cef
ipv6 unicast-routing
ipv6 cef
!
!
!
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
cts logging verbose
license udi pid C897VAB-K9 sn FCZ2229E352
!
!
username karakas privilege 15 secret 5 $1$iVDC$yblI9dlOZhJq5dD/DO1Bb1
!
!
!
!
!
controller VDSL 0
no cdp run
!
!
!
!
!
!
!
!
!
!
!
!
interface ATM0
no ip address
shutdown
no atm ilmi-keepalive
!
interface BRI0
no ip address
encapsulation hdlc
shutdown
isdn termination multidrop
!
interface Ethernet0
no ip address
!
interface GigabitEthernet0
no ip address
duplex full
speed 1000
spanning-tree portfast
!
interface GigabitEthernet1
no ip address
duplex full
speed 1000
!
interface GigabitEthernet2
no ip address
duplex full
speed 1000
spanning-tree portfast
!
interface GigabitEthernet3
no ip address
duplex full
speed 1000
spanning-tree portfast
!
interface GigabitEthernet4
no ip address
duplex full
speed 1000
spanning-tree portfast
!
interface GigabitEthernet5
no ip address
duplex full
speed 1000
spanning-tree portfast
!
interface GigabitEthernet6
no ip address
duplex full
speed 1000
spanning-tree portfast
!
interface GigabitEthernet7
no ip address
duplex full
speed 1000
spanning-tree portfast
!
interface GigabitEthernet8
description PrimaryWANDesc_
mac-address 7406.3513.7850
ip address dhcp
ip tcp adjust-mss 1412
duplex auto
speed auto
pppoe enable group global
pppoe-client dial-pool-number 2
!
interface Vlan1
description $ETH_LAN$
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
ip tcp adjust-mss 1412
ipv6 address autoconfig
ipv6 enable
!
interface Dialer1
ip address dhcp
ip mtu 1452
ip nat outside
ip virtual-reassembly in
encapsulation ppp
ip tcp adjust-mss 1412
dialer pool 1
dialer-group 1
ppp mtu adaptive
no cdp enable
!
interface Dialer2
ip address dhcp
ip mtu 1452
encapsulation ppp
ip tcp adjust-mss 1412
dialer pool 2
dialer-group 2
ppp mtu adaptive
no cdp enable
!
ip forward-protocol nd
ip http server
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
!
!
ip nat inside source list 1 interface GigabitEthernet8 overload
ip nat inside source list nat-list interface Dialer2 overload
ip route 0.0.0.0 0.0.0.0 GigabitEthernet8 dhcp
!
dialer-list 1 protocol ip permit
dialer-list 2 protocol ip permit
!
tftp-server flash:/firmware/vdsl_bond.bin
access-list 1 permit 192.168.1.0 0.0.0.255
!
control-plane
!
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
!
!
!
!
!
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