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 <firstname.lastname@example.org> 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 188.8.131.52/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 184.108.40.206 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. ,= ,-_-. =.
> email@example.com ((_/)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
New Orleans, LA