PDA

View Full Version : [ubuntu] Ubuntu Gateway Server


prats84
June 30th, 2008, 07:16 AM
Hi,
I am new to Linux and would like to install a Ubuntu Gateway server to a small test network i created.

I have a server running DHCP which is used to service 6 clients.

Can u direct me to some links where a manual to configure gateway server is available.

I do not wish to install any other services on the gateway machine like apache etc..

Thanks
Pratik

SpaceTeddy
June 30th, 2008, 12:33 PM
check out this tutorial on internet sharing (http://ubuntuforums.org/showthread.php?t=713874) - i guess that is what you need :)

hope it helps :)

prats84
June 30th, 2008, 06:33 PM
Hey thanks a lot.. i will configure it tomorrow.


Thanks again
Pratik

prats84
July 1st, 2008, 04:42 PM
Hey thanks .. its seems to be working .... thanks

prats84
July 3rd, 2008, 08:34 AM
Hey... Now.. i have a server tht runs DHCP , APache on it and connected to the VLAN1 (2 other VLANS on the DELL switch). DHCP lease range is 192.168.11.3 to 192.168.11.40 . The server static address is 192.168.11.20
I want to make another PC as the gateway server. I have configured the iptables . This gateway has a static ip 192.168.11.7 on eth2 and 131.231.223.76 on eht0(connected to the internet).

In the server i have given eth0 default gateway as 192.168.11.7 .. I am not able to use internet from my server.

Could u let me knw where am i wrong.

Thanks a lot
Pratik

SpaceTeddy
July 4th, 2008, 08:34 AM
does the new gateway itself have internet ? are there any other clients in the 192.168.11.x network that can access the internet ?

My main aim at the moment is figuring out if this is a problem with the server itself or a general network problem with the new gateway...

Another guess is that you (maybe) need to reconfigure the dns server on the server. check the /etc/resolv.conf for that...

hope it helps :)

prats84
July 4th, 2008, 08:44 PM
The gateway has internet on eth2.
and yes there are other clients connected to the network.. by a switch which has has ip as 192.168.11.2 ...

as of now... i guess the issue is with the DNS server... i suppose i should install a dns on the server .. rite... the server doesnot have have internet