I have an Ubuntu server with only one NIC and an address
x.x.31.82 configured on it, the default gateway for it is
x.x.31.81 and the mask is
The problem is that I'm trying to configure another address
x.x.20.210 – the default gateway is supposed to be
x.x.20.209 but I'm unable to configure it on the server.
After I've configured
x.x.20.210 as an alias on the NIC, I've used the command
route add -net x.x.20.208 netmask 255.255.255.248 gw x.x.20.209
The route was added to the routing table but but I still can't access x.x.20.210 from the outside.
Can anybody help me please?