Всем привет!
Решил в организации установить свой почтовый сервер. Выбор остановился на Zimbra + Ubuntu 10.04 + VmwareServer.
На отправку почта работает, на прием - нет. Прочитал мануал
Create IP alias
If your network configuration permits it (and in most cases it doesn't cause any problem) create an IP alias for your network card with the IP address of the MX record. This is the simplest solution. The network mask should be 255.255.255.255 if you using IPV4, because this will be a host route. The method of adding IP aliases depends on your distribution so contact the manual of your Linux about how to do it.
и, собственно, так и сделал. Почтовик заработал до перезагрузки. Вернее до отключения на пару дней. А вот теперь уже не работает и я никак не пойму почему. Мои познания в Ubuntu такие же, как в танкостроении - только то, что нарою в гугле. Но учится то никогда не поздно, по этому все таки решился на такую реализацию почтового сервера.
auto eth0
iface eth0 inet static
adress 192.168.0.7
netmask 255.255.255.0
network 192.168.0.0
brodcast 192.168.0.255
gateway 192.168.0.1
auto eth0:1
iface eth0:1 inet static
adress 94.100.xx.xx
netmask 255.255.255.255
network 94.100.xx.0
broadcast 94.100.xx.255
sa@mail:~$ sudo /etc/init.d/networking restart
* Reconfiguring network interfaces... Don't seem to be have all the variables for eth0/inet.
Failed to bring up eth0.
Don't seem to be have all the variables for eth0:1/inet.
Failed to bring up eth0:1.
Чего ему не хватает? Так же отмечу, что такой вид /etc/network/interfaces принял после изучения статей в интернете. А был когда работал примерно таким:
iface eth0 inet static
adress 192.168.0.7
netmask 255.255.255.255
gateway 192.168.0.1
auto eth0
iface eth0:1 inet static
adress 94.100.xx.xx
netmask 255.255.255.255
auto eth0:1
Пользователь решил продолжить мысль 11 Ноября 2011, 09:37:26:
ни чего себе! на запрос в гуугл
ip alias ubuntu 10.04 эта тема вылазит первой! гугл быстр - ацки быстр!