Re: 2 NIC problem - Please Help



sudeep333 schreef:
Hello to all the masters,

I am using RHEL 5 and facing problem related to 2 NICs.

NIC1 is connected to the internet and used to provide the internet
access to all my internal LAN systems which are connected to my second
NIC2 via a hub.

NIC1 is on DHCP and i am providing static IP address on NIC2 -
192.168.0.1

My LAN systems are pinging to my server but not able to provide
internet access to my LAN. My LAN systems are on windows XP

Please tell me what should i do.


NIC1 Configuration
DHCP


NIC2 Configuration
IP: 192.168.0.1
Mask: 255.255.255.0
gateway:

i have edited the /etc/sysctl.conf ipv4_forwarding to 1 but still the
issue is there.

Please tell me that is there anything related to iptables or any
simple solution is there.

My need is just to provide the internet access to my LAN systems via
my server.

Thanx in anticipation

Sudeep,


It has to do with Iptables.

Just look for Linux firewall howto on Google and you find some good examples.


Kind regards,


Jan Gerrit Kootstra
.



Relevant Pages

  • Re: MultiHomed Workstation - Which NIC is being used?
    ... for NIC2, is processed by my workstation, and the response is sent back via ... NIC1 and its different Internet IP address won't that cause the originating ... >> to exit via NIC2? ...
    (microsoft.public.win2000.networking)
  • Re: 2 NIC problem - Please Help
    ... NIC1 is connected to the internet and used to provide the internet ... My LAN systems are pinging to my server but not able to provide ...
    (linux.redhat)
  • 2 NIC problem - Please Help
    ... NIC1 is connected to the internet and used to provide the internet ... My LAN systems are pinging to my server but not able to provide ...
    (linux.redhat)
  • Re: PF, alias and how to assign int_ip<>ext_ip in connection to internet
    ... To start simple you want some internal pc's to be nat-ed to the internet ... And you want pc3 and pc4 to contact internet directly with their own ip. ... nic1 is the external_if with an ip-address from your ... Nic3 is an internal_if without an ip-address that makes a ...
    (comp.unix.bsd.openbsd.misc)
  • Re: How to share internet connection between 3 PCs
    ... ADSL internet connection is shared with ICS to NIC2. ... PC1 doesn't waste cpu cycles on ICS (providing internet to other PCs). ...
    (microsoft.public.windowsxp.network_web)