Sei sulla pagina 1di 3

Create a gsm profile:

C819HG_3G#cellular 0 gsm profile create 1 internet.itelcel.com pap


webgprs webgprs2002

where:

APN is internet.itelcel.com

username is webgprs

password is webgprs2002

The profile 1 is the default for the sim under slot 0

2.- Like this is a new model of modem we have to use the new chat script:

C819HG_3G(config)#chat-script gsm "" "AT!SCACT=1,1" TIMEOUT 60 "OK"

3.- Config the celullar interface:

C819HG_3G(config)#interface cellular 0

C819HG_3G(config-if)#ip address negotiated

C819HG_3G(config-if)#ip nat outside

C819HG_3G(config-if)#ip virtual-reassembly in

C819HG_3G(config-if)#encapsulation slip

C819HG_3G(config-if)# dialer in-band

C819HG_3G(config-if)#dialer idle-timeout 0

C819HG_3G(config-if)#dialer string gsm

C819HG_3G(config-if)#dialer-group 1

C819HG_3G(config-if)#async mode interactive


4.- Configure the LAN interface, in my case the SVI 1

C819HG_3G(config)#interface Vlan1

C819HG_3G(config-if)#ip address 192.168.150.1 255.255.255.0

C819HG_3G(config-if)#ip nat inside

C819HG_3G(config-if)#ip virtual-reassembly in

5.- Configure the modem line, for model 819 the line is the number 3

C819HG_3G(config)#line 3

C819HG_3G(config-line)#exec-timeout 0 0

C819HG_3G(config-line)#password cisco

C819HG_3G(config-line)#script dialer gsm

C819HG_3G(config-line)#login

C819HG_3G(config-line)#modem InOut

C819HG_3G(config-line)#no exec

C819HG_3G(config-line)#transport input all

6.- Make a default route pointing the Cellular interface

C819HG_3G(config)#ip route 0.0.0.0 0.0.0.0 Cellular0

7.- Setup NAT, in my case I used a route-map

C819HG_3G(config)#route-map Internet permit 10

C819HG_3G(config-route-map)#match ip address 101

C819HG_3G(config)#access-list 101 permit ip 192.168.150.0 0.0.0.255 any

C819HG_3G(config)#ip nat inside source route-map Internet interface


Cellular0 overload

8.- You have to generate some Internet traffic, if you omit this step the cellular
interface will not obtain a public IP address from the ISP, you can check that your
profile come up with "show cellular 0 profile"

C819HG_3G#sh cellular 0 profile

Profile 1 = ACTIVE*

--------

PDP Type = IPv4

PDP address = X.X.X.X

Access Point Name (APN) = internet.itelcel.com

Authentication = PAP

Username: webgprs

Password: webgprs2002

Primary DNS address = Y.Y.Y.Y

Secondary DNS address = Z.Z.Z.Z

* - Default profile

Configured default profile for active SIM 0 is profile 1.

You can use a "debug chat" on the router to view if you have a problem to establish
the connection.

I hope this information will useful.

Potrebbero piacerti anche