The Stack Overflow podcast is back! Listen to an interview with our new CEO.

New answers tagged


The answer of @bvs pointed in exactly the right direction of the problem and solved it for me. Here, are some details on the precise commands. As for many the default interface is eth0, I am taking that in the following commands, which has to replaced by eth2 for the original question. For a temporary solution (until reboot) use sudo sysctl -w net.ipv4....


With current Debian based systems syntax has changed. The key is to use format of address with slash subnet address, and not to use netmask keyword anymore. The preferred method for Debian based system is to use networking configuration files. The alias method prefers to use such order: eth0, eth:0:0, eth0:1, ... So first alias to ...

Top 50 recent answers are included