All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Kumar" <vramnarayan@triniti.com>
To: netfilter@lists.samba.org
Subject: default gateway problem.
Date: Sat, 15 Jun 2002 18:05:43 +0530	[thread overview]
Message-ID: <022801c21469$2bd0c8e0$9300a8c0@edapter.com> (raw)
In-Reply-To: 000501c21415$544d0e40$7b0010ac@dynamicaccess.lan

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

*****************************************



  parent reply	other threads:[~2002-06-15 12:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-15  2:35 Flag SYN not necessarily state NEW? Hard__warE
2002-06-15 12:33 ` Matthew Hellman
2002-06-15 14:52   ` Chris
2002-06-15 12:35 ` Kumar [this message]
2002-06-15 12:48   ` default gateway problem Antony Stone
2002-06-15 21:57 ` Flag SYN not necessarily state NEW? Jozsef Kadlecsik
2002-06-16 18:04 ` Geog Hofstetter
2002-06-16 18:30   ` Antony Stone
2002-06-16 19:20     ` [x] - " Geog Hofstetter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='022801c21469$2bd0c8e0$9300a8c0@edapter.com' \
    --to=vramnarayan@triniti.com \
    --cc=netfilter@lists.samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.