Modern DSL modems by default allows you to establish a DSL link through them to provide internet connectivity.现代DSL调制解调器默认情况下,可以让您建立一个DSL连接,通过他们提供网际网路连线。 The actual connection is handled by software running on your computer.实际连线所处理的软件您的计算机上运行。 The downside is that the client side software consumes your precious CPU cycles.坏处是,客户端软件,消耗宝贵的CPU周期。 Also the internet connectivity of your internal network is now dependent on a particular computer being up all the time.此外,互联网的连接您的内部网络是现在依赖于某一台电脑,被所有的时间。 The good news is that most (A)DSL modems can be configured to do much more to make your life easier and solve all the above problems.好消息是,大部分(一) DSL调制解调器可以配置做更多,使您的生活更轻松解决上述所有问题。 Modern DSL modems are like a mini-computer.现代DSL调制解调器就像是一个小型计算机。 They can act as a router, a gateway with NAT support, Firewall, DHCP server and also as a DSL modem.他们可以作为一个路由器,网关与NAT的支持,防火墙, DHCP伺服器,也作为一个DSL调制解调器。 Once you connect a properly configured ADSL modem to your hub or switch, all your computers will be automatically and transparently connected to the internet with firewall protection.一旦您连接正确配置ADSL调制解调器到您的集线器或交换机,您所有的电脑会自动和透明地连接到互联网与防火墙保护。

It is preferable that you configure the DSL modems to establish the connection and also configure it to act as a router and gateway with NAT support.可取的做法是,你配置DSL调制解调器建立连接,并配置它作为路由器和网关的NAT的支持。 Most modern DSL modems will supports it.最现代的DSL调制解调器将支持它。 The DSL modems also can be configured to as a firewall.该DSL调制解调器,也可配置为作为一个防火墙。 This provides a good first level protection of your internal network.这提供了一个良好的第一级保护您的内部网络。 You may need to configure the WAN / external ports it responds to; ideally none unless you have specific requirements to connect from outside.您可能需要配置广域网/外部端口作出回应;理想,没有除非你有特定要求的连接外。

Note: If you need to connect to your machines from the internet, you can configure your modem to forward the relevant port to a machine on your internal network.注意:如果您需要连接到您的机器从互联网上,您可以设定您的调制解调器提出有关港口,以一台机器对您的内部网络。

Both the ADSL modems I use (from BSNL & Tata Indicom) can be configured as above.无论是ADSL调制解调器使用(从印度BSNL & Tata Indicom公司)可以配置成以上。 Here is how you can这里是如何,您可以 configure DataOne Broadband to act as firewall, gateway with NAT support and to automatically connect to internet配置dataone宽带充当防火墙,网关与NAT的支持和自动连接到互联网 .
Note: Here is the注意:这里是 alternative setup for BSNL Dataone Broadband for Linux替代设置为BSNL公司dataone宽带为Linux .
Tata Indicom was configured by default to act as router. Tata Indicom公司是配置默认情况下,充当路由器。

Configuring as above allows you to seamlessly use your modem on both Windows and Linux machines.配置如上,让您可以无缝地使用调制解调器对Windows和Linux的机器。 You can additionally configure it to enable the built-in DHCP server which will then automatically serve IP addresses for your internal network.您可以另外配置它使内置在DHCP服务器就会自动服务的IP地址为您的内部网络。 Consult your modems manual and your DSL connection provider for details.咨询您的调制解调器手册和您的DSL连接供应商的详情。

With the above configuration in place, you have to just connect the modem to your hub / switch.与上述配置在的地方,你必须只要连接调制解调器到您的枢纽/开关。 Set all of your machines to use DHCP and set the internal modem IP (most likely 192.168.1.1; read the fine manual) as your gateway & DHCP server and you are good to go.设置您的所有机器使用DHCP ,并设置内置调制解调器的IP (最有可能192.168.1.1 ;可阅读手册)作为您的网关及DHCP伺服器和你是很好的路要走。 Your machines will now be transparently connected to the internet.您的机器现在将透明的连接到互联网。 The modem does all the dirty work of converting your internal IP address to external IP address and route the packets appropriately in both directions.调制解调器是否所有肮脏的工作转换您的内部IP地址的外部IP地址和路由的数据包适当的两个方向。

Tip: You must change the default password for your modem.提示:您必须更改默认的密码为您的调制解调器。 By default the modems may allow connection from the internet.默认情况下,调制解调器可能会允许连接从互联网上。