基本上有两种方法:1。跳过无线路由器的WAN,禁用DHCP;2。桥接MODEM
我选用了第一种方法,原因是不愿修改本来好好的MODEM了。
一点备忘,只适合我自己的机器和MODEM:
IP: 192.168.20.100 101,102。。。可用于其它机器
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.20.1
DNS Servers . . . . . . . . . . . : 192.168.1.1
以下是转自whirlpool论坛的:
方法一: http://forums.whirlpool.net.au/forum-replies.cfm?t=933517
This tutorial is for those people that have an ADSL modem/router and wish to add a wireless router, this tutorial sets the primary router as the control device and sets the wireless router as a switch and wireless access point (removing control and extra abilities of the wireless router)
Note for airport Extreme users, the airport extreme auto senses dual routers and will switch its self to bridge mode thus not requiring the following set up.
This tutorial does not apply to cable modem users, with the exception of BigPond cable customers with an SBG900 modem which is also a wireless router.
Cable modem users can just go out and buy a wireless router and connect it to their modem and it should just work without issue.
If you wish to let the wireless router have control and just turn the modem/router into a basic modem try this tutorial instead.
Bridge mode, adding a wireless router
/forum-replies.cfm?t=814956
Introduction
It seems more and more people are adopting wireless devices to add to their existing networks. This causes an issue when their primary internet connection device (eg modem) also contains a router. The reason being is most wireless devices also have a built in router as well.
Having two routers creates two networks with two DHCP servers and two NATs, this causes an issue when port forwarding and UPnP need to be employed on devices (eg computers) connected to the 2nd router.
To eliminate the second router we need to bypass its Wan section and essentially turn the device into a network switch with a wireless access point
Note for this tutorial
modem/router will be called – primary router
wireless router will be called secondary router
Cables used should standard network patch cables cat 5e 0r cat 6, new routers and modems can detect the type of cable and correct as needed.
CAT 5 cables can only be used for 10/100 ethernet connections. You will need CAT5e or CAT 6 if using 10/100/1000 ethernet.
Step One
Identifying ip addressing range (primary router)
The first thing we need to do is identify the DCHP IP address of the primary router.
To do this connect your computer to the primary router and allow it to connect as normal, ensuring it can connect to the internet.
Click on start and click run
Type "cmd" (without the quotation marks)
Click ok
When the cmd window opens type "ipconfig"
Your connection information should appear
Take note of the following and write then down as they will be needed shortly
- ip address =
- subnet mask =
- default gateway =
You can now close the command window and disconnect the computer from the primary router
Step Two
Changing address of the secondary router and disabling dhcp
Power up the secondary router, but do not connect it to the primary router as of yet.
Connect your computer to lan 4 port on the secondary router and allow it to connect.
Connect to the web UI of the secondary router (see your secondary routers user manual for details of how to access).
In the web UI you need to change the routers lan gateway address, usually this will be something like 192.168.1.1 or 192.168.0.1 or even 10.1.1.1 etc.
We need to change it to the same ip range of the primary router.
So if for example your default gateway of the primary router is 192.168.1.1
We then change the secondary routers ip address to lets say 192.168.1.240
and save.
Then go to the DHCP section of the secondary router and click the radio button etc that says enable/disable DHCP server, ensuring the DHCP server is disabled.
Save changes and apply.
Disconnect your computer from the secondary router, and power off both the secondary router and your computer.
Step Three
Bypass WAN
With the primary router connected to the internet and working correctly:
Connect a standard ethernet cable from Lan1 port on the Primary router to Lan 1 port on the secondary router and power up the secondary router.
Connect your computer to lan ports 2, 3 or 4.
You can now connect to the secondary router's UI by typing the IP address we set earlier (eg 192.168.1.240) and setup the wireless section of the secondary router.
From now on all control except for wireless connectivity is controlled from the primary router as we have bypassed the control functionality of the secondary router.
To port forward you enter the details as required in the primary router and if using http://portforward.com/guides.htm, follow the details for the primary router.
Adding a tip for VoIP:
If you use WAN-bypass on a VoIP/router such as the Netgear WGR613V , there is an extra step to get voip working.
You must add static routes to your gateway for the VoIP server or protocols and DNS, so the ATA is not trying to use your disconnected WAN port. Even better would be to have it run a DHCP client, or manually set a default gateway, but the Netgear devices at least do not allow that. Seting static routes is the only way I see to fix it.
Thanks to mike for this tip.
pete
An alternate way to make the primary router just a modem and allow the secondary router to have control is called bridge mode and you can find the tutorial here:
Bridge mode, adding a wireless router
没有评论:
发表评论