Disclosed is a method of automatically discovering the
server disposed in the
femtocell, comprising the following: firstly, an option 60 and an option 43 are defined in a dynamic host distribution protocol
server; after the
femtocell is powered up or reset to be restarted, the
femtocell sends a DHCPINFORM message which carries the option 60 to the dynamic host distribution protocol
server, and after the dynamic host distribution protocol server receives the DHCPINFORM message, the dynamic host distribution protocol server sends corresponding
network connection information to the femtocell through the option 43; finally, the femtocell obtains the
network connection information according to the option 43, and then initiates an
IPSec secure channel to a security gateway for establishing the request, and the security gateway parses the
IP address of the server disposed in the femtocell through the obtained complete
domain name of the server disposed in the femtocell, and returns the
IP address of the server disposed in the femtocell, thereby completing the automatic discovery of the server disposed in the femtocell. The invention solves the problems that the present equipment is of Home
NodeB burn network information when manufactured, if the
network structure is adjusted, all the swept Home
NodeB have to be modified, the flexibility of the present equipment is low, and the cost of the present equipment is high.