CN101834741B - Method and device for adjusting configuration of equipment under bridge port of home gateway - Google Patents
Method and device for adjusting configuration of equipment under bridge port of home gateway Download PDFInfo
- Publication number
- CN101834741B CN101834741B CN201010154078.0A CN201010154078A CN101834741B CN 101834741 B CN101834741 B CN 101834741B CN 201010154078 A CN201010154078 A CN 201010154078A CN 101834741 B CN101834741 B CN 101834741B
- Authority
- CN
- China
- Prior art keywords
- notification message
- wan
- binding relationship
- information
- bridge port
- 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.)
- Active
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a method and a device for adjusting configuration of equipment under a bridge port of a home gateway. The method comprises the following steps of: sending a router announcement message containing configuration information according to the change of the binding relation when a binding relation between a bridge port of a home gateway and a WAN connection changes; and configuring network parameters of the router announcement message received by equipment under a bridge port of a home gateway according to the router announcement message. The invention automatically updates the network parameters of the equipment under the bridge port by using the characteristics of a router announcement after the home gateway changes the binding relation between the bridge port and the WAN connection, reduces complexity of network used by the equipment under the bridge port, and improves the user experience.
Description
Technical field
The present invention relates to network communications technology field, particularly relate to a kind of method and device of adjusting equipment under bridge port of home gateway configuration.
Background technology
IPv4 (Internet Protocol version 4, Internet Protocol Version 4) is the 4th edition of Internet protocol, is also that first is widely used, and forms the agreement of the foundation stone of Internet technology now.Exhausting and using the equipment of IP address more and more along with IPv4 address, there is Next Generation Internet protocol IP v6 (Internet Protocol Version 6, IPv6), IPv6 is the IP next generation protocol for alternative current edition IP agreement (IPv4) of IETF (InternetEngineering Task Force, Internet Engineering task groups) design.The design of IPv6 is considered to the revolutionary step of IPv4, its inherits, retain, amendment, improve and expanded IPv4 agreement, can ad infinitum increase IP (Internet Protocol, Internet protocol) the number networks, have the features such as huge address space and remarkable network security, not only can meet the demand of the Internet develop rapidly, the access way of plug and play, the certification of network layer and encryption, support to service quality and Mobile IP, become the optimal selection of structure Next Generation Internet network.And supporting after IPv6 for the home gateway that home network and Internet are coupled together, the needs of carrying out due to miscellaneous service, need to be to the LAN of home gateway (Local Area Network, local area network (LAN)) bridge port and WAN (the Wide Area Network of side, wide area network) side WAN connect bind, when device access Internet under bridge port, can walk different WAN and connect, thereby carry out various business.Dynamically changing after these binding relationships, the work of doing due to binding is only to control the forwarding of message in bridge, and under bridge port the network parameter of equipment as default route, DNS (Domain Name System, domain name system) and global address etc. all do not upgraded in time, need manual configuration or restarting equipment, increase equipment under bridge port and used the complexity of network, and brought inconvenience to client.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of method and device of adjusting equipment under bridge port of home gateway configuration, in order to after solving binding relationship that prior art is connected with WAN at bridge port and changing, need the network parameter of equipment or the problem of restarting equipment under manual configuration bridge port.
For solving the problems of the technologies described above, on the one hand, the invention provides a kind of method of adjusting equipment under bridge port of home gateway configuration, said method comprising the steps of:
When the binding relationship being connected with WAN when home gateway bridge port changes, situation about changing according to binding relationship, sends the carried router notification message that includes configuration information;
Equipment under bridge port of home gateway receives described carried router notification message, according to described carried router notification message, its network parameter is configured.
Further, situation about changing according to binding relationship, sends the carried router notification message that includes configuration information, is specially:
Before and after binding relationship changes, WAN connects while being route connection, and the default route time is setting-up time, and source address is used the address of bridge; By connect from WAN the DNS information and the prefix information that obtain before binding relationship changes, invalid flag is all set, and is included in described carried router notification message; Be included in described carried router notification message connect from WAN the DNS information and the prefix information that obtain after binding relationship changes; On this bridge port, send described carried router notification message with multicast form, after sending set point number, from described carried router notification message, remove connect from WAN the DNS information and the prefix information that obtain before binding relationship changes, continue to send described carried router notification message.
Further, situation about changing according to binding relationship, sends the carried router notification message that includes configuration information, is specially:
Be bridge joint mode when WAN before binding relationship change connects, and after binding relationship change, WAN connects while being route connection, described carried router notification message comprises the first router notification packet and the second router notification packet;
By connect from WAN the DNS information, default route time and the prefix information that monitor before binding relationship changes, invalid flag is set, and is included in described the first router notification packet; On this bridge port, send described the first router notification packet with multicast form, send set point number and stop afterwards;
Described the second router notification packet is included in after binding relationship changes and connects from WAN the DNS information and the prefix information that obtain; Source address is used the address of bridge, and the default route time is setting-up time, on this bridge port, sends described the second router notification packet with multicast form.
Further, situation about changing according to binding relationship, sends the carried router notification message that includes configuration information, is specially:
Before binding relationship changes, WAN connection is that route connects, and WAN connects while being bridge joint mode after binding relationship change, DNS information, default route time and prefix information before binding relationship is changed arrange invalid flag, and are included in described carried router notification message; Source address is the address of bridge, on this bridge port, sends described carried router notification message with multicast form, sends set point number and stops afterwards.
Further, situation about changing according to binding relationship, sends the carried router notification message that includes configuration information, is specially:
Before and after binding relationship changes, WAN connects while being bridge joint mode, by connect from WAN the DNS information, default route time and the prefix information that monitor before binding relationship changes, invalid flag is set, and is included in described carried router notification message; On this bridge port, send described carried router notification message with multicast form, send set point number and stop afterwards.
Further, also comprise:
Receiving router request message on bridge, obtains and receives the bridge port of described router solicitation message, current binding be that route connects, send carried router notification message at this bridge port with multicast form and reply.
Further, the source address of described device notification packet is the address of bridge, and the DNS message address in message is to be connected from the WAN of current binding the DNS information and the prefix information that obtain with prefix information.
In addition, the present invention also provides a kind of device of adjusting equipment under bridge port of home gateway configuration, and described device comprises:
Binding relationship administration module, for monitoring the binding relationship between home gateway bridge port and WAN connection;
Router advertisement module, while changing for the binding relationship being connected with WAN when home gateway bridge port, situation about changing according to binding relationship, sends the carried router notification message that includes configuration information;
Equipment under bridge port of home gateway receives described carried router notification message, according to described carried router notification message, its network parameter is configured.
Further, described device also comprises: wan interface carried router notification message monitoring module in bridge, for monitoring the carried router notification message in the WAN connection of bridging type, preserve DNS information, prefix information and default route time in described carried router notification message, and remove DNS information, prefix information or default route time with invalid flag;
DNS administration module, for collecting the DNS information of obtaining in the WAN connection of each route-type;
Prefix administration module, for collecting the prefix information obtaining in the WAN connection of each route-type.
Further, described router advertisement module receiving router request message on bridge, obtains the bridge port that receives described router solicitation message, if current binding is that route connects, sends carried router notification message reply at this bridge port with multicast form; The source address of described carried router notification message is the address of bridge, and the DNS information in message is to be connected at the WAN of current binding the DNS information and the prefix information that obtain with prefix information.
Beneficial effect of the present invention is as follows:
After the binding relationship that the present invention is connected with WAN side at home gateway change bridge port, utilize the feature of router advertisement, automatically upgrade the network parameter of equipment under bridge port; Reduce the complexity of equipment use network under bridge port, promoted user's experience.
Brief description of the drawings
Fig. 1 is the flow chart of a kind of method of adjusting equipment under bridge port of home gateway configuration in the embodiment of the present invention;
Fig. 2 is the structural representation of a kind of device of adjusting equipment under bridge port of home gateway configuration in the embodiment of the present invention;
Fig. 3 is the networking diagram of system before the binding relationship variation that in the embodiment of the present invention, a kind of home gateway bridge port is connected with WAN;
Fig. 4 is the networking diagram of system after the binding relationship variation that in the embodiment of the present invention, a kind of home gateway bridge port is connected with WAN.
Embodiment
For after solving binding relationship that prior art is connected with WAN at bridge port and changing, need the network parameter of equipment or the problem of restarting equipment under manual configuration bridge port, the invention provides a kind of method and device of adjusting equipment under bridge port of home gateway configuration, below in conjunction with accompanying drawing and embodiment, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, does not limit the present invention.
As shown in Figure 1, the embodiment of the present invention relates to a kind of method of adjusting equipment under bridge port of home gateway configuration, and method comprises the following steps:
Step S101, when the binding relationship being connected with WAN when home gateway bridge port changes, situation about changing according to binding relationship, sends the carried router notification message that includes configuration information; Configuration information comprises DNS information, default route time and prefix information.Carried router notification message comprises DNS information (dns address), default route time and the prefix information (first-selected time and the effective time of prefix) before binding relationship changes, and invalid flag is set to above-mentioned information; After changing for binding relationship, WAN connection is that route connects, and is also included in after binding relationship changes and connects from WAN the DNS information and the prefix information that obtain in carried router notification message.
Step S102, equipment under bridge port of home gateway receives described carried router notification message, according to described carried router notification message, its network parameter is configured.Network parameter refers to the parameters such as DNS, default route and the prefix of equipment under bridge port of home gateway.After changing for binding relationship, WAN connection is that route connects, and utilizes the feature of router advertisement, automatically upgrades the network parameter of equipment under bridge port; After changing for binding relationship, WAN connection is bridge joint mode, and equipment under bridge port of home gateway can upgrade network parameter automatically.
In above-mentioned steps S101, before and after binding relationship changes, WAN connects while being route connection, and time default route time in carried router notification message is setting-up time, the address that source address is bridge; By connect from WAN the DNS information and the prefix information that obtain before binding relationship changes, invalid flag is all set, and is included in carried router notification message; Be included in carried router notification message connect from WAN the DNS information and the prefix information that obtain after binding relationship changes; On this bridge port, send carried router notification message with multicast form, send set point number (configurable, be defaulted as 2 times) afterwards, from carried router notification message, remove connect from WAN the DNS information and the prefix information that obtain before binding relationship changes, continue to send carried router notification message.DNS information and prefix information are all arranged to invalid flag, can be set to 0 (binary system) by DNS information and prefix information and realize, below the setting of invalid flag, also can adopt the method, also can adopt other method.
In above-mentioned steps S101, be bridge joint mode when WAN before binding relationship change connects, and after binding relationship change, WAN connect while being route connection, carried router notification message comprises the first router notification packet and the second router notification packet; First obtain the carried router notification message information monitoring in the WAN connection before binding relationship changes, this information comprises source address, DNS information and prefix information, according to these information, structure the first router notification packet, and by connect from WAN the DNS information, default route time and the prefix information that obtain before binding relationship changes, invalid flag is set, and is included in the first router notification packet; On this bridge port, regularly send the first router notification packet with multicast form, send set point number (configurable, to be defaulted as 2 times) and stop afterwards; Meanwhile, be included in the second router notification packet by connecting from WAN the DNS information and the prefix information that obtain after changing at binding relationship, source address is used the address of bridge, on this bridge port, regularly sends the second router notification packet with multicast form.
In above-mentioned steps S101, before binding relationship changes, WAN connection is that route connects, and WAN connects while being bridge joint mode after binding relationship change, by connect from WAN the DNS information and the prefix information that obtain before binding relationship changes, invalid flag is set, the set of time of default route is invalid flag, and is included in carried router notification message.In message, contain a field lifetime, i.e. the default route time, 0 expression is invalid.In the time that equipment sees that this field is not 0, the source address of message is taken out, as default route.Source address is the address of bridge, on this bridge port, sends carried router notification message with multicast form, sends set point number (configurable, to be defaulted as 2 times) and stops afterwards.
In above-mentioned steps S101, before and after binding relationship changes, WAN connects while being bridge joint mode, first obtain the carried router notification message information monitoring in the WAN connection before binding relationship changes, this information comprises source address, DNS information and prefix information, according to these information, structure the first router notification packet, and by connect from WAN the DNS information, default route time and the prefix information that obtain before binding relationship changes, invalid flag is set, and is included in carried router notification message; On this bridge port, send carried router notification message with multicast form, send set point number (configurable, to be defaulted as 2 times) and stop afterwards.
In addition, home gateway is receiving router request message on bridge, obtains the bridge port of receiving router request message, and the WAN of current binding connects while being route connection, sends carried router notification message reply at this bridge port with multicast form; It is bridging while connecing that the WAN of current binding connects, and this router solicitation message is not responded.The source address of device notification packet is the address of bridge, and the DNS message address in message is to be connected from WAN the DNS information and the prefix information that obtain after binding relationship changes with prefix information.
As shown in Figure 2, the embodiment of the present invention also relates to a kind of device of adjusting equipment under bridge port of home gateway configuration, and this device comprises:
Binding relationship administration module 202, for monitoring the binding relationship between home gateway bridge port and WAN connection;
Router advertisement module 201, while changing for the binding relationship being connected with WAN when home gateway bridge port, situation about changing according to binding relationship, sends the carried router notification message that includes configuration information;
Equipment under bridge port of home gateway receives described carried router notification message, according to described carried router notification message, its network parameter is configured.
In addition, this device also comprises: wan interface carried router notification message monitoring module 203, DNS administration module 204 and prefix administration module 205 in bridge.
Wherein, the binding information that router advertisement module 201 is responsible for providing according to binding relationship administration module 202 regularly sends with multicast form the carried router notification message that comprises configuration information (DNS, prefix and default route) on the bridge port of specifying; Meanwhile, receiving router request message on bridge, and find out the original bridge port of receiving router request message, and reply with multicast form the carried router notification message that comprises configuration information (DNS, prefix and default route) on this bridge port.
Binding relationship administration module 202 is mainly responsible for recording the binding relationship that bridge port is connected with WAN, and provides query interface for other module inquiry, and after binding relationship changes, notifies correlation module.
Carried router notification message in bridge in the WAN connection of the responsible monitoring bridging type of wan interface carried router notification message monitoring module 203, wherein DNS information, prefix information and default route time extract preservation, and provide query interface for other module inquiry.If the router advertisement monitoring in this WAN connection is 0 o'clock by the set of time of DNS, prefix or default route, by erasing of information corresponding in record; Otherwise record, may have many records.
DNS administration module 204 is responsible for collecting the DNS information of obtaining in the WAN connection of each route-type, provides query interface for other module inquiry, and notify correlation module after DNS information changes.
Prefix administration module 205 is responsible for collecting the prefix information obtaining in the WAN connection of each route-type, provides query interface for other module inquiry, and after prefix information changes, notifies correlation module.
Below, with instantiation, the function of the each module of this device is introduced.
As shown in Figure 3, in figure, it is that route connects that WAN side connects WAN1, WAN2, and WAN3 is bridge joint mode.
Bridge port eth0 meets PC1, and WAN1 is walked in binding, and the default gateway of PC1 is the address of bridge; The dns address of PC1 is the dns address obtaining on WAN1; The prefix of PC1 global address is the prefix of obtaining on WAN1, and above information is all to obtain by router advertisement mode.
Bridge port eth1 meets PC2, and WAN2 is walked in binding, and the default gateway of PC2 is the address of bridge; The dns address of PC2 is the dns address obtaining on WAN2; The prefix of PC2 global address is the prefix of obtaining on WAN2, and above information is all to obtain by router advertisement mode.
Bridge port eth2 meets PC3, and WAN3 is walked in binding, and the default gateway of PC3 is the address in the upper router advertisement of WAN3; The dns address of PC3 is the dns address carrying in the upper router advertisement of WAN3, and the global address of PC3 adopts stateless address automatically to configure, in the upper router advertisement of WAN3 that prefix is come.
Before binding relationship changes, participate in the working condition of module: router advertisement module is obtained bridge port and WAN connects and binds situation from binding relationship administration module, obtains dns address and prefix information respectively from DNS administration module and prefix administration module.
Router advertisement module is with the form timed sending router advertisement of multicast on bridge port eth0, and the source address in notice is the address of bridge, and the dns address comprising in message and prefix are dns address and the prefixes of obtaining from WAN1.
Router advertisement module is with the form timed sending router advertisement of multicast on bridge port eth1, and the source address in notice is the address of bridge, and the dns address comprising in message and prefix are dns address and the prefixes of obtaining from WAN2.
Router advertisement module is receiving router request message on bridge, and find out primary reception to the bridge port of message, if the bridge port eth0 coming, with the router advertisement response of multicast form, source address in notice is the address of bridge, and the dns address comprising in message and prefix are dns address and the prefixes of obtaining from WAN1; If the eth1 coming, with the router advertisement response of multicast form, the source address in notice is the address of bridge, and the dns address comprising in message and prefix are dns address and the prefixes of obtaining from WAN2; If the eth2 coming, does not respond.
In bridge, wan interface carried router notification message monitoring module is responsible for monitoring the carried router notification message that sends to PC3 on WAN3, and does corresponding record and processing.
To being treated to of default route: if the time of default route is not 0, record; If the time of default route is 0, in record, find this record to be emptied, if can not find record, do not deal with.
To being treated to of dns address information: if the time of DNS information is not 0, record; If the time of DNS information is 0, in record, find this record to be emptied, if can not find record, do not deal with.
To being treated to of prefix information: if the time of prefix information (first-selected time and effective time) is not 0, record; If the time of prefix information is 0, in record, find this record to be emptied, if can not find record, do not process.
DNS administration module is in charge of from the WAN of each route-type and is connected and obtain dns address, the module of notifying router advertisement module and other care dns address to change while changing.
Prefix administration module is in charge of from the WAN of each route-type and is connected and obtain prefix information, the module of notifying router advertisement module and other care prefixes to change while changing.
Binding relationship maintenance module is in charge of the binding relationship of configuration.
Fig. 4 is the networking diagram of system after home gateway jackshaft port binding relationship change, and in figure, it is that route connects that WAN side connects WAN1, WAN2, and WAN3 is bridge joint mode.
Bridge port eth0 meets PC1, and WAN2 is walked in binding, and the default gateway of PC1 is the address of bridge; The dns address of PC1 is the dns address obtaining on WAN2; The prefix of the global address of PC1 is the prefix of obtaining on WAN2, and above information is all to obtain by router advertisement mode.
Bridge port eth1 meets PC2, and WAN3 is walked in binding, and the default gateway of PC2 is the address in the upper router advertisement of WAN3; The dns address of PC2 is the dns address in the upper router advertisement of WAN3, and the global address of PC2 adopts stateless address automatically to configure, and prefix is from the router advertisement on WAN3.
Bridge port eth2 meets PC3, and WAN1 is walked in binding, and the default gateway of PC3 is the address of bridge; The dns address of PC3 is the dns address obtaining on WAN1; The prefix of the global address of PC3 is the prefix of obtaining on WAN1, and above information is all to obtain by router advertisement mode.
When binding relationship changes, participate in the working condition of module: the module that binding relationship maintenance module notice router advertisement module and other care binding relationships change.
Router advertisement module form with multicast on bridge port eth0 regularly sends carried router notification message, and the default route time in message is constant, and source address is the address of bridge; The dns address that the binding relationship comprising in message obtains from WAN1 before changing and the time of prefix are 0; In message, also comprise the current dns address obtaining from WAN2 and prefix simultaneously.After transmission N (N is configurable, is defaulted as 2) is inferior, dns address and prefix information that binding relationship obtains from WAN1 before changing remove from message, continue to send carried router notification message.
Router advertisement module form with multicast on bridge port eth1 regularly sends carried router notification message, the address that source address is bridge, and the default route time is 0; The dns address that the binding relationship comprising in message obtains from WAN2 before changing and the time of prefix are 0, after transmission N (N is configurable, is defaulted as 2) is inferior, stop sending.
Router advertisement module wan interface carried router notification message monitoring module in bridge obtains the information WAN3, if there is multiple default routes address, to carried router notification message of each default route address architecture, the time of the default route of each message is 0 so.In a message, the time of the dns address of record and prefix is all arranged to 0 therein, and regularly sends with multicast form on bridge port eth3.After transmission N (N is configurable, is defaulted as 2) is inferior, stop sending.Construct a router message, the source address of message is the address of bridge simultaneously, and dns address and prefix information are the current dns address obtaining from WAN1 and prefix information.Form with multicast message regularly sends on bridge port eth2.
Router advertisement module is receiving router request message on bridge, and find out primary reception to the bridge port of message, if the bridge port eth0 coming, with the router advertisement response of multicast form, source address in message is the address of bridge, and the dns address in message and prefix are dns address and the prefixes of obtaining from WAN2; If the bridge port eth2 coming, with the router advertisement response of multicast form, the source address in message is the address of bridge, and the dns address in message and prefix are dns address and the prefixes of obtaining from WAN1; If the bridge port eth1 coming, does not respond.
As can be seen from the above-described embodiment: the present invention invents and solved after the binding relationship (being that service application changes) being connected with WAN side at home gateway change bridge port, the problem that under bridge port, equipment network configuration can not be upgraded immediately, utilize the feature of router advertisement, automatically upgrade the network parameter of equipment under bridge port.Reduce the complexity of equipment use network under bridge port, promoted user's experience.
Although be example object, the preferred embodiments of the present invention are disclosed, it is also possible those skilled in the art will recognize various improvement, increase and replacement, therefore, scope of the present invention should be not limited to above-described embodiment.
Claims (8)
1. a method of adjusting equipment under bridge port of home gateway configuration, is characterized in that, said method comprising the steps of:
When the binding relationship being connected with WAN when home gateway bridge port changes, situation about changing according to binding relationship, sends the carried router notification message that includes configuration information; Be specially: before and after binding relationship changes, WAN connects while being route connection, and the default route time is setting-up time, and source address is used the address of bridge; By connect from WAN the DNS information and the prefix information that obtain before binding relationship changes, invalid flag is all set, and is included in described carried router notification message; Be included in described carried router notification message connect from WAN the DNS information and the prefix information that obtain after binding relationship changes; On this bridge port, send described carried router notification message with multicast form, after sending set point number, from described carried router notification message, remove connect from WAN the DNS information and the prefix information that obtain before binding relationship changes, continue to send described carried router notification message;
Equipment under bridge port of home gateway receives described carried router notification message, according to described carried router notification message, its network parameter is configured.
2. the method for adjustment equipment under bridge port of home gateway configuration as claimed in claim 1, is characterized in that, situation about changing according to binding relationship sends the carried router notification message that includes configuration information, is specially:
Be bridge joint mode when WAN before binding relationship change connects, and after binding relationship change, WAN connects while being route connection, described carried router notification message comprises the first router notification packet and the second router notification packet;
By connect from WAN DNS information, default route time and the prefix information monitored before binding relationship changes, invalid flag is set, and is included in described the first router notification packet; On this bridge port, send described the first router notification packet with multicast form, send set point number and stop afterwards;
Described the second router notification packet is included in after binding relationship changes and connects from WAN the DNS information and the prefix information that obtain; Source address is used the address of bridge, and the default route time is setting-up time, on this bridge port, sends described the second router notification packet with multicast form.
3. the method for adjustment equipment under bridge port of home gateway configuration as claimed in claim 1, is characterized in that, situation about changing according to binding relationship sends the carried router notification message that includes configuration information, is specially:
Before binding relationship changes, WAN connection is that route connects, and WAN connects while being bridge joint mode after binding relationship change, DNS information, default route time and prefix information before binding relationship is changed arrange invalid flag, and are included in described carried router notification message; Source address is the address of bridge, on this bridge port, sends described carried router notification message with multicast form, sends set point number and stops afterwards.
4. the method for adjustment equipment under bridge port of home gateway configuration as claimed in claim 1, is characterized in that, situation about changing according to binding relationship sends the carried router notification message that includes configuration information, is specially:
Before and after binding relationship changes, WAN connects while being bridge joint mode, by connect from WAN DNS information, default route time and the prefix information monitored before binding relationship changes, invalid flag is set, and is included in described carried router notification message; On this bridge port, send described carried router notification message with multicast form, send set point number and stop afterwards.
5. the method for the configuration of the adjustment equipment under bridge port of home gateway as described in claim 1~4 any one, is characterized in that, also comprises:
Receiving router request message on bridge, obtains and receives the bridge port of described router solicitation message, current binding be that route connects, send carried router notification message at this bridge port with multicast form and reply.
6. the method for adjustment equipment under bridge port of home gateway configuration as claimed in claim 5, it is characterized in that, the source address of described carried router notification message is the address of bridge, and the DNS message address in message is to be connected from the WAN of current binding the DNS information and the prefix information that obtain with prefix information.
7. a device of adjusting equipment under bridge port of home gateway configuration, is characterized in that, described device comprises:
Binding relationship administration module, for monitoring the binding relationship between home gateway bridge port and WAN connection;
Router advertisement module, while changing for the binding relationship being connected with WAN when home gateway bridge port, situation about changing according to binding relationship, sends the carried router notification message that includes configuration information; Described router advertisement module receiving router request message on bridge, obtains the bridge port that receives described router solicitation message, if current binding is that route connects, sends carried router notification message reply at this bridge port with multicast form; The source address of described carried router notification message is the address of bridge, and the DNS information in message is to be connected from the WAN of current binding the DNS information and the prefix information that obtain with prefix information;
Equipment under bridge port of home gateway receives described carried router notification message, according to described carried router notification message, its network parameter is configured.
8. the device of adjustment equipment under bridge port of home gateway configuration as claimed in claim 7, is characterized in that, described device also comprises:
Wan interface carried router notification message monitoring module in bridge, for monitoring the carried router notification message in the WAN connection of bridging type, preserve DNS information, prefix information and default route time in described carried router notification message, and remove DNS information, prefix information or default route time with invalid flag;
DNS administration module, for collecting the DNS information of obtaining in the WAN connection of each route-type;
Prefix administration module, for collecting the prefix information obtaining in the WAN connection of each route-type.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010154078.0A CN101834741B (en) | 2010-04-23 | 2010-04-23 | Method and device for adjusting configuration of equipment under bridge port of home gateway |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010154078.0A CN101834741B (en) | 2010-04-23 | 2010-04-23 | Method and device for adjusting configuration of equipment under bridge port of home gateway |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101834741A CN101834741A (en) | 2010-09-15 |
CN101834741B true CN101834741B (en) | 2014-07-16 |
Family
ID=42718677
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010154078.0A Active CN101834741B (en) | 2010-04-23 | 2010-04-23 | Method and device for adjusting configuration of equipment under bridge port of home gateway |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101834741B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102694752B (en) * | 2011-03-21 | 2015-03-11 | 国基电子(上海)有限公司 | Gateway equipment |
CN102447618B (en) * | 2011-10-31 | 2016-06-08 | 杭州华三通信技术有限公司 | Route switching method in a kind of LISP network and device thereof |
CN103457823B (en) * | 2013-09-27 | 2017-02-08 | 上海市共进通信技术有限公司 | Method for achieving double-stack protocol bridge dialing |
CN104581747A (en) * | 2015-01-22 | 2015-04-29 | 小米科技有限责任公司 | Network expansion method and device |
CN106452853B (en) * | 2016-09-27 | 2019-11-29 | 上海斐讯数据通信技术有限公司 | Wireless router independently detects the method and system of binding server failure cause |
CN108092841B (en) * | 2016-11-22 | 2022-09-02 | 中兴通讯股份有限公司 | Method, device and system for maintaining gateway routing information |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004104850A1 (en) * | 2003-05-13 | 2004-12-02 | Kiyon, Inc. | System and method for routing packets in a wired or wireless network |
CN101442566A (en) * | 2009-01-08 | 2009-05-27 | 中国电信股份有限公司 | Method and apparatus for implementing dynamic domain name update |
CN101502049A (en) * | 2006-08-23 | 2009-08-05 | 汤姆森许可贸易公司 | Method and device for identifying and selecting an interface to access a network |
-
2010
- 2010-04-23 CN CN201010154078.0A patent/CN101834741B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004104850A1 (en) * | 2003-05-13 | 2004-12-02 | Kiyon, Inc. | System and method for routing packets in a wired or wireless network |
CN101502049A (en) * | 2006-08-23 | 2009-08-05 | 汤姆森许可贸易公司 | Method and device for identifying and selecting an interface to access a network |
CN101442566A (en) * | 2009-01-08 | 2009-05-27 | 中国电信股份有限公司 | Method and apparatus for implementing dynamic domain name update |
Also Published As
Publication number | Publication date |
---|---|
CN101834741A (en) | 2010-09-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101019450B (en) | System and method to communicate internet packet data via packet radio networks | |
CN101834741B (en) | Method and device for adjusting configuration of equipment under bridge port of home gateway | |
US9031047B2 (en) | Method and apparatus for facilitate communications using surrogate and care-of-internet protocol addresses | |
US7788405B2 (en) | Method for automatic configuration of prefixes at maps in HMIPv6 | |
CN101803329A (en) | Detection of mobility functions implemented in a mobile node | |
JP4712095B2 (en) | Communication method and wireless communication system | |
CN101138268B (en) | Providing mobility management protocol information to a mobile terminal for performing handover in a mobile communication system | |
CN101945374A (en) | Network switching method, communication system and corresponding device | |
CN101572692A (en) | Method, system and equipment for IP address assignment | |
CN102959906B (en) | Routing method and device for host in multi-homing site | |
RU2009109194A (en) | SYSTEM AND METHOD FOR ROUTING AND SUPPORT OF THE MOBILE NODE DOMAIN NAME SYSTEM | |
WO2006104202A1 (en) | Communication control method, address management node, and mobile node | |
KR101589461B1 (en) | System and method for mobile ip | |
CN102918817B (en) | The method of IPv6 address assignment and equipment | |
CN101009711A (en) | Configuration method of IP address and its application in the sub-network switching | |
CN102651862A (en) | IP (Internet Protocol) address configuration method of WAP (Wireless Application Protocol) gateway and equipment thereof | |
CN104935677B (en) | A kind of NAT64 resource acquiring method and acquisition/distributor | |
Yaseen et al. | Smart virtualization packets forwarding during handover for beyond 5G networks | |
CN101494849B (en) | Communication equipment, method and system thereof | |
CN101938526A (en) | Obtaining method of routing policy, terminal and server | |
CN1972316A (en) | Care-of address and its acquisition method and system for configuration information of care-of address | |
CN102801826B (en) | IPv6 (Internet Protocol Version 6) site multi-homing application method on basis of IPv6 address translation | |
Kovacshazi et al. | Host identity specific multicast | |
JP2003309596A (en) | Mobile communication network system, external agent router, address server and packet delivery method used for the same | |
Wang et al. | A distributed address configuration scheme for a MANET |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |