[ale] Howto assign 2 IPs of different classes to same machine
Byron A Jeff
byron at cc.gatech.edu
Mon Sep 6 09:33:40 EDT 1999
>
> How can I assign 2 ips of different classes to the same machine where each IP
> has its own gateway.
I've had to do the same thing for slightly different reasons...
>
> For example
>
> The first IP is 212.98.132.252 and its gateway is 212.98.132.254 (Primary
> Link)
Set this as the default gateway.
> The second IP is 195.6.53.109 and its gateway is 195.6.53.110 (Secondary
> Link)
# /sbin/route add -net 195.6.53.0 -netmask 255.255.255.0 gw 195.6.53.110
And you may or may not have to specify the interface name at the end...
Not a big deal. Good Luck.
BAJ
More information about the Ale
mailing list