Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Проблемы с добавление виртуал-хоста к nginx
On Tue, 29 Jan 2008 12:05:37 +0200
Yaroslav <yarik@xxxxxxxxxxxxxxxxx> wrote:
> Вывод команды ip a
>
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> inet 127.0.0.1/8 scope host lo
> inet6 ::1/128 scope host
> valid_lft forever preferred_lft forever
> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
> qlen 1000
> link/ether 00:e0:81:5b:17:7e brd ff:ff:ff:ff:ff:ff
> inet 192.168.0.1/23 brd 195.189.227.255 scope global eth0
> inet 192.168.0.2/23 brd 195.189.227.255 scope global secondary eth0:1
У алиасов маска должна быть /32, иначе работать будет неправильно
> inet6 fe80::2e0:81ff:fe5b:177e/64 scope link
> valid_lft forever preferred_lft forever
> 3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast
> qlen 1000
> link/ether 00:e0:81:5b:17:7f brd ff:ff:ff:ff:ff:ff
> inet 10.11.11.20/24 brd 10.11.11.255 scope global eth1
>
|