CN108965045A - A kind of method and system of test router forwarding multicasting DNS message - Google Patents
A kind of method and system of test router forwarding multicasting DNS message Download PDFInfo
- Publication number
- CN108965045A CN108965045A CN201810649076.5A CN201810649076A CN108965045A CN 108965045 A CN108965045 A CN 108965045A CN 201810649076 A CN201810649076 A CN 201810649076A CN 108965045 A CN108965045 A CN 108965045A
- Authority
- CN
- China
- Prior art keywords
- router
- dns message
- test
- terminal
- result
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/16—Multipoint routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/02—Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
Abstract
The present invention provides a kind of method and system of test router forwarding multicasting DNS message, method includes: that several test terminals are connect with router, and select one of them as main test terminal from several described test terminals;Several any test terminals of the main test terminal control send multicast DNS message to the router;The router forwards the multicast DNS message to the other several test terminals being connected to the router;Other several test terminals grab the multicast DNS message, and the crawl result of the multicast DNS message is fed back to the router;The main test terminal obtains the crawl as a result, and generating router test result according to the crawl result from the router.The function of each interface crawl multicast DNS message of test router of the present invention, it is ensured that isolation local area network and guest network, local area network when sending multicast DNS message.
Description
Technical field
The present invention relates to the communications field, espespecially a kind of method and system of test router forwarding multicasting DNS message.
Background technique
Multicast DNS refers to multicast DNS (Multicast DNS), mainly realizes in not legacy DNS server
In the case of, the host in local area network realizes mutually discovery and communication.The use of multicast DNS, allow client do not need through
It crosses traditional dns server and inquires the IP address of given host name, and well solved and named in zero configuration network
Problem.Each host into local area network all can All hosts into local area network if opening multicast DNS service
One message of multicast, Who Am I (domain name) and my IP address is how many.Then other have the host of multicast DNS service will
Response, can also tell you, whose (domain name) it is, its IP address is how many.It is exactly to use multicast when certain equipment needs to service
The corresponding IP address of DNS query domain name, corresponding equipment equally pass through multicast mode response after receiving the message, other are led at this time
Machine equipment is also that can receive the response message, other hosts also will record domain name and IP, updates caching.
Current multicast DNS message is widely used in the shared scene of home network, for example the audio sync in local area network is broadcast
It puts, video is launched, projection and printing function etc..But the net as used in the terminal of the distinct interface connection on router
Network is different, such as the connection local area network having, some connection guest networks, and the connecting wan having.And home network is shared
In order to avoid privacy leakage and resource are occupied when router forwarding multicasting DNS message, usually only allow to turn in local area network
Hair, and in order to guarantee that the host in local area network net with multicast DNS service can be found in time, it is therefore desirable to test routing
Whether the function of device forwarding multicasting DNS message is normal.
Summary of the invention
The object of the present invention is to provide a kind of method and system of test router forwarding multicasting DNS message, realize test
The function of each interface crawl multicast DNS message of router, it is ensured that isolation local area network and visitor's net when sending multicast DNS message
Network, local area network.
Technical solution provided by the invention is as follows:
The present invention provides a kind of method of test router forwarding multicasting DNS message characterized by comprising several
Test terminal is connect with router, and selects one of them as main test terminal from several described test terminals;The master
It tests several any test terminals of terminal control and sends multicast DNS message to the router;Described in the router forwarding
Multicast DNS message is to the other several test terminals being connected to the router;Described in other several test terminal crawls
Multicast DNS message, and the crawl result of the multicast DNS message is fed back into the router;The main test terminal is from institute
It states router and obtains the crawl as a result, and generating router test result according to the crawl result.
Further, the method also includes: pre-establish the Test Network of the test router forwarding multicasting DNS message
Network specifically includes: N number of test terminal in several described test terminals connects the routing as LAN testing terminal
N number of lan interfaces of device;M test terminal in several described test terminals tests terminal, connection as guest network
M guest network interface of the router;X test terminal in several described test terminals is tested eventually as wide area network
End, connects X Wide Area Network interface of the router.
Further, several any test terminals of the main test terminal control send multicast DNS message to the road
By device;The router forwards the multicast DNS message to the other several test terminals being connected to the router specifically to wrap
Include: any test terminal sends multicast DNS message to described in described main several LAN testing terminals of test terminal control
Router;The router forwards the multicast DNS message to remaining LAN testing terminal, the guest network to test terminal
Terminal is tested with the wide area network.
Further, several test terminals grab the multicast DNS message, and grabbing the multicast DNS message
Take result to feed back to the router to specifically include: remaining described LAN testing terminal, the guest network test terminal and
The wide area network test terminal grabs the multicast DNS message;When LAN testing terminal grabs the multicast DNS message,
The result of the interface energy forwarding multicasting DNS message of LAN testing terminal connection is sent to the router;Otherwise it sends
Fail the result of forwarding multicasting DNS message to the router;When guest network test terminal does not grab the multicast DNS report
Text, the interface for sending guest network test terminal connection fail the result of forwarding multicasting DNS message to the router;It is no
Then send can forwarding multicasting DNS message result to the router;When wide area network test terminal does not grab the multicast DNS
Message, the interface for sending wide area network test terminal connection fail the result of forwarding multicasting DNS message to the router;It is no
Then send can forwarding multicasting DNS message result to the router.
Further, several any test terminals of the main test terminal control send multicast DNS message to the road
By device;The router forwards the multicast DNS message to the other several test terminals being connected to the router specifically to wrap
Include: any test terminal sends multicast DNS message to institute in several guest networks of main test terminal control test terminal
State router;The router forwards the multicast DNS message whole to the LAN testing terminal, the test of remaining guest network
End and the wide area network test terminal.
Further, several test terminals grab the multicast DNS message, and grabbing the multicast DNS message
Take result to feed back to the router to specifically include: the LAN testing terminal, remaining described guest network test terminal and
The wide area network test terminal grabs the multicast DNS message;When LAN testing terminal does not grab the multicast DNS report
Text, the interface for sending LAN testing terminal connection fail the result of forwarding multicasting DNS message to the router;Otherwise
Send can forwarding multicasting DNS message result to the router;When guest network test terminal does not grab the multicast DNS
Message, the interface for sending guest network test terminal connection fail the result of forwarding multicasting DNS message to the router;
Otherwise send can forwarding multicasting DNS message result to the router;When wide area network test terminal does not grab the multicast
DNS message, the interface for sending wide area network test terminal connection fail the result of forwarding multicasting DNS message to the routing
Device;Otherwise send can forwarding multicasting DNS message result to the router.
Further, several any test terminals of the main test terminal control send multicast DNS message to the road
By device;The router forwards the multicast DNS message to the other several test terminals being connected to the router specifically to wrap
Include: any test terminal sends multicast DNS message to described in several wide area networks of main test terminal control test terminal
Router;The router forwards the multicast DNS message to the LAN testing terminal, the guest network to test terminal
Terminal is tested with remaining wide area network.
Further, several test terminals grab the multicast DNS message, and grabbing the multicast DNS message
Take result to feed back to the router to specifically include: the LAN testing terminal, remaining described guest network test terminal and
The wide area network test terminal grabs the multicast DNS message;When LAN testing terminal does not grab the multicast DNS report
Text, the interface for sending LAN testing terminal connection fail the result of forwarding multicasting DNS message to the router;Otherwise
Send can forwarding multicasting DNS message result to the router;When guest network test terminal does not grab the multicast DNS
Message, the interface for sending guest network test terminal connection fail the result of forwarding multicasting DNS message to the router;
Otherwise send can forwarding multicasting DNS message result to the router;When wide area network test terminal does not grab the multicast
DNS message, the interface for sending wide area network test terminal connection fail the result of forwarding multicasting DNS message to the routing
Device;Otherwise send can forwarding multicasting DNS message result to the router.
The present invention also provides a kind of systems of test router forwarding multicasting DNS message, which is characterized in that including router
Intelligent terminal is tested with several, several described test terminals are connect with router, and are selected from several described test terminals
Select one of as main test terminal: the main test terminal specifically includes: control module, controls several any tests eventually
End sends multicast DNS message to the router;The router forwards the multicast DNS message to connect to the router
The other several test terminals connect;Other several test terminals, grab the multicast DNS message, and by the multicast DNS
The crawl result of message feeds back to the router;The main test terminal is specific further include: module is obtained, from the router
Obtain the crawl result;Generation module generates router test knot according to the crawl result that the acquisition module obtains
Fruit.
Further, several described test terminals specifically include: N number of LAN testing terminal connects the router
N number of lan interfaces;M guest network tests terminal, connects M guest network interface of the router;X wide area network
Terminal is tested, X Wide Area Network interface of the router is connected.
A kind of method and system of the test router forwarding multicasting DNS message provided through the invention, can bring with
It is lower at least one the utility model has the advantages that
1, in the present invention, router local area network and wide area network is isolated, confirms multicast DNS message not in local area network and wide area network
Between transmit, have the advantage that
(1) router will not forward terminal of the multicast DNS message of terminal in local area network into wide area network, guarantee privacy number
According to not being leaked, avoid terminal resource in local area network occupied.
(2) router will not forward the terminal that multicast is added in the multicast DNS message to local area network of terminal in wide area network, prevent
Only Internet resources are occupied, influence efficiency of transmission.
2, in the present invention, router local area network and guest network is isolated, confirms multicast DNS message not in local area network and visitor
It transmits, has the advantage that between network
(1) router will not forward terminal of the multicast DNS message of terminal in local area network into guest network, guarantee privacy
Data are not leaked, and avoid terminal resource in local area network occupied.
(2) router will not forward the terminal that multicast is added in the multicast DNS message to local area network of terminal in guest network,
It prevents Internet resources occupied, influences efficiency of transmission.
3, in the present invention, guarantee that the terminal that multicast is added in local area network normally sends and grab between each other multicast DNS report
Text can be found and provide corresponding service.
Detailed description of the invention
Below by clearly understandable mode, preferred embodiment is described with reference to the drawings, a kind of test router is forwarded
Above-mentioned characteristic, technical characteristic, advantage and its implementation of the method and system of multicast DNS message are further described.
Fig. 1 is a kind of flow chart of one embodiment of the method for test router forwarding multicasting DNS message of the present invention;
Fig. 2 is a kind of flow chart of another embodiment of the method for test router forwarding multicasting DNS message of the present invention;
Fig. 3 is a kind of flow chart of another embodiment of the method for test router forwarding multicasting DNS message of the present invention;
Fig. 4 is a kind of flow chart of another embodiment of the method for test router forwarding multicasting DNS message of the present invention;
Fig. 5 is a kind of flow chart of another embodiment of the method for test router forwarding multicasting DNS message of the present invention;
Fig. 6 is a kind of structure chart of one embodiment of the system of test router forwarding multicasting DNS message of the present invention;
Fig. 7 is a kind of structure chart of another embodiment of the system of test router forwarding multicasting DNS message of the present invention;
Fig. 8, Fig. 9, Figure 10, Figure 11 are a kind of method and system of test router forwarding multicasting DNS message of the present invention
The structural schematic diagram of one example.
Specific embodiment
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, Detailed description of the invention will be compareed below
A specific embodiment of the invention.It should be evident that drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing, and obtain other embodiments.
To make simplified form, part related to the present invention is only schematically shown in each figure, they are not represented
Its practical structures as product.In addition, there is identical structure or function in some figures so that simplified form is easy to understand
Component only symbolically depicts one of those, or has only marked one of those.Herein, "one" is not only indicated
" only this ", can also indicate the situation of " more than one ".
The first embodiment of the present invention, as shown in Figure 1, a kind of method of test router forwarding multicasting DNS message, packet
It includes:
Several test terminals are connect with router, and select one of them whole as main test from several test terminals
End;
Several any test terminals of main test terminal control send multicast DNS message to router;Router forwarding group
DNS message is broadcast to the other several test terminals connecting with router;
Other several test terminals grab multicast DNS message, and the crawl result of multicast DNS message is fed back to routing
Device;
Main test terminal obtains crawl as a result, and generating router test result according to crawl result from router.
Specifically, several test terminals are connect with router, and is selected from several test terminals in the present embodiment
One of to be used as main test terminal, wherein any one test terminal connecting with router all can serve as main test eventually
End.Tester sends multicast DNS message to router, wherein sending multicast by any test terminal of main test terminal control
The test terminal of DNS message can be the others and routing of main test terminal remote control either main test terminal
The test terminal of device connection.Router forwarding multicasting DNS message is to the other several test terminals connecting with router, and test is eventually
End grabs multicast DNS message, and crawl result (can grab or not grab) is fed back to router.It is main
Test terminal obtains crawl as a result, judging corresponding router interface forwarding multicasting DNS message according to crawl result from router
Function it is whether normal, then generate router test result.The interface of all kinds of connection terminals turns on the application test router
Whether the function of sending out multicast DNS message is normal, turns in a specific range when therefore ensuring that router forwarding multicasting DNS message
Hair guarantees that private data is not leaked, while avoiding terminal resource and network occupied.
Second embodiment of the invention, as shown in Fig. 2, the present embodiment, compared with above-mentioned first embodiment, main improve is,
The method of test router forwarding multicasting DNS message further include: pre-establish the test of test router forwarding multicasting DNS message
Network specifically includes:
N number of test terminal in several test terminals connects N number of local area network of router as LAN testing terminal
Interface;
M test terminal in several test terminals tests terminal as guest network, connects M visitor of router
Network interface;
X test terminal in several test terminals tests terminal as wide area network, connects X wide area network of router
Interface.
Specifically, the test network of test router forwarding multicasting DNS message is pre-established in the present embodiment, that is,
The distinct interface of several test terminals and router is attached.Wherein, using N number of test terminal as LAN testing end
End, connect N number of lan interfaces of router, which includes wired lan mouth, wireless 2.4gWLAN mouthfuls and
5gWLAN mouthfuls, and a test terminal allows to connect one or more interfaces.Then using M test terminal as guest network
Terminal is tested, M guest network interface of router is connected.In addition terminal, connection are tested using X test terminal as wide area network
X Wide Area Network interface of router, the Wide Area Network interface include that wired WAN mouthfuls and the wireless network based on wisp extension connect
Mouthful.The application does not limit link road by the test terminal of device, and the quantity for testing terminal only needs to guarantee during the test can
The total interface of overlay router.
Third embodiment of the invention is the optimal enforcement example of above-mentioned second embodiment, as shown in figure 3, the present embodiment with it is upper
It states second embodiment to compare, main improve is:
Several any test terminals of main test terminal control send multicast DNS message to router;Router forwarding group
DNS message to the other several test terminals connecting with router are broadcast to specifically include:
Any test terminal sends multicast DNS message to routing in main several LAN testing terminals of test terminal control
Device;
Router forwarding multicasting DNS message to remaining LAN testing terminal, guest network test terminal and wide area network is surveyed
Try terminal;
Several test terminals grab multicast DNS message, and the crawl result of multicast DNS message is fed back to routing implement body
Include:
Remaining LAN testing terminal, guest network test terminal and wide area network test terminal grab multicast DNS message;
When LAN testing terminal grabs multicast DNS message, the interface for sending the connection of LAN testing terminal can be forwarded
The result of multicast DNS message is to router;Otherwise it sends and fails the result of forwarding multicasting DNS message to router;
When guest network test terminal does not grab multicast DNS message, the interface of transmission guest network test terminal connection
Fail the result of forwarding multicasting DNS message to router;Otherwise send can forwarding multicasting DNS message result to router;
When wide area network test terminal does not grab multicast DNS message, the interface for sending wide area network test terminal connection fails
The result of forwarding multicasting DNS message is to router;Otherwise send can forwarding multicasting DNS message result to router.
Specifically, in the present embodiment, any test terminal hair in main several LAN testing terminals of test terminal control
Send multicast DNS message to router, router forwarding multicasting DNS message to remaining LAN testing terminal, guest network test
Terminal and wide area network test terminal.Wherein main test terminal is LAN testing terminal or guest network test terminal or wide area network
Any one in terminal is tested, and if main test terminal is LAN testing terminal, sends multicast DNS message
Test terminal can be main test terminal, be also possible to remaining LAN testing terminal of non-master test terminal.Remaining local
Net tests terminal, guest network test terminal and wide area network test terminal and grabs multicast DNS message, and will grab result (can
Grab or grab less than) be sent to router.
LAN testing terminal sends multicast DNS message in the application, tests remaining LAN testing terminal, guest network
Whether terminal and wide area network termination can grab, and determine the multicast DNS report sent in local area network when router feature is normal
Text only has terminal in local area network that can grab, guest network terminal and wide area network termination all grab less than.To local area network
Interior terminal can and be merely able to avoid private data leakage to visitor's net to be all that remaining terminal of local area network provides service
Network terminal and wide area network termination, and avoid router from E-Packeting and occupy Internet resources to excessive terminal.
Fourth embodiment of the invention is the optimal enforcement example of above-mentioned second embodiment, as shown in figure 4, the present embodiment with it is upper
It states second embodiment to compare, main improve is:
Several any test terminals of main test terminal control send multicast DNS message to router;Router forwarding group
DNS message to the other several test terminals connecting with router are broadcast to specifically include:
Several guest networks of main test terminal control test any test terminal in terminal and send multicast DNS message to road
By device;
Router forwarding multicasting DNS message to LAN testing terminal, remaining guest network test terminal and wide area network is surveyed
Try terminal;
Several test terminals grab multicast DNS message, and the crawl result of multicast DNS message is fed back to routing implement body
Include:
LAN testing terminal, remaining guest network test terminal and wide area network test terminal grab multicast DNS message;
When LAN testing terminal does not grab multicast DNS message, the interface for sending the connection of LAN testing terminal fails
The result of forwarding multicasting DNS message is to router;Otherwise send can forwarding multicasting DNS message result to router;
When guest network test terminal does not grab multicast DNS message, the interface of transmission guest network test terminal connection
Fail the result of forwarding multicasting DNS message to router;Otherwise send can forwarding multicasting DNS message result to router;
When wide area network test terminal does not grab multicast DNS message, the interface for sending wide area network test terminal connection fails
The result of forwarding multicasting DNS message is to router;Otherwise send can forwarding multicasting DNS message result to router.
Specifically, several guest networks of main test terminal control test any test terminal in terminal in the present embodiment
Multicast DNS message is sent to router, router forwarding multicasting DNS message to LAN testing terminal, remaining guest network are surveyed
It tries terminal and wide area network tests terminal.Wherein main test terminal is LAN testing terminal or guest network test terminal or wide area
Net tests any one in terminal, and if main test terminal is guest network test terminal, sends multicast DNS report
The test terminal of text can be main test terminal, be also possible to remaining guest network test terminal of non-master test terminal.Office
Domain net test terminal, remaining guest network test terminal and wide area network test terminal grab multicast DNS message, and will grab result
(can grab or grab less than) is sent to router.
Guest network test terminal sends multicast DNS message in the application, tests LAN testing terminal, remaining visitor's net
Whether network terminal and wide area network termination can grab, and determine the multicast that guest network terminal is sent when router feature is normal
Terminal, guest network terminal and wide area network termination are all grabbed less than to avoid guest network terminal in DNS message local area network
Occupy the Service Source that terminal provides in local area network.
Fifth embodiment of the invention is the optimal enforcement example of above-mentioned second embodiment, as shown in figure 5, the present embodiment with it is upper
It states second embodiment to compare, main improve is:
Several any test terminals of main test terminal control send multicast DNS message to router;Router forwarding group
DNS message to the other several test terminals connecting with router are broadcast to specifically include:
Several wide area networks of main test terminal control test any test terminal in terminal and send multicast DNS message to routing
Device;
Router forwarding multicasting DNS message to LAN testing terminal, guest network test terminal and remaining wide area network is surveyed
Try terminal;
Several test terminals grab multicast DNS message, and the crawl result of multicast DNS message is fed back to routing implement body
Include:
LAN testing terminal, remaining guest network test terminal and wide area network test terminal grab multicast DNS message;
When LAN testing terminal does not grab multicast DNS message, the interface for sending the connection of LAN testing terminal fails
The result of forwarding multicasting DNS message is to router;Otherwise send can forwarding multicasting DNS message result to router;
When guest network test terminal does not grab multicast DNS message, the interface of transmission guest network test terminal connection
Fail the result of forwarding multicasting DNS message to router;Otherwise send can forwarding multicasting DNS message result to router;
When wide area network test terminal does not grab multicast DNS message, the interface for sending wide area network test terminal connection fails
The result of forwarding multicasting DNS message is to router;Otherwise send can forwarding multicasting DNS message result to router.
Specifically, several wide area networks of main test terminal control test any test terminal hair in terminal in the present embodiment
Send multicast DNS message to router, router forwarding multicasting DNS message to LAN testing terminal, guest network test terminal
Terminal is tested with remaining wide area network.Wherein main test terminal is LAN testing terminal or guest network test terminal or wide area network
Any one in terminal is tested, and if main test terminal is guest network test terminal, sends multicast DNS message
Test terminal can be main test terminal, be also possible to it is non-master test terminal remaining guest network test terminal.Local
Net test terminal, guest network test terminal and remaining wide area network test terminal grab multicast DNS message, and will grab result
(can grab or grab less than) is sent to router.
Wide area network test terminal sends multicast DNS message in the application, tests LAN testing terminal, guest network terminal
And whether remaining wide area network termination can grab, and determine the multicast DNS that wide area network termination is sent when router feature is normal
Terminal, guest network terminal and wide area network termination are all grabbed less than so that wide area network termination be avoided to occupy in message local area network
The Service Source that terminal provides in local area network.
The sixth embodiment of the present invention, as shown in fig. 6, a kind of system of test router forwarding multicasting DNS message, including
Router 100 and several test intelligent terminals 200, several test terminals 200 connect with router 100, and from several
Test terminal 200 selects one of as main test terminal 210:
Main test terminal 210 specifically includes:
Control module 211 controls several any test terminals 200 and sends multicast DNS message to router 100;
Router 100, forwarding multicasting DNS message to the other several test terminals 200 being connect with router 100;
Other several test terminals 200 grab multicast DNS message, and the crawl result of multicast DNS message are fed back to road
By device 100;
Main test terminal 210 is specific further include:
Module 212 is obtained, obtains crawl result from router 100;
Generation module 213 generates 100 test result of router according to the crawl result that module 212 obtains is obtained.
The concrete operations mode of modules in the present embodiment has been carried out in above-mentioned corresponding embodiment of the method
Detailed description, therefore no longer repeated one by one.
Seventh embodiment of the invention is the optimal enforcement example of above-mentioned sixth embodiment, as shown in fig. 7, the present embodiment with it is upper
It states sixth embodiment to compare, main improve is, several test terminals 200 specifically include:
N number of LAN testing terminal 220 connects N number of lan interfaces of router 100;
M guest network tests terminal 230, connects M guest network interface of router 100;
X wide area network tests terminal 240, connects X Wide Area Network interface of router 100.
The concrete operations mode of modules in the present embodiment has been carried out in above-mentioned corresponding embodiment of the method
Detailed description, therefore no longer repeated one by one.
An a kind of example of the method and system of test router forwarding multicasting DNS message of the present invention, comprising:
1, the first round tests, as shown in Figure 8:
The wired network adapter of S1:PC1 is linked into the LAN mouth of router, is labeled as LAN1, wireless network card couple in router
2.4gWLAN indicates for 2.4gWLAN1;The wired network adapter of PC2 is linked into the LAN mouth of router, is labeled as LAN2, wireless network card
The 2.4gWLAN of couple in router indicates for 2.4gWLAN2;The wired network adapter of PC3 connects wired WAN of router, is labeled as
DUT_WAN1;
S2: sending multicast DNS message from LAN1, carries out packet capturing in LAN2,2.4gWLAN2, DUT_WAN1, it is contemplated that result is
LAN2,2.4gWLAN2 can grab multicast DNS message, and DUT_WAN1 is grabbed less than multicast DNS message;
S3: sending multicast DNS message from 2.4gWLAN1, carries out packet capturing in LAN2,2.4gWLAN2, DUT_WAN1, it is contemplated that
As a result multicast DNS message can be grabbed for LAN2,2.4gWLAN2, DUT_WAN1 is grabbed less than multicast DNS message;
S4: sending multicast DNS message from DUT_WAN1, carries out packet capturing in LAN1,2.4gWLAN1, LAN2,2.4gWLAN2,
Expected results are that LAN1,2.4gWLAN1, LAN2,2.4gWLAN2 are grabbed less than multicast DNS message;
2, the second wheel test, as shown in Figure 9:
The wired network adapter of S1:PC1 is linked into the LAN mouth of router, is labeled as LAN1, wireless network card couple in router
5gWLAN indicates for 5gWLAN1;The wired network adapter of PC2 is linked into the LAN mouth of router, is labeled as LAN2, wireless network card access
The 5gWLAN of router indicates for 5gWLAN2;The wired network adapter of PC3 connects wired WAN of router, is labeled as DUT_
WAN1;
S2: sending multicast DNS message from LAN1, carries out packet capturing in LAN2,5gWLAN2, DUT_WAN1, it is contemplated that result is
LAN2,5gWLAN2 can grab multicast DNS message, and DUT_WAN1 is grabbed less than multicast DNS message;
S3: sending multicast DNS message from 5gWLAN1, carries out packet capturing in LAN2,5gWLAN2, DUT_WAN1, it is contemplated that result
Multicast DNS message can be grabbed for LAN2,5gWLAN2, DUT_WAN1 is grabbed less than multicast DNS message;
S4: sending multicast DNS message from DUT_WAN1, carries out packet capturing in LAN1,5gWLAN1, LAN2,5gWLAN2, it is contemplated that
As a result it grabs for LAN1,5gWLAN1, LAN2,5gWLAN2 less than multicast DNS message;
3, third round is tested, as shown in Figure 10:
The guest network of the wireless network card couple in router of S1:PC1, indicates for guest_WLAN;The wired network of PC2 is clamped
Enter the LAN mouth to router, be labeled as LAN2, the 5gWLAN of wireless network card couple in router indicates for 5gWLAN2;PC3's has
Gauze card connects wired WAN of router, is labeled as DUT_WAN1;
S2: sending multicast DNS message from guest_WLAN, carries out packet capturing in LAN2,5gWLAN2, DUT_WAN1, it is contemplated that knot
Fruit is that LAN2,5gWLAN2, DUT_WAN1 cannot grab multicast DNS message;
S3: sending multicast DNS message from LAN2,5gWLAN2, DUT_WAN1 respectively, carries out packet capturing in guest_WLAN, in advance
Phase result is that guest_WLAN is grabbed less than multicast DNS message;
4, fourth round is tested, as shown in figure 11:
The 2.4gWLAN of the wireless network card couple in router of S1:PC1, indicates for 2.4gWLAN1;The wired network of PC2 is clamped
Enter the LAN mouth to router, be labeled as LAN2, the 5gWLAN of wireless network card couple in router indicates for 5gWLAN2;Router
Wisp is carried out, the wireless network for accompanying measurement equipment is extended to, PC3 accesses the LAN for accompanying measurement equipment, indicates for SUT_LAN2;
S2: sending multicast DNS message from SUT_LAN2, carries out packet capturing in 2.4gWLAN1, LAN2,5gWLAN2, it is contemplated that knot
Fruit is that 2.4gWLAN1, LAN2,5gWLAN2 cannot grab multicast DNS message;
S3: sending multicast DNS message from 2.4gWLAN1, LAN2,5gWLAN2 respectively, carries out packet capturing in SUT_LAN2, in advance
Phase result is that SUT_LAN2 is grabbed less than multicast DNS message;
5, scrnario testing
The 2.4gWLAN that will support the terminal couple in router of AirPlay, by iPhone equipment couple in router
5gWLAN carries out equipment search using the AirPlay of iPhone equipment, and carries out audio transmission.Expected results set for iPhone
It is standby to search the terminal for supporting AirPlay, and energy Successful transmissions audio, terminal can play the audio, no Caton, delay etc.
It is abnormal.
It should be noted that above-described embodiment can be freely combined as needed.The above is only of the invention preferred
Embodiment, it is noted that for those skilled in the art, in the premise for not departing from the principle of the invention
Under, several improvements and modifications can also be made, these modifications and embellishments should also be considered as the scope of protection of the present invention.
Claims (10)
1. a kind of method of test router forwarding multicasting DNS message characterized by comprising
Several test terminals are connect with router, and select one of them whole as main test from several described test terminals
End;
Several any test terminals of the main test terminal control send multicast DNS message to the router;The routing
Device forwards the multicast DNS message to the other several test terminals being connected to the router;
Other several test terminals grab the multicast DNS message, and the crawl result of the multicast DNS message is fed back
To the router;
The main test terminal obtains the crawl as a result, and generating router survey according to the crawl result from the router
Test result.
2. the method for test router forwarding multicasting DNS message according to claim 1, which is characterized in that the method
Further include: the test network for pre-establishing the test router forwarding multicasting DNS message specifically includes:
N number of test terminal in several described test terminals connects N number of office of the router as LAN testing terminal
Domain network interface;
M test terminal in several described test terminals tests terminal as guest network, connects M of the router
Guest network interface;
X test terminal in several described test terminals tests terminal as wide area network, and X for connecting the router are wide
Domain network interface.
3. the method for test router forwarding multicasting DNS message according to claim 2, which is characterized in that the main survey
It tries several any test terminals of terminal control and sends multicast DNS message to the router;The router forwards described group
DNS message to the other several test terminals being connected to the router are broadcast to specifically include:
Any test terminal sends multicast DNS message to described in described main several LAN testing terminals of test terminal control
Router;
The router forward the multicast DNS message to remaining LAN testing terminal, guest network test terminal and
The wide area network tests terminal.
4. the method for test router forwarding multicasting DNS message according to claim 3, which is characterized in that described several
It tests terminal and grabs the multicast DNS message, and the crawl result of the multicast DNS message is fed back into the routing implement body
Include:
Remaining described LAN testing terminal, guest network test terminal and wide area network test terminal grab described group
Broadcast DNS message;
When LAN testing terminal grabs the multicast DNS message, the interface energy of the LAN testing terminal connection is sent
The result of forwarding multicasting DNS message is to the router;Otherwise it sends and fails the result of forwarding multicasting DNS message to the routing
Device;
Terminal is tested when guest network and does not grab the multicast DNS message, sends the guest network test terminal connection
Interface fails the result of forwarding multicasting DNS message to the router;Otherwise send can forwarding multicasting DNS message result to institute
State router;
Terminal is tested when wide area network and does not grab the multicast DNS message, sends the interface of the wide area network test terminal connection
Fail the result of forwarding multicasting DNS message to the router;Otherwise send can forwarding multicasting DNS message result to the road
By device.
5. the method for test router forwarding multicasting DNS message according to claim 2, which is characterized in that the main survey
It tries several any test terminals of terminal control and sends multicast DNS message to the router;The router forwards described group
DNS message to the other several test terminals being connected to the router are broadcast to specifically include:
Any test terminal sends multicast DNS message to institute in several guest networks of main test terminal control test terminal
State router;
The router forward the multicast DNS message to the LAN testing terminal, remaining guest network test terminal and
The wide area network tests terminal.
6. the method for test router forwarding multicasting DNS message according to claim 5, which is characterized in that described several
It tests terminal and grabs the multicast DNS message, and the crawl result of the multicast DNS message is fed back into the routing implement body
Include:
The LAN testing terminal, remaining described guest network test terminal and wide area network test terminal grab described group
Broadcast DNS message;
When LAN testing terminal does not grab the multicast DNS message, the interface of the LAN testing terminal connection is sent
Fail the result of forwarding multicasting DNS message to the router;Otherwise send can forwarding multicasting DNS message result to the road
By device;
Terminal is tested when guest network and does not grab the multicast DNS message, sends the guest network test terminal connection
Interface fails the result of forwarding multicasting DNS message to the router;Otherwise send can forwarding multicasting DNS message result to institute
State router;
Terminal is tested when wide area network and does not grab the multicast DNS message, sends the interface of the wide area network test terminal connection
Fail the result of forwarding multicasting DNS message to the router;Otherwise send can forwarding multicasting DNS message result to the road
By device.
7. the method for test router forwarding multicasting DNS message according to claim 2, which is characterized in that the main survey
It tries several any test terminals of terminal control and sends multicast DNS message to the router;The router forwards described group
DNS message to the other several test terminals being connected to the router are broadcast to specifically include:
Any test terminal sends multicast DNS message to described in several wide area networks of main test terminal control test terminal
Router;
The router forward the multicast DNS message to the LAN testing terminal, guest network test terminal and
Remaining wide area network tests terminal.
8. the method for test router forwarding multicasting DNS message according to claim 7, which is characterized in that described several
It tests terminal and grabs the multicast DNS message, and the crawl result of the multicast DNS message is fed back into the routing implement body
Include:
The LAN testing terminal, remaining described guest network test terminal and wide area network test terminal grab described group
Broadcast DNS message;
When LAN testing terminal does not grab the multicast DNS message, the interface of the LAN testing terminal connection is sent
Fail the result of forwarding multicasting DNS message to the router;Otherwise send can forwarding multicasting DNS message result to the road
By device;
Terminal is tested when guest network and does not grab the multicast DNS message, sends the guest network test terminal connection
Interface fails the result of forwarding multicasting DNS message to the router;Otherwise send can forwarding multicasting DNS message result to institute
State router;
Terminal is tested when wide area network and does not grab the multicast DNS message, sends the interface of the wide area network test terminal connection
Fail the result of forwarding multicasting DNS message to the router;Otherwise send can forwarding multicasting DNS message result to the road
By device.
9. a kind of system of test router forwarding multicasting DNS message, which is characterized in that including router and several test intelligence
Can terminal, it is described several test terminals connect with router, and from it is described several test terminals select it is one of as
Main test terminal:
The main test terminal specifically includes:
Control module controls several any test terminals and sends multicast DNS message to the router;
The router forwards the multicast DNS message to the other several test terminals being connected to the router;
Other several test terminals, grab the multicast DNS message, and the crawl result of the multicast DNS message is anti-
It is fed to the router;
The main test terminal is specific further include:
Module is obtained, obtains the crawl result from the router;
Generation module generates router test result according to the crawl result that the acquisition module obtains.
10. the system of test router transmitted test router forwarding multicasting DNS message according to claim 9, special
Sign is that several described test terminals specifically include:
N number of LAN testing terminal connects N number of lan interfaces of the router;
M guest network tests terminal, connects M guest network interface of the router;
X wide area network tests terminal, connects X Wide Area Network interface of the router.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810649076.5A CN108965045A (en) | 2018-06-22 | 2018-06-22 | A kind of method and system of test router forwarding multicasting DNS message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810649076.5A CN108965045A (en) | 2018-06-22 | 2018-06-22 | A kind of method and system of test router forwarding multicasting DNS message |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108965045A true CN108965045A (en) | 2018-12-07 |
Family
ID=64491789
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810649076.5A Pending CN108965045A (en) | 2018-06-22 | 2018-06-22 | A kind of method and system of test router forwarding multicasting DNS message |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108965045A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109981819A (en) * | 2019-03-22 | 2019-07-05 | 新华三技术有限公司合肥分公司 | MDNS message processing method, device and group network system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101917351A (en) * | 2010-03-31 | 2010-12-15 | 迈普通信技术股份有限公司 | Multicasting forwarding method on router and forwarding router thereof |
CN105530188A (en) * | 2014-10-27 | 2016-04-27 | 杭州迪普科技有限公司 | Multicast forwarding method and device |
US20160219014A1 (en) * | 2014-02-24 | 2016-07-28 | Telefonaktiebolaget L M Ericsson (Publ) | Method for accessing local services in wlans |
CN106201852A (en) * | 2015-04-29 | 2016-12-07 | 展讯通信(上海)有限公司 | A kind of distributed test method and test system |
CN106789401A (en) * | 2016-11-29 | 2017-05-31 | 上海斐讯数据通信技术有限公司 | The performance test methods and system of a kind of double-frequency wireless router |
CN106850317A (en) * | 2017-03-22 | 2017-06-13 | 上海斐讯数据通信技术有限公司 | The detection method and system of a kind of router |
US20180159818A1 (en) * | 2016-12-07 | 2018-06-07 | Virtuosys Limited | Router Node, Network and Method to Allow Service Discovery in a Network |
-
2018
- 2018-06-22 CN CN201810649076.5A patent/CN108965045A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101917351A (en) * | 2010-03-31 | 2010-12-15 | 迈普通信技术股份有限公司 | Multicasting forwarding method on router and forwarding router thereof |
US20160219014A1 (en) * | 2014-02-24 | 2016-07-28 | Telefonaktiebolaget L M Ericsson (Publ) | Method for accessing local services in wlans |
CN105530188A (en) * | 2014-10-27 | 2016-04-27 | 杭州迪普科技有限公司 | Multicast forwarding method and device |
CN106201852A (en) * | 2015-04-29 | 2016-12-07 | 展讯通信(上海)有限公司 | A kind of distributed test method and test system |
CN106789401A (en) * | 2016-11-29 | 2017-05-31 | 上海斐讯数据通信技术有限公司 | The performance test methods and system of a kind of double-frequency wireless router |
US20180159818A1 (en) * | 2016-12-07 | 2018-06-07 | Virtuosys Limited | Router Node, Network and Method to Allow Service Discovery in a Network |
CN106850317A (en) * | 2017-03-22 | 2017-06-13 | 上海斐讯数据通信技术有限公司 | The detection method and system of a kind of router |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109981819A (en) * | 2019-03-22 | 2019-07-05 | 新华三技术有限公司合肥分公司 | MDNS message processing method, device and group network system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104767666B (en) | Virtual expansible local area network tunneling termination establishes tunnel approach and equipment | |
CN102739541B (en) | The method, apparatus and system of a kind of routing function startup and transfer of data | |
CN105553943B (en) | Pass transmission method, screen transmission method, equipment and the data transmission system of screen software | |
CN108632931B (en) | Data transmission method, device, equipment and medium based on 5G network | |
CN105681445B (en) | The point-to-point transmission routing resource and device of data | |
CN106375139A (en) | Request copying method, apparatus and system | |
CN104683210A (en) | Automatic tunnel establishing method and device | |
CN105099847A (en) | Multi-homing access method and device | |
CN105635335B (en) | Social resources cut-in method, apparatus and system | |
CN101489188B (en) | Gateway discovery method in multimedia sensor network access technique | |
CN103023667A (en) | Multicast data transmission method and device based on dynamic virtual private network (DVPN) | |
CN106254410A (en) | Network system and method for establishing data connection | |
CN104917682A (en) | Overlay network configuration method and device | |
JPWO2018135428A1 (en) | Gateway device, network address translation device, communication system, communication method, and program | |
CN105634805B (en) | Method of the main control device to the unified configuration of optional equipment under a kind of wireless networking environment | |
CN109150766A (en) | The method and apparatus of dynamic addressing server in local area network based on UDP multicast | |
CN103780494B (en) | A kind of user information acquiring method and device | |
CN108965045A (en) | A kind of method and system of test router forwarding multicasting DNS message | |
CN102075588B (en) | Method and system for realizing network address translation (NAT) transversing and equipment | |
CN101980508A (en) | Network adaptive operation mode on network monitoring system | |
CN104486217A (en) | Cross network message transmitting method and equipment | |
CN104753779B (en) | A kind of implementation method of cloud group virtual flow-line system | |
US20120224488A1 (en) | Method of connectivity monitoring by subscriber line terminating apparatus | |
CN108983627A (en) | Household appliance and its data sharing method, device and computer readable storage medium | |
CN104901884B (en) | Wide area network SDN collecting topologies implementation method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200805 Address after: 201616 Shanghai city Songjiang District Sixian Road No. 3666 Applicant after: Phicomm (Shanghai) Co.,Ltd. Address before: 610100 125 Longquan Street Park Road, Longquanyi District, Chengdu, Sichuan. Applicant before: SICHUAN PHICOMM INFORMATION TECHNOLOGY Co.,Ltd. |
|
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20181207 |