Re: IP forwarding problem



On Fri, 2006-01-27 at 14:52 +0000, Oliver Elphick wrote:
> Can anyone help with this network problem, please?
>
> This machine is an internal router, with two network cards. iptables is
> not configured in the kernel, since masquerading and filtering is not
> required. (There is a separate firewall machine.)
>
> 192.168.2 (eth0) is a network with Windows machines. Packets to and
> from that network are no longer being forwarded. The routing table
> appears to be correct and IP forwarding is turned on.

how are you turning forwarding on?

what does:

# sysctl -a | grep forward

list?

ie:

# sysctl -a | grep forward
net.ipv4.conf.eth1.mc_forwarding = 0
net.ipv4.conf.eth1.forwarding = 1
net.ipv4.conf.eth0.mc_forwarding = 0
net.ipv4.conf.eth0.forwarding = 1
net.ipv4.conf.lo.mc_forwarding = 0
net.ipv4.conf.lo.forwarding = 1
net.ipv4.conf.default.mc_forwarding = 0
net.ipv4.conf.default.forwarding = 1
net.ipv4.conf.all.mc_forwarding = 0
net.ipv4.conf.all.forwarding = 1
net.ipv4.ip_forward = 1

>
> Machines on 192.168.2.* are able to ping 192.168.1.18 (the other network
> card on the routing machine) but they cannot ping any other machine on
> the 192.168.1 network. Similarly, the router can ping 192.168.2.* but
> no other machine on 192.168.1 can do so.
>
> This set up was working until it was shut down and rebooted :-(

sometimes after a kernel upgrade or a reboot physical interfaces will be
renamed by the kernel. that will screw things up, but if you can ping
interfaces from the clients that doesnt sound like the problem, just
thought i would mention it.


-matt zagrabelny


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Networking problems
    ... >>> So I can configure network cards from Yast and is OK. ... Second, what do you mean by "change of kernel", an upgrade from 9.2 to ...
    (alt.os.linux.suse)
  • Re: IP forwarding problem
    ... > This machine is an internal router, with two network cards. ... > card on the routing machine) but they cannot ping any other machine on ...
    (Debian-User)
  • IP forwarding problem
    ... This machine is an internal router, with two network cards. ... Kernel IP routing table ...
    (Debian-User)
  • Re: Problems w. Promise SATA300 TX2plus PDC40775
    ... I have a Debian Sarge system with 2.6.8-K7 linux kernel (original kernel from ... Raw IP | Low Level Network Programming ... # ACPI Support ...
    (Debian-User)
  • Presario oops on 2.6.0-test1
    ... the new kernel version. ... but I finally have my network set up at the new ... This laptop is a Compaq Presario model 12XL325 with a 650 MHz Pentium III. ... # ACPI Support ...
    (Linux-Kernel)