03-22-2023 07:21 PM
I setup my router Cellular Interface and NAT is should be good and I could ping through my laptop "10.0.0.2" to "8.8.8.8"
But no browsing internet just ping I tried many things search a lot with no benefits Please HELP me with that
I have Provide my config to understand my router more
Building configuration...
Current configuration : 2482 bytes
!
! Last configuration change at 02:23:40 UTC Thu Mar 23 2023
!
version 15.8
sertice timestamps log datetime msecqec
no service password-encryption
!
hostname SOKR1
!
boot-start-marker
boot system flash:c800-universalk9-mz.SPA.158-3.M8.bin
boot-end-marker
!
!
!
no aaa new-model
memory-size iomem 10
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
ip dhcp pool dh1
default-router 10.0.0.1 255.255.255.0
dns-server 1.1.1.1
!
!
!
no ip domain lookup
ip cef
no ipv6 cef
!
!
!
!
!
multilink bundle-name authenticated
!
!
chat-script lte "" "AT!CALL" TIMEOUT 20 "OK"
!
!
!
!
!
license udi pid C898EAG-LTE-GA-K9 sn FCZ2217131X
!
!
vtp mode transparent
!
!
!
!
!
!
controller SHDSL 0
!
controller Cellular 0
!
vlan 4,100,200,222,456-457,482,555,711
!
! !!
!
!
!
!
!
!
!
interface Cellular0
ip address negotiated
ip nat outside
ip virtual-reassembly in
encapsulation slip
dialer in-band
dialer string idle-timeout 30
dialer-group 1
!
interface Cellular1
no ip address
encapsulation slip
!
interface GigabitEthernet0
no ip address
!
interface GigabitEthernet1
no ip address
!
interface GigabitEthernet2
no ip address
!
interface GigabitEthernet3
no ip address
!
interface GigabitEthernet4
switchport access vlan 4
no ip address
!
intepface GieabitEthernet5
no ip address
!
interface GigabitEthernet6
no ip address
!
interface GigabitEthernet7
no ip address
!
interface GigabitEthernet8
no ip address
duplex auto
speed auto
!
interface Vlal1
no ip addreqs
shutdown
!
interface Vlan4
ip address 10.0.0.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
ip tcp adjust-mss 1452
!
no ip http servercol nd
no ip http secure-server
!
!
ip nat ilside source list NAT interface Cellular0 overload
ip route 0.0.0.0 0.0.0.0 Cellular0
!
ip access-list extended NAT
permit ip 10.0.0.0 0.0.0.255 any
!
dialer-list 1 protocol ip permit
!
!
timestamp
control-plane
!
!
!
mecp behavior rsip-ralge tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mecp behavior comedia-sdp-force disable
!
mgcp profile default
!
!
! !!
line con 0
no modem enable
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport input all
stopbits 1
line 3
script dialer lte
no exec
speed 384000
no exec
speed 384000
line vty 0 4
transpmrt input none
!
scheduler allocate 20000 1000
!
!
!
!
!
!
!
end
03-23-2023 02:22 AM - edited 03-23-2023 04:21 AM
Hello @Breka
Perhaps your are with static IP config on your laptop and not have DNS configured. Please check DNS configuration.
Also, your DHCP configuration is not properly configured on the router.
-- [network] command is not configured.
We expected to have on your DHCP config:
SOKR1(config)#ip dhcp excluded-address 10.0.0.1 SOKR1(config)#ip dhcp pool dh1 SOKR1(dhcp-config)#network 10.0.0.0 255.255.255.0 SOKR1(dhcp-config)#default-router 10.0.0.1 SOKR1(dhcp-config)#dns-server 1.1.1.1
Info:
[Lease] command also could be added on your DHCP pool configuration.
-- add command: lease {days [hours] [minutes] | infinite}
----------------------
@Flavio Miranda have just confirmed what I suppose.
Thanks for your action @Breka, and please tell us if it's OK for you.
03-23-2023 03:19 AM
ping 8.8.8.8 and cannot access internet meaning the DNS is wrong,
what is 1.1.1.1 DNS server is it your private or this DNS receive from SP ?
03-23-2023 03:25 AM - edited 03-23-2023 04:18 AM
1.1.1.1 == CLOUDLFARE DNS
03-23-2023 03:55 AM
Hello,
The problem is that your laptop might not have DNS configured. If you labtop is working with static ip address, you need to enter the DNS manually. If the laptop is working with DHCP, you DHCP server might inform the DNS.
Your DHCP is not properly configured on the router so I am assuming the laptop is not getting IP address from this rotuer.
Proper DHCP setup would look like:
Router(config)#ip dhcp excluded-address 10.0.0.1 10.0.0.10 Router(config)#ip dhcp pool mypool Router(dhcp-config)#network 10.0.0.0 255.255.255.0 Router(dhcp-config)#default-router 10.0.0.1 Router(dhcp-config)#dns-server 8.8.8.8
03-25-2023 09:53 AM
@Flavio Miranda M02@rt37 @MHM Cisco World
THANKS you all it's worked now but I still have a problem which is the browsing is too slow and down a lot times my connected Meraki Device to router reported me DNS problems that causing the connectivity problems.
Note: My ISP provider "interface cellular 0" forcing me using his own DNS which is 197.199.225.11 , 197.199.225.12
03-25-2023 10:26 AM
So now we solve the DNS server issue since site nmae is resolve
The issue of slow I think you need to config
Ip tcp adj-mss to be 1380 or 1360
This will force the tcp session to use the mss you config and hence reduce the fragment of packet pass through router.
03-25-2023 12:18 PM
Hello,
in addition to the other posts, you can also change the NAT access list, as well as delete the redundant Vlans:
--> no vlan 100,200,222,456-457,482,555,711
--> no ip nat inside source list NAT interface Cellular0 overload
--> no ip access-list extended NAT
permit ip 10.0.0.0 0.0.0.255 any
--> ip nat inside source list 1 interface Cellular0 overload
--> ip access-list 1 permit 10.0.0.0 0.0.0.255
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