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

Re: IP Forward Problems



-----Original Message-----
From: Alex Samad <alex@samad.com.au>
To: debian-user@lists.debian.org
Subject: Re: IP Forward Problems
Date: Mon, 16 Mar 2009 10:02:28 +1100
Mailer: Mutt/1.5.18 (2008-05-17)

On Fri, Mar 13, 2009 at 12:44:40PM +1100, Alex Samad wrote:
> On Thu, Mar 12, 2009 at 10:43:52AM -0000, Gerard Hooton wrote:
> > 
> > > On Wed, Mar 11, 2009 at 01:07:06PM +0000, Gerard Hooton wrote:
> > >> Hello,
> 
> [snip]
> 
> > >
> > > 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
> 
> So still the other questions, why do you need to route ie why do you
> need forward?

Another thing to check is proxy_arp 

sysctl -a | grep arp | sort | less

net.ipv4.conf.all.proxy_arp = 0
net.ipv4.conf.default.arp_accept = 0
net.ipv4.conf.default.arp_announce = 0
net.ipv4.conf.default.arp_filter = 0
net.ipv4.conf.default.arp_ignore = 0
net.ipv4.conf.default.proxy_arp = 0
net.ipv4.conf.eth0.arp_accept = 0
net.ipv4.conf.eth0.arp_announce = 0
net.ipv4.conf.eth0.arp_filter = 0
net.ipv4.conf.eth0.arp_ignore = 0
net.ipv4.conf.eth0.proxy_arp = 0
net.ipv4.conf.lo.arp_accept = 0
net.ipv4.conf.lo.arp_announce = 0
net.ipv4.conf.lo.arp_filter = 0
net.ipv4.conf.lo.arp_ignore = 0
net.ipv4.conf.lo.proxy_arp = 0
net.ipv4.conf.wlan0.arp_accept = 0
net.ipv4.conf.wlan0.arp_announce = 0
net.ipv4.conf.wlan0.arp_filter = 0
net.ipv4.conf.wlan0.arp_ignore = 0
net.ipv4.conf.wlan0.proxy_arp = 0

Results:-
error: permission denied on key 'net.ipv4.route.flush'
error: permission denied on key 'net.ipv6.route.flush'
error: "Invalid argument" reading key "fs.binfmt_misc.register"
error: "Invalid argument" reading key "dev.parport.parport0.autoprobe"
error: "Invalid argument" reading key "dev.parport.parport0.autoprobe0"
error: "Invalid argument" reading key "dev.parport.parport0.autoprobe1"
error: "Invalid argument" reading key "dev.parport.parport0.autoprobe2"
error: "Invalid argument" reading key "dev.parport.parport0.autoprobe3"
dev.parport.default.spintime = 500
dev.parport.default.timeslice = 200
dev.parport.parport0.base-addr = 888    1912
dev.parport.parport0.devices.active = none
dev.parport.parport0.devices.lp.timeslice = 200
dev.parport.parport0.dma = 3
dev.parport.parport0.irq = 7
dev.parport.parport0.modes = PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA
dev.parport.parport0.spintime = 500
net.ipv4.conf.all.arp_accept = 0
net.ipv4.conf.all.arp_announce = 0
net.ipv4.conf.all.arp_filter = 0
net.ipv4.conf.all.arp_ignore = 0
net.ipv4.conf.all.proxy_arp = 0
net.ipv4.conf.default.arp_accept = 0
net.ipv4.conf.default.arp_announce = 0
net.ipv4.conf.default.arp_filter = 0
net.ipv4.conf.default.arp_ignore = 0
net.ipv4.conf.default.proxy_arp = 0
net.ipv4.conf.eth0.arp_accept = 0
net.ipv4.conf.eth0.arp_announce = 0
net.ipv4.conf.eth0.arp_filter = 0
net.ipv4.conf.eth0.arp_ignore = 0
net.ipv4.conf.eth0.proxy_arp = 0
net.ipv4.conf.eth1.arp_accept = 0
net.ipv4.conf.eth1.arp_announce = 0
net.ipv4.conf.eth1.arp_filter = 0
net.ipv4.conf.eth1.arp_ignore = 0
net.ipv4.conf.eth1.proxy_arp = 0
net.ipv4.conf.lo.arp_accept = 0
net.ipv4.conf.lo.arp_announce = 0
net.ipv4.conf.lo.arp_filter = 0
net.ipv4.conf.lo.arp_ignore = 0
net.ipv4.conf.lo.proxy_arp = 0
(END) 





//Ger





> 
> 
> [snip]
> 
> -- 
> "If you're sick and tired of the politics of cynicism and polls and principles, come and join this campaign."
> 
> 	- George W. Bush
> 02/16/2000
> Hilton Head, S.C.



-- 
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: