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

Re: redirects don't seem to be working



On Wed, Nov 05, 2008 at 01:29:30PM -0600, Boyd Stephen Smith Jr. wrote:
> On Sunday 02 November 2008, Alex Samad <alex@samad.com.au> wrote 
> about 'redirects don't seem to be working':
> >I have a network 172.20.0.0/16 dgw is 172.20.0.1
> >
> >ip 134.134.134.1/32 is available via 172.20.1.50
> >
> >so on 172.20.0.1 I have set
> >
> >
> >net.ipv4.conf.eth1.send_redirects = 1
> 
> Okay, but does 172.20.0.1 know that 134.134.134.1 is reachable via 
> 172.20.1.50?  Specifically, does it have a route for that specific host.  
> Look at the output of /sbin/route -n or /sbin/ip route show.

yep I have one, use ip r.

my current work around is to use SNAT and iptables, which is not the
best solution as every packet will need to come and then go back out the
new router (172.20.0.1)

> 
> It won't sent redirects for routes it doesn't know.  It only knows the 
> routes it's been told or discovers.  (I'm not exactly sure how it would 
> discover this route.)
> -- 
> Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
> bss03@volumehost.net                      ((_/)o o(\_))
> ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-' 
> http://iguanasuicide.org/                      \_/     



-- 
"Sometimes, Washington is one of these towns where the person -- people who think they've got the sharp elbow is the most effective person."

	- George W. Bush
12/03/2002
New Orleans, LA

Attachment: signature.asc
Description: Digital signature


Reply to: