Имя пользователя:
Пароль:  
Помощь | Регистрация | Забыли пароль?  | Правила  

Компьютерный форум OSzone.net » Linux и FreeBSD » Общий по Linux » Прочее - [решено] Вопрос об сетевых интерфейсах

Ответить
Настройки темы
Прочее - [решено] Вопрос об сетевых интерфейсах

Пользователь


Сообщения: 56
Благодарности: 0

Профиль | Сайт | Отправить PM | Цитировать


Здравствуйте.
Столкнулся с проблемой при добавлении IP на сервер.
Помогите разобраться )
На сервере 2 интерфейса eth0 и eth1.

В первом прописано

Код: Выделить весь код
DEVICE=eth0
BOOTPROTO=static
IPADDR=yy.yy.yy.yy
NETMASK=255.255.255.252
GATEWAY=zz.zz.zz.zz
HWADDR=00:80:AD:74:3B:CA
ONBOOT=yes
А во втором

Код: Выделить весь код
DEVICE=eth1
BOOTPROTO=static
HWADDR=00:11:11:85:F8:0D
IPADDR=xx.xx.xx.xx
NETMASK=255.255.255.248
ONBOOT=yes
После перезагрузки сетевого интерфейса адрес xx.xx.xx.xx пингуется, а на yy.yy.yy.yy проходит ровно 20 пакетов (проверено не раз) и далее все, не отвечает.

Отправлено: 11:29, 09-12-2008

 

Аватара для BuGfiX

Слакофил


Сообщения: 590
Благодарности: 130

Профиль | Сайт | Отправить PM | Цитировать


Откуда делаете пинг?
Покажите вывод dmesg, arp -an на обоих хостах и конец файла /var/log/messages после того как пинг пропадает.

-------
If you don`t know what to use this for, you don`t need it.

http://sergey.sereda.googlepages.com...e1_userbar.gif


Отправлено: 11:35, 09-12-2008 | #2



Для отключения данного рекламного блока вам необходимо зарегистрироваться или войти с учетной записью социальной сети.

Если же вы забыли свой пароль на форуме, то воспользуйтесь данной ссылкой для восстановления пароля.


Пользователь


Сообщения: 56
Благодарности: 0

Профиль | Сайт | Отправить PM | Цитировать


Пинг с другого сервера делаю.
dmesg
Код: Выделить весь код
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
e1000: eth1: e1000_watchdog_task: NIC Link is Down
ADDRCONF(NETDEV_UP): eth1: link is not ready
eth0: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
eth0: no IPv6 routers present
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000: eth1: e1000_watchdog_task: NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
arp -an
Код: Выделить весь код
? (xx.xx.xx.xx) at 00:19:56:21:1C:A0 [ether] on eth1
/var/log/messages
Код: Выделить весь код
Dec  9 15:29:29 ns1 avahi-daemon[2870]: Joining mDNS multicast group on interface eth1.IPv4 with address xx.xx.xx.xx
Dec  9 15:29:29 ns1 avahi-daemon[2870]: Registering new address record for xx.xx.xx.xx on eth1.
Dec  9 15:29:36 ns1 proftpd[22475]: nameserver.biz (69.22.166.25[69.22.166.25]) - FTP session opened.
Dec  9 15:29:36 ns1 proftpd[22475]: nameserver.biz (69.22.166.25[69.22.166.25]) - FTP session closed.

Отправлено: 11:54, 09-12-2008 | #3


Аватара для BuGfiX

Слакофил


Сообщения: 590
Благодарности: 130

Профиль | Сайт | Отправить PM | Цитировать


Это вывод arp -an с той машины откуда пингуете ? Тогда видно несовпадение mac-адресов. Убедитесь что в данной сети ip xx.xx.xx.xx уникален.

-------
If you don`t know what to use this for, you don`t need it.

http://sergey.sereda.googlepages.com...e1_userbar.gif

Это сообщение посчитали полезным следующие участники:

Отправлено: 13:40, 09-12-2008 | #4



Компьютерный форум OSzone.net » Linux и FreeBSD » Общий по Linux » Прочее - [решено] Вопрос об сетевых интерфейсах

Участник сейчас на форуме Участник сейчас на форуме Участник вне форума Участник вне форума Автор темы Автор темы Шапка темы Сообщение прикреплено

Похожие темы
Название темы Автор Информация о форуме Ответов Последнее сообщение
Доступ - [решено] Аудит сетевых событий nvhost Microsoft Windows 2000/XP 2 05-01-2011 13:26
CMD/BAT - [решено] Изменение сетевых настроек sashok60 Скриптовые языки администрирования Windows 2 29-12-2009 13:05
Доступ - [решено] Общий доступ на различных сетевых интерфейсах alex_dob Microsoft Windows 7 5 13-12-2009 16:10
Заставить MySQL слушать на нескольких интерфейсах Gangabass Общий по Linux 1 11-06-2007 16:01
[решено] Настройка шлюзов в сетевых интерфейсах. Sobol Microsoft Windows NT/2000/2003 14 08-11-2006 05:58




 
Переход