Netfilter + IP Aliasing + Linux Pre Kernels.
Sun, 16 Apr 2000 19:16:15 CDT
> the nice thing with ip is it can figure things out easily. try this on
> for size:
> ip a a 10.1.1.2/24 brd + dev eth0
> ip a a 192.168.1.78/26 brd + dev eth0
> your netmask/broadcast and routing should all show up perfectly, all you
> need to do now is add your default route.
> ip r a default via 192.168.0.1 dev eth0 onlink
you know, I did this. flushed the table, took the system down to runlevel 1
and then flushed again and then brought the system back upto runlevel 5
(yeah...a _Tad_ overkill but anyway)
so i double and triple checked the masquerade rule, recompiled the
kernel and put in advanced router and took out ip aliasing (shouldnt
that be marked as 'depreciated' ;), re-checked the route table
(route -N) and it all still looked the same.
i took out the modules iptable_mangle and iptable_filter (Which were
being loaded for who knows what) and *ahem* it now works and
masq's all the outgoing/incoming packets fine.
so smack me with a fish and colour me stupid, but it seems 'fixed'.
Can anyone though please explain _Why_ this is the case ?
(who is away to get a guiness to celebrate =)