Results 1 to 4 of 4
Hello to all the members,
I am using RHEL 5 and facing problem related to 2 NIC.
NIC1 is connected to the internet and used to provide the internet access ...
- 03-06-2009 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 1
2 NIC problem - Please Help
Hello to all the members,
I am using RHEL 5 and facing problem related to 2 NIC.
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
- 03-06-2009 #2Just Joined!
- Join Date
- Mar 2009
- Posts
- 13
Hi,
First and foremost what is the application providing internet to your Intranet a) NAT or b) Squid
and in either case as you are switching between networks you need to have a router in middle
and a linux machine can work as a router by enabling a value
in /etc/sysctl.conf
# Controls IP packet forwarding
net.ipv4.ip_forward = 0 change this to 1
and get it reflected immediately by # sysctl -p or reboot your machine.
and i guess you have not done the these things
Get back to me if still issue were there
- 03-07-2009 #3
Also if you have IPTABLES up and running on the router box check your forwarding rules to ensure that it is allowing forwarding.
- 03-09-2009 #4


Reply With Quote
