09-23-2024 08:09 AM
Welcome all.
After configuring cellular interface, it negotiates correct IP, but seems to not work correct. There are messages about interface going up and down all the time. Here is the result of sh cellular 0/1/0 all command:
Here is debug cellular messages all command, many lines but it is containing debug messages before both changes of interface up/down:
I would appreciate all help.
09-23-2024 08:40 AM
Add NAT to your config and check
SP not accepting any IP other than public IP of Wan interfere
MHM
09-23-2024 01:20 PM
IP nat inside?
09-23-2024 01:24 PM
Sorry what you meaning? Can yoh elaborate.
If you meaning what ypu need to config NAT
You need
Ip nat inside
Ip nat outside <<- under the WAN interface
Ip nat inside source list 10 interface <wan>
MHM
09-24-2024 04:18 AM - edited 09-24-2024 04:58 AM
I did changes in configuration like that:
Settings of interface:
interface Cellular0/1/0
ip address negotiated
ip nat outside
ip access-group OUTSIDE_ACL_block in
ip access-group Plus_ip_ACL_only out
ip tcp adjust-mss 1460
dialer in-band
dialer-group 1
ipv6 enable
pulse-time 1
Access list:
ip access-list extended Plus_ip_ACL_only
10 permit ip host xxx.xxx.xxx.xxx any
Where xxx is IP of the SIM card. Still the problem of interface restarting persists. This cell interface is the only connection to internet, so I assume this is the WAN you are talking about.
09-25-2024 06:13 AM
Other commands which show good signs when the interface is up: profile active, ip int and running config. I tried attaching source list 10 but I don't know what to fill it with.
https://pastebin.com/LNNC0yVK
09-25-2024 06:38 AM
Sorry I try open your link but I failed
Can you share log as text here
MHM
09-25-2024 08:32 AM - edited 09-25-2024 08:33 AM
Here you are:
RouterCiscoWitko#show ip int cell 0/1/0 Cellular0/1/0 is up, line protocol is up Internet address is xxxxxxxx/32 Broadcast address is 255.255.255.255 Address determined by IPCP MTU is 1500 bytes Helper address is not set Directed broadcast forwarding is disabled Outgoing Common access list is not set Outgoing access list is ALLOW_icmp Inbound Common access list is not set Inbound access list is OUTSIDE_ACL_block Proxy ARP is enabled Local Proxy ARP is disabled Security level is default Split horizon is enabled ICMP redirects are always sent ICMP unreachables are always sent ICMP mask replies are never sent IP fast switching is disabled IP Flow switching is disabled IP CEF switching is disabled IP Distributed switching is disabled IP Null turbo vector IP Null turbo vector Associated unicast routing topologies: Topology "base", operation state is UP IP multicast fast switching is enabled IP multicast distributed fast switching is disabled IP route-cache flags are Fast, CEF Router Discovery is disabled IP output packet accounting is disabled IP access violation accounting is disabled TCP/IP header compression is disabled RTP/IP header compression is disabled Probe proxy name replies are disabled Policy routing is disabled Network address translation is enabled, interface in domain outside BGP Policy Mapping is disabled Input features: Virtual Fragment Reassembly, Access List, NAT Outside, MCI Check, TCP Adjust MSS Output features: Post-routing NAT Outside, Access List, TCP Adjust MSS, Dialer idle reset IPv4 WCCP Redirect outbound is disabled IPv4 WCCP Redirect inbound is disabled IPv4 WCCP Redirect exclude is disabled IP Clear Dont Fragment is disabled RouterCiscoWitko#show running-config int cell 0/1/0 Building configuration... Current configuration : 223 bytes ! interface Cellular0/1/0 ip address negotiated ip nat outside ip access-group OUTSIDE_ACL_block in ip tcp adjust-mss 1460 dialer in-band dialer-group 1 ipv6 enable pulse-time 1 end RouterCiscoWitko#show cell 0/1/0 profile Profile 1 = ACTIVE* ** -------- PDP Type = IPv4 PDP address = xxxxxxxx IPv4 PDP Connection is successful Access Point Name (APN) = m2m.plusgsm.pl Authentication = None Primary DNS address = 212.2.127.254 Secondary DNS address = 212.2.96.53 Profile 2 = INACTIVE -------- PDP Type = IPv4v6 Access Point Name (APN) = ims Authentication = None Profile 3 = INACTIVE -------- PDP Type = IPv4v6 Access Point Name (APN) = sos Authentication = None Profile 4 = INACTIVE -------- PDP Type = IPv4v6 Access Point Name (APN) = xcap Authentication = None * - Default profile ** - LTE attach profile Configured default profile for active SIM 0 is profile 1. RouterCiscoWitko# *Sep 25 12:54:40.386: %LINK-3-UPDOWN: Interface Cellular0/1/0, changed state to down *Sep 25 12:54:41.388: %LINEPROTO-5-UPDOWN: Line protocol on Interface Cellular0/1/0, changed state to down
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