Re: IP Forward Problems
> On Wed, Mar 11, 2009 at 01:07:06PM +0000, Gerard Hooton wrote:
>> Hello,
>> Fist my system:
>>
>> Linux uepc004 2.6.24-1-686 #1 SMP Thu May 8 02:16:39 UTC 2008 i686
>> GNU/Linux
>>
>> Network:
>> eth0 Link encap:Ethernet HWaddr 00:30:48:29:e9:40
>> inet addr:143.239.184.13 Bcast:143.239.255.255
>> Mask:255.255.0.0
>> inet6 addr: fe80::230:48ff:fe29:e940/64 Scope:Link
>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>> RX packets:1751152 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:33579 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:1000
>> RX bytes:174917895 (166.8 MiB) TX bytes:19228996 (18.3 MiB)
>> Base address:0x3000 Memory:f8200000-f8220000
>>
>> eth0:0 Link encap:Ethernet HWaddr 00:30:48:29:e9:40
>> inet addr:143.239.184.12 Bcast:143.239.255.255
>> Mask:255.255.0.0
>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>> Base address:0x3000 Memory:f8200000-f8220000
>>
>> eth1 Link encap:Ethernet HWaddr 00:30:48:29:e9:41
>> inet addr:143.239.184.75 Bcast:143.239.255.255
>> Mask:255.255.0.0
>> inet6 addr: fe80::230:48ff:fe29:e941/64 Scope:Link
>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>> RX packets:1738672 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:228 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:1000
>> RX bytes:180938419 (172.5 MiB) TX bytes:20519 (20.0 KiB)
>> Base address:0x3040 Memory:f8220000-f8240000
>>
>> lo Link encap:Local Loopback
>> inet addr:127.0.0.1 Mask:255.0.0.0
>> inet6 addr: ::1/128 Scope:Host
>> UP LOOPBACK RUNNING MTU:16436 Metric:1
>> RX packets:14810 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:14810 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:0
>> RX bytes:20030201 (19.1 MiB) TX bytes:20030201 (19.1 MiB)
>>
>>
>> #################### The Problem ################################
>>
>> I have discovered that with net.ipv4.ip_forward = 1
>> the apr table starts to grow and grow and I think I get an arp table
>> overflow. Also I get No buffer space available errors. When I do
>> net.ipv4.ip_forward = 0 the arp table reduces to a normal size and the
>> No buffer space available errors stop.
>
> why do you have 3 interface into the same ip network ? I presume there
> are all attached to the same ethernet broadcast domain ?
>
> that shouldn't be causing the problem though. have you done a tcpdump to
> see what traffic is being forwarded ? The other question is why do you
> need to forward ?
>
> can you do an ip route please
OK ....
ip route
143.239.0.0/16 dev eth0 proto kernel scope link src 143.239.184.13
143.239.0.0/16 dev eth1 proto kernel scope link src 143.239.184.75
default via 143.239.1.199 dev eth0 src 143.239.184.12
>
>>
>> Any ideas?
>>
>> Thanks.
>>
>> --
>> Gerard Hooton.
>> Department of Microelectronic Engineering U.C.C.
>> Butler Building,
>> Enterprise Centre,
>> North Mall.
>> Cork.
>>
>> Tel: +353 21 4904576
>> Fax: +353 21 4904573
>> http://www.ue.ucc.ie/
>>
>>
>>
>>
>> --
>> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
>> with a subject of "unsubscribe". Trouble? Contact
>> listmaster@lists.debian.org
>>
>>
>
> --
> "We're concerned about AIDS inside our White House -- make no mistake
> about it."
>
> - George W. Bush
> 02/07/2001
>
--
Gerard Hooton.
Department of Microelectronic Engineering U.C.C.
Butler Building,
Enterprise Centre,
North Mall.
Cork.
Tel: +353 21 4904576
Fax: +353 21 4904573
http://www.ue.ucc.ie/
Reply to: