Installation Manual

GCT LTE Module Software Development Guide
Version V2.2
Aquila Confidential
Page8of27
2.How to network IP, Netmask, GW, DNS and other information;
AT+CGCONTRDP=3 (for multyapn ,the id can be 1,2,3,4)
Pdn_type: IPv4
Pdn_type: IPv4/IPv6
Interpretation parameter of AT+CGCONTRDP=3:
3. How to configure IP, Mask, GW, DNS to network card?
vlan_tag(100、101、102、103) ipaddr
(the ip you get from base station)
netmask(the netmask you get from base station) gateway
(the gateway you get from base station) device=eth2
(different platform wan name will vary)
vdevice=$device.$vlan_tag
process:
ip link set dev $vdevice down
ip link delete $vdevice
vconfig add $device $vlan_tag
ip link set vlan$vlan_tag name $vdevice
ifconfig $vdevice –arp
ifconfig $vdevice $ipaddr netmask ${netmask} up
ip link set txqueuelen 100 dev $vdevice
route add default gw $gateway dev $vdevice