Hi ,
Have installed RedHat 7.2 ( kernel -2.4.7-10) with two nic's. One is having an
internal IP and the other a public IP.
There are no Ipchains/ IPtables rules nor there are any nating rules.
Have enabled IP forwarding. The default gateway of the internal IP is the public ip,
right ?
When some other machine is connected to the network giving the same ip, there is no
problem.
But when I do ping -b <broadcast address > I get response from some of the host which
are on the public ip on the same subnet.
Have also edited the hosts file with the machine specification and have also edited
the nsswitch.conf for files, dns.
Have also checked for the broadcast address and the subnet mask displayed in the
ifconfig command and everything seems to be ok.
I have tried looking for irq conflicts in the logs, but didnt fine any. And assuming
it has any irq conflicts then in that case the card should not
function at all right ??
I am facing the following problems :
a) The machine is not able to connect to the default gateway, but it can connect to
other machines on the same subnet.
So it is not ale to connect to the internet, since it canot connect to the
gateway.
b) comand like route, netstat takes exceptionally long time to display the output.
I know we can always do route -n to disable the dns lookup, bu in the other linux
boxes it does nto take his much time.
I had tried some commands before rebooting the mahine in iptables.Have rebooted the
machine n number of times for various reasons after that.
I have checked the rules by : iptables -L and iptables -t nat -L commands.
Is there any other command to check if there are any rules , or any oher typ of
firewll settings ???
What could be the problem ?
Please help.
Thank you for your response and help in advance
Warm regards,
Kumar.
***************************
Below is output of the the route and ifconfig commands.
Please
Here's the output of the ifonfig comand :
eth0 Link encap:Ethernet HWaddr 00:10:B5:0A:9F:C7
inet addr:192.168.0.6 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2119 errors:0 dropped:0 overruns:0 frame:0
TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:255707 (249.7 Kb) TX bytes:5301 (5.1 Kb)
Interrupt:11 Base address:0xa000
eth1 Link encap:Ethernet HWaddr 01:00:21:DD:78:00
inet addr: x.x.x.x Bcast:x.x.x.x Mask:x.x.x.x
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1927 errors:0 dropped:0 overruns:0 frame:0
TX packets:238 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:244135 (238.4 Kb) TX bytes:14454 (14.1 Kb)
Interrupt:3 Base address:0xd000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:108 errors:0 dropped:0 overruns:0 frame:0
TX packets:108 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9662 (9.4 Kb) TX bytes:9662 (9.4 Kb)
Here's the output of the route command :
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
x.x.x.x * x.x.x.x U 0 0
0 eth1
192.168.0.0 * 255.255.255.0 U 0 0 0
eth0
127.0.0.0 * 255.0.0.0 U 0 0 0
lo
default x.x.x.x 0.0.0.0 UG 0 0 0
eth1
*****************************************