in this embodiment , a network , in which the host locator and identifier are split , with 50 sites is constructed by utilizing the network topology and the information about data traffic between nodes , which are provided by darpa intrusion detection evaluation ( the original ip address of a host is used as eid , the nodes with same prefix is located in a same site and each site is deployed with itr and etr at the same time .) firstly , the ingress tunnel router and egress tunnel router are initialized respectively : the etr of each site reads configuration files , writes corresponding mapping relationships from eid - prefixes that it is in charge of to rlocs into the eid - to - rloc database , the threshold of traffic anomaly for map - request message is set as c = 1 . 2 per minutes ( which is determined on the basis of experiments , in the experiments , every 5 minutes is set as an observation period , when the network load is at the upper limit of the normal operation , during the whole process of the experiment , the total query traffic from all the itrs to the same etr in 80 % of all the observation periods is less than or equal to 5 ). the itr of each site firstly initializes an empty eid - to - rloc cache , set the time limit for cache entry as t = 5 minutes . on the basis of experiments , the threshold of traffic anomaly for determining whether to send an additional map - request is set as c l = 13 per minutes ( in the experiments , every 5 minutes is set as an observation period , when the network load is at the upper limit of the normal operation , during the whole process of the experiment , the traffic from the local host to a certain eid - prefix in 80 % of all the observation periods is less than or equal to 65 ). this value is taken as a basic number , and when the traffic is an integral multiple thereof , the traffic is determined as abnormal and an additional map_request will be sent . the whole network starts to operate from the time t = 0 , during the operation , only site 17 is attacked by the hosts of sites 1 , 12 , 14 , 32 during the period of t = 8 ˜ 25 min . site 1 detects the data packets traffic from the hosts of itself to site 17 goes beyond the predetermined threshold at the t = 8 min for the first time , and sends additional map - request . site 12 detects the data packets traffic from the hosts of itself to site 17 goes beyond the predetermined threshold at the t = 9 min for the first time , and sends additional map - request . site 14 detects the data packets traffic from the hosts of itself to site 17 goes beyond the predetermined threshold at the t = 9 min for the first time , and sends additional map - request . site 32 detects the data packets traffic from the hosts of itself to site 17 goes beyond the predetermined threshold at the t = 11 min for the first time , and sends additional map - request . although site 1 sent the additional map - request messages at the time of t = 8 min , the total query traffic during the current observation period is not greater than 6 for the etr of site 17 . only at the time of t = 9 , when the etr received the additional map_request messages from site 14 , the map_request messages received in the observation period of t = 4 ˜ 9 min in sum is 9 ( three map_request messages received from site 1 , two map_request messages received from each of sites 12 and 14 , one map_request message received from each of site 8 and 11 ), could the etr determine that the query traffic is abnormal for the first time and reply a invalid rloc to the itr of which the query traffic is abnormal . during the period of t = 0 ˜ 7 min ( the network traffic of each site is normal , the behavior of each itr is same . next , the interaction between the itr of site 1 and etr of site 17 is explained as an example .) 1 . when site 1 receiving data packet sent from local host to site 17 for the first time , is the itr of site 1 queries the eid - to - rloc cache in step a 1 ; as the mapping relationship does not exist , adds a entry of the eid - prefix in the eid - to - rloc cache , setting the corresponding rloc in the entry as invalid , then starts a timer for this entry and sends a map - request message at the same time in step a 2 ; 2 . after receiving a map - request message , etr of site 17 acquires in step b 2 that the number of map - requests received in this observation period is less than or equal to 6 , and determining that the query traffic is normal ; then in step b 4 , based on the eid - prefix specified by the current map - request , extracts its corresponding rloc information from the eid - to - rloc database and feeds map_reply back to the itr of site 1 , and so that the itr can send data to the etr 3 . after receiving the feedback map_reply from the etr , the itr of site 1 updates corresponding entry in the eid - to - rloc cache according to the map_reply , in step a 5 ; 4 . after receiving the map_reply , the itr of site 1 , for the data packet arriving subsequently , queries the eid - to - rloc cache , the mapping relationship of the eid - prefix exist ; and determines in step a3 that the amount of data packet from local to the eid - prefix is normal , therefore an additional map - request will not be sent , then encapsulates the data packets and sends to etr 5 . after receiving the data packet , the etr of site 17 decapsulates the data packets and forwards the data packets to the receiver in step b1 ; 6 . after the local cache is expired , site 1 deletes in step a 6 the entry of the eid - prefix previously added to the eid - to - rloc cache in step a 2 ; during the period of t = 8 ˜ 25 min : site 17 is attacked by the hosts in sites 1 , 12 , 14 and 32 . for other sites that did not involving in the attacking , the traffic is normal , therefore the behavior is same as that in the period of t = 0 ˜ 7 min . the behaviors of sites 1 , 12 , 14 and 32 that involve in the attacking are same . to illustrate , the interaction between itr of site 14 and etr of site 17 is explained . 1 . the itr of site 14 receives data packet when the traffic of the data packets of site 14 itself reaches c l for the first time ( at the time of t = 9 min ). the itr queries the eid - to - rloc cache in step a 1 , the eid - prefix corresponding to site 17 does not exist , the itr of site 14 determines the traffic of data packets from this site to site 17 is abnormal and sends additional map_request in step a 3 , then decapsulates the data packets in step a 4 ( for the reason that , the traffic of site 14 is normal at the time of t = 5 min , valid rloc is replied in respect to the map_request sent by site 14 .) 2 . when receiving the map_request message from site 14 ( at the time of t = 9 min ), the etr of site 17 determines the query traffic is abnormal in step b 2 ( at the time of t = 9 min , the map_request messages received in the observation period of t = 4 ˜ 9 min in sum is 9 , that is , three map_request messages received from site 1 , two map_request messages received from each of sites 12 and 14 , one map_request message received from each of site 8 and 11 , which is greater than 6 ), and determines that the number of map_request messages sent by the itr of site 4 in the current observation period is larger than one in step b 2 , therefore replies in step b 5 that rloc corresponding to the queried eid - prefix is an invalid rloc ; ( for those sites that did not involving in the attacking , the number of map_request send by them is equal to one , so the etr of site 17 will reply a valid rloc to their map_request ) 3 . after receiving the map - reply , for the data packet arriving subsequently to site 17 , the itrs of site 14 queries in step a 1 the existence of the entry of the eid - prefix , then turns to steps a 3 and then directly discarding the data packet through a 4 , ( because the etr replies the four sites that the rloc corresponding to the eid that the four sites want to communicate with as invalid rloc addresses ). this embodiment constructs a network with 6 sites , in which the host locator and identifier are split , on the basis of the 1998 darpa intrusion detection evaluation ( http :// www . 11 . mit . edu / mission / communicaitons / ist / corpora / ideval / data / 1998data . ht ml ) disclosed by mit lincoln laboratory . fig2 is a schematic diagram of a network composition of this embodiment , the configurations of eid - prefix of each site and the rloc corresponding to the eid - prefix , wherein each site is deployed with tr having itr and etr . the etr of each site reads the configuration files , writes corresponding mapping relationship from eid - prefix that it is in charge of to rloc into the eid - to - rloc database , the threshold of traffic anomaly for map - request message is set as c = 0 . 8 per minutes ( which is determined on the basis of experiments , in the experiments , every 5 minutes is set as an observation period , when the network load is at the upper limit of the normal operation , during the whole process of the experiment , the total query traffic from all the itrs to the same etr in 80 % of all the observation periods is less than or equal to 3 ). the itr of each site firstly initializes an empty eid - to - rloc cache , set the time limit for cache entry as t = 5 minutes . on the basis of experiments , the threshold of traffic anomaly for determining whether to send an additional map - request message is set as c = 7 . 2 per minutes ( in the experiments , every 5 minutes is set as an observation period , when the network load is at the upper limit of the normal operation , during the whole process of the experiment , the traffic volume from the local host to a certain etr - prefix in 80 % of all the observation periods is less than or equal to 36 ). this value is taken as a basic number , and when the traffic is an integral multiple thereof , the traffic is determined as abnormal and an additional map_request will be sent . the whole network starts to operate from the time t = 0 , during the operation , only site 4 is attacked by hosts residing in sites 1 and 5 when t = 12 ˜ 30 min ; the timing for sites 1 , 2 , 3 , 5 , 6 to send data to site 4 for the first time are respectively at the time of t = 1 , 2 , 5 , 11 , 15 min ; while site 1 and site 5 send additional map_requests for the first time at the time of t = 12 , 13 respectively , and both of them continuously attack until the time of t = 30 min . the flows for sites 1 , 2 , 3 , 5 , 6 to send data packets to and map - requests to site 4 are described as follows a1 : processing data packet : after receiving a data packet from a local host , the itr firstly querying the eid - to - rloc cache ; when a data packet in which the destination eid - prefix is site 4 is firstly received , if the entry for site 4 does not exist , then turning to step a2 , otherwise turning to step a3 ; a 2 : sending a map - request : after querying through a 1 that there is no entry of the eid - prefix in the eid - to - rloc cache , adding a entry of the eid - prefix , setting the corresponding rloc in the entry as invalid ( equivalent that the eid - prefix is unreachable ), then starting a timer , generating a map - request message and sending to etr , if a map_reply is received , turning to step a 5 , if the timer is expired , performing a 6 ; a 3 : determining whether to send an additional map - request : observe the traffic of data packets to the destination eid - prefix during the observation period , if the traffic is abnormal , sending an additional map - request packet ( site 1 and 5 send the additional map - request packet at the time of t = 12 and 13 respectively ); otherwise , no packet is sent , and turning to step a 4 . a 4 : sending the data packets : with respect to the entry in eid - to - rloc cache , sites 1 and 5 discard the data packets ( achieving the flow control of the data packet ) since the rloc replied by the etr is invalid , during the period of t = 12 ˜ 30 min ; while the rloc replied by the etr is valid , thus sites 2 , 3 , 6 during said period and all itrs in other periods encapsulate the data packets based , and send to etr ; a 5 : processing the map_reply : after receiving the map_reply returned from etr , updating corresponding entry in the eid - to - rloc cache based on information in the map_reply ; a 6 : processing when eid - to - rloc cache expired : when the entry is expired , deleting the entry of the eid - prefix previously added in step a2 into the eid - to - rloc cache ; b . detecting anomaly of the traffic and sending map_reply by a etr b 1 : processing data packets : after receiving a data packet sent by the itr , decapsulating the data packets , and forwarding it to its receiver ; b 2 : processing map - request : after receiving a map - request , calculating the amount of the requests to the eid - prefix in the observed period based on the eid - prefixes specified by the map - requests , and determining whether the amount of the requests is abnormal . if it is abnormal ( during the period of t = 12 ˜ 30 min , the amount of requests is abnormal ), turning to step b 3 , otherwise , turning to step b 4 . b 3 : determining whether the query traffic of the itr that currently sends the map - request is abnormal : during the period of t = 12 ˜ 30 min , with respect to sites 1 and 5 , the number of map - request message sent during the observation period is more than 1 , the query traffic of these itr is abnormal , and turning to step b 5 ; while the query traffic of other itrs are normal and turning to step b 4 ; b 4 : replying to itr of which the query traffic is normal : ( during the period of t = 12 ˜ 30 min , if the overall traffic of the whole network is determined as abnormal in step b 2 and the traffic of itr which sent the current map - requset is determined as normal in step b 3 , then tuning to this step ; at other time , if the overall traffic of the whole network is determined as normal in step b 2 , also entering this step ) extracting , based on the eid - prefix specified by the map - request , its corresponding rloc information from the eid - to - rloc database and reply it to itr ; b 5 : replying to itr of which the query traffic is abnormal : during the period of t = 12 ˜ 30 min , if the overall traffic of the whole network is determined as abnormal in step b 2 and the traffic of the itr which sent the current map - requset is also determined as abnormal in step b 3 , then replying the rloc corresponding to the queried eid - prefix as an invalid rloc , and feeding it back to itr , so as to limit the traffic of the itr .