| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 18191 | 2002-04-19 22:09:00 | Configuring a Linux NAT Server for ICS | Guest (0) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 44670 | 2002-04-19 22:09:00 | I'm in the process of setting up a home network, and I've decided to use an outdated desktop running LEAF for a network address translation device. I've read up on installation and configuration, however some of the settings the HOW-To's specify conflict with my Asus 6000EV external ADSL modem. Specifically IP Addresses; with my current configuration the modem is set as 192.168.1.1 and my Windows XP desktop is 192.168.1.2, it uses 192.168.1.1 as its gateway address. The problem is, the HOW-To advises that I connect the modem to the linux server, then specify the server's address as 192.168.1.1, and all other machines on the network as 192.168.1.x, then set all their gateway addresses as 192.168.1.1 But if I do this, what IP will my modem have, and how can my NAT server communicate with the modem, while still being a gateway for all the other machines? Maybe I'm missing the point entirely, but any help would be greatly appreciated. (By the way, just so nobody asks, I have two seperate NIC's in the LEAF server) |
Guest (0) | ||
| 44671 | 2002-04-19 22:58:00 | It doesn't matter what the IP is as long as it's part of your subnet. Your server can be 192.168.1.234 if you wanted. They only say 192.168.1.1 as they try to keep it to Host machine then the clients. You set your server's gateway to the IP of your modem and you set the clients gateway to the IP of your server. |
Guest (0) | ||
| 44672 | 2002-04-20 21:38:00 | The Asus 6000EV is already a router, and it already does NAT, so you won't have to have the linux box doing NAT as well. You can just connect the Asus direct to a hub or switch via a crossover cable. Alternately, you could connect put a linux box between the asus router and the hub/switch and use it to do additional firewalling with iptables, but this is just for security, it's not needed for connection sharing. The easiest way to use the asus is just to enable it's dhcp server and set all your clients to automatically pick up an address from it (although this isn't the most secure :) |
Guest (0) | ||
| 1 | |||||