[NTLUG:Discuss] can't ping to 2 NIC box

m m llliiilll at hotmail.com
Sun Aug 20 04:31:56 CDT 2000



>From: MadHat <madhat at unspecific.com>
>Reply-To: discuss at ntlug.org
>To: discuss at ntlug.org
>Subject: Re: [NTLUG:Discuss] can't ping to 2 NIC box
>Date: Sat, 19 Aug 2000 21:19:40 -0500
>
>m m wrote:
> >
> > >From: MadHat <madhat at unspecific.com>
> >
> > >m m wrote:
> > > >
> > > > Hi all:
> > > > I have a linux box (say, SA) with 2 NICs, use RH 6.2 os.
> > > > etho w/ public IP (64.100.100.100) connect to the network switch.
> > > > eth1 w/ non-routeable IP (192.168.0.1) connect to ahother pc (say, 
>SB)
> > >w/ IP
> > > > (192.168.0.2).
> > > > I have is it physical connected, problems are:
> > > > ping from SA to SB, the error message is: destination Host 
>Unreachable
> > > > ping from SB to SA, it hang on there.
> > > >
> > > > /etc/hosts on SA has all the hosts information.
> > > >
> > > > any suggestions?
> > >
> > >routes? (run 'netstat -rn' and let us see).
> > Kernel IP routing table
> > Destination     Gateway         Genmask         Flags   MSS Window  irtt
> > Iface
> > 192.168.100.1   0.0.0.0         255.255.255.255 UH        0 0          0
     ...snip...
> > eth1
> > 127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 
>lo
> > 0.0.0.0         64.100.100.100  0.0.0.0         UG        0 0          0
> > eth0
>
>Something looks wrong here.  Like the external IP is 64.100.100.100, but
>the default route is the same (not that this would cause the  problem
>you describe, but.... )
>
>What was the exact error you receive when you try a pig, Or was there an

as I said on above: let me copy an paste here again:(Look above for detail)

I have is it physical connected, The problems are:
ping from SA to SB, the error message is: destination Host Unreachable
ping from SB to SA, it hang on there.

these are the problems, nothing else.

>error?  Also, do you have IPchains working?  Have you reset...  damn,

gee, I have it installed. but have it working yet, this is what I got:

#ipchains -L
chain input (policy ACCEPT):
chain forward (policy ACCEPT):
chain output (policy ACCEPT):

also, this box (SA) are DND server for public domain,too.

>/proc/ somethign...  hold on
>I want to say /proc/sys/net/ipv4/ip_forward, but I am not on the right
>machine right now....  anyway, this is supposed to be reset to one when
>ipchains is started for it to work.
>echo 1 > /proc/sys/net/ipv4/ip_forward

yes, it enabled (=1)
>
>someone want to verify this for me, or I can do it monday.
>
>
> >
> > >is IP forwarding turned on (enabled in the kernel)?
> > yes
> >
> > >Are you using this like a firewall/router?
> > yes
> >
> > >What distro, or have you rebuilt the kernel?
> > redhat 6.2 original kernel.
>
>--
>MadHat at unspecific.com
>                                    "The 3 great virtues of a programmer:
>                                       Laziness, Impatience, and Hubris."
>                                                  --Larry Wall
>
>_______________________________________________
>http://ntlug.org/mailman/listinfo/discuss

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com





More information about the Discuss mailing list