I'm wondering if its possble to alias an entire subnet in one hit rather than doing individual IP's with:
ifconfig eth0:1 126.96.36.199
ifconfig eth0:2 188.8.131.52
ifconfig eth0:50 184.108.40.206
I'm wanting to alias an entire /21 subnet so doing it this way isnt practical and maybe not even possible (is there a limit on how many aliases you can have?).
I thought maybe this is possible with ip route or similar.
Any help would be appreciated,