This is probably a silly question.
I'm doing some http requests using
wget from the command line, and I want those connections to be made through one specific IP of the 4 IPs my server has.
Those http requests go to one specific range of IPs so I only want those to be routed differently.
The 4 interfaces in my server are
I tried with the following command:
route add -net 220.127.116.11/24 dev eth0:0
But when I see the routing table it says:
Destination Gateway Genmask Flags MSS Window irtt Iface 18.104.22.168 0.0.0.0 255.255.255.0 U 0 0 0 eth0
The interface is set to
eth0:0 as my command says.
What am I doing wrong?