I am trying to configure a linux box as a gateway for a small network. I have managed to do this with two network cards (eth0 and eth1) but I desperately want to achieve the same result with with only one network interface card on the linux box (eth0). I have read the howtos and gone through a lot of material but am not able to get this one.
The setup is as follows: The linux box is connected to a broadband router whose address is 192.168.1.1 I have configured eth0 as the internal interface and eth0:0 as the external one. Thus address of eth0:0 192.168.1.2 address of eth0 192.168.100.2 All internal network machines connecting to the linux box are in the network 192.168.100.0 and have as their gateway machine 192.168.100.2 The idea is that requests directed by these machines should land up at 192.168.100.2 (eth0) on the linux box, from where it is guided to eth0:0 and out to the router. Furthermore 192.168.100.2 (eth0 on the linux box) is the DNS server for the network. Also the box is a Mandriva Linux Limited Edition 2005 box running kernel 2.6.11-6. The system runs a shorewall firewall. I have enabled (I think) all that is required on shorewall to play ball with the rest of the setup. For example, in shorewall.conf IP_FORWARDING=ON ADD_IP_ALIASES=yes in masq: eth0:0 192.168.100.0/24 I have also set up the relevant ifcfg files (ifcfg-eth0 and ifcfg-eth0:0) when I run ifconfig, it shows me eth0 and eth0:0 duly configured and up Attempts to connect to the internet from the linux box itself succeed. Attempts to connect to the internet from the client machines on the network however fail. What is wrong? Would really appreciate guru guidance Regards and thanks in advance Pramathesh ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ linux-india-help mailing list linux-india-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-india-help