Re: How to turn on IP forwarding?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2004-10-07 at 17:13, Jonathan Ryshpan wrote:
> On Thu, 2004-10-07 at 00:13, Ow Mun Heng wrote: 
> > On Thu, 2004-10-07 at 14:27, Jonathan Ryshpan wrote:
> > > I'm trying to make the machine amito forward packets from machine
> > > claremont to machine home.  Claremont pings amito and amito pings home,
> > > but claremont doesn't ping home.  All these machines are directly
> > > connected via ethernet claremont to amito on 192.168.10.x and amito to
> > > home on 172.16.0.x.  I have IP forwarding turned on in amito:
> > > 
> > > 	amito $ cat /proc/sys/net/ipv4/ip_forward
> > > 	1
> > > 	claremont $ route
> > >         Kernel IP routing table
> > >         Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> > >         192.168.10.0    *               255.255.255.0   U     0      0        0 eth0
> > >         169.254.0.0     *               255.255.0.0     U     0      0        0 eth0
> > >         default         amito.localdoma 0.0.0.0         UG    0      0        0 eth0
> > > 
> > > 	claremont $ cat /etc/hosts
> > >         127.0.0.1		localhost.localdomain localhost
> > >         192.168.10.1		amito.localdomain amito
> > >         192.168.10.2		claremont.localdomain claremont
> > >         172.16.0.1		home home.localdomain
> > > 
> > > What have I missed?
> > Can you tell us what is the routing table on claremont? since amito can
> > ping home, it means there's connectivity.
> > 
> > But since claremont cannot ping home, this could mean several things.
> > 
> > 1. Firewall? 
> > 2. Wrong routing table.
> 
> The above routing table **is** the routing table in claremont.
> The firewall in amito is turned off.

Perhaps you can try to do a tcpdump/ethereal trace


-- 
Ow Mun Heng
Fedora GNU/Linux Core 2 on D600 1.4Ghz CPU kernel
2.6.7-2.jul1-interactive 
Neuromancer 17:40:00 up 8:19, 9 users, load average: 0.91, 0.48, 0.38 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux