I'm wondering if its possble to alias an entire subnet in one hit rather than doing individual IP's with:
ifconfig eth0:1 22.214.171.124
ifconfig eth0:2 126.96.36.199
ifconfig eth0:50 188.8.131.52
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,