he ccjj wrote:
>
> thanks,but I have another web site with the other IP a.b.c.e,How to
> solve?Can only use eth 0's aliase?
Please send future emails to the list (as well), as other people
may benefit from this, or might be able to offer better advice.
An easy way to do what you want is to add both IP addresses onto
the same physical interface. Your /etc/network/interfaces file
should now look like this:
---
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address a.b.c.d
netmask 255.255.255.0
gateway a.b.c.254
auto eth0:1
iface eth0:1 inet static
address a.b.c.e
netmask 255.255.255.0
---
Hope this helps,
--
George Borisov
DXSolutions Ltd