using RHEL5 as a router
        Posted  
        
            by gopikrishna7779
        on Server Fault
        
        See other posts from Server Fault
        
            or by gopikrishna7779
        
        
        
        Published on 2010-03-31T17:12:32Z
        Indexed on 
            2010/03/31
            17:23 UTC
        
        
        Read the original article
        Hit count: 834
        
rhel5
Dear Sir,
I am planning to use a RHEL5 installed computer as a internet connection sharing device.
I mean I want to share the internet connection through it
I have installed 2 Lan cards in it eth0 and eth1
eth0 Internet
eth1 LAN
eth0 configuration as follows ;
Ipaddress : 115.252.64.187 Subnet : 255.255.255.240 Gateway : 115.252.64.177
I wrote the following entries in Vim /etc/resolv.conf
nameserver 202.138.96.2 (preferred DNS Server) nameserver 202.138.103.2 (secondary DNS server) :q!
then
eth1
ipaddress : 192.168.1.1 subnet : 255.255.255.0 gateway : 192.168.1.1
(I am confused which gateway I need to use in the above scenario)
I am unable to ping to my lan and I am able to connect to the Internet.
Please let me know the sollution for this.
Thanks in advance.
regards,
G.Gopi Krishna
© Server Fault or respective owner