tech-net archive

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

Re: Bridged ethernet with ipnat redirect to local port - getting ICMP redirects instead



Darren Reed wrote:
The attached patch should sort things out for you.

Sorry to report it doesn't, still getting those pesky redirects.

I am wondering about that part of your patch though:

        if (rt->rt_ifp == m->m_pkthdr.rcvif &&
+           !bridge_belongsto(rt->rt_ifp->if_bridge, m->m_pkthdr.rcvif) &&

So if the first line checks if the incoming interface is the same as the
outgoing, doesn't the second one just check if that interface is part of
its very own bridge?

But then I probably shouldn't get any redirects at all, so I might be
mistaken.


Best regards,
Tom



Home | Main Index | Thread Index | Old Index