I have an IP address in my linux box 1.2.3.4 that is eth0:1. Alias of eth0. I want to create a route from that IP to an external 5.6.7.8 IP in another box.
How can I do it? Do I need netmask and gateway?
|
I have an IP address in my linux box 1.2.3.4 that is eth0:1. Alias of eth0. I want to create a route from that IP to an external 5.6.7.8 IP in another box. How can I do it? Do I need netmask and gateway?
| |||||
feedback
|
|
Routes in IP networking are always target oriented. There is an option to do source routing, but it is hardly ever used nowadays. Simply define a new static route (using the
| |||
feedback
|