* [Comm] второй IP на одном сетевом интерфейсе в Master 4.0 @ 2007-12-17 13:47 Maxim 2007-12-17 13:51 ` Pavlov Konstantin 0 siblings, 1 reply; 12+ messages in thread From: Maxim @ 2007-12-17 13:47 UTC (permalink / raw) To: ALT Linux Mail List Здравствуйте, все, кто читает. :) Может кто подскажет глупому, как в мастере 4 поднать второй ip на одном сетевом интерфейсе. Раньше как то просто работало. Создаешь файлики с номерами и все. Сейчас вроде как еще проще обещали, надо просто в /etc/net/ifaces/eth1/ipv4address прописать еще строку с другим IP. Но что то этот вариант не проходит а других я пока не нашел. Виртуализация не нужна, нужно просто два ip на одном интерфейсе. -- Maxim mailto:max_conf@e-foto.ru 17 декабря 2007 г. 16:43 ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] второй IP на одном сетевом интерфейсе в Master 4.0 2007-12-17 13:47 [Comm] второй IP на одном сетевом интерфейсе в Master 4.0 Maxim @ 2007-12-17 13:51 ` Pavlov Konstantin 2007-12-17 13:55 ` Maxim 2007-12-17 13:55 ` Maxim 0 siblings, 2 replies; 12+ messages in thread From: Pavlov Konstantin @ 2007-12-17 13:51 UTC (permalink / raw) To: community [-- Attachment #1: Type: text/plain, Size: 707 bytes --] On Mon, Dec 17, 2007 at 04:47:09PM +0300, Maxim wrote: > > Здравствуйте, все, кто читает. :) > Может кто подскажет глупому, как в мастере 4 поднать второй ip на > одном сетевом интерфейсе. > Раньше как то просто работало. Создаешь файлики с номерами и все. > Сейчас вроде как еще проще обещали, надо просто в > /etc/net/ifaces/eth1/ipv4address прописать еще строку с другим IP. > Но что то этот вариант не проходит а других я пока не нашел. > Виртуализация не нужна, нужно просто два ip на одном интерфейсе. Этот вариант должен проходить. Как пишете и проверяете, что адреса нет? -- <hiddenman> уже все пиво выпили и выиграли по сто раз. а Андрюша ALTLinux настраивает :( [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] второй IP на одном сетевом интерфейсе в Master 4.0 2007-12-17 13:51 ` Pavlov Konstantin @ 2007-12-17 13:55 ` Maxim 2007-12-17 13:55 ` Maxim 1 sibling, 0 replies; 12+ messages in thread From: Maxim @ 2007-12-17 13:55 UTC (permalink / raw) To: ALT Linux Community general discussions Здравствуйте, Pavlov. Вы писали 17 декабря 2007 г., 16:51:38: PK> On Mon, Dec 17, 2007 at 04:47:09PM +0300, Maxim wrote: >> >> Здравствуйте, все, кто читает. :) >> Может кто подскажет глупому, как в мастере 4 поднать второй ip на >> одном сетевом интерфейсе. >> Раньше как то просто работало. Создаешь файлики с номерами и все. >> Сейчас вроде как еще проще обещали, надо просто в >> /etc/net/ifaces/eth1/ipv4address прописать еще строку с другим IP. >> Но что то этот вариант не проходит а других я пока не нашел. >> Виртуализация не нужна, нужно просто два ip на одном интерфейсе. PK> Этот вариант должен проходить. PK> Как пишете и проверяете, что адреса нет? ну вообще то network restart а что есть что то новое? -- С уважением, Maxim mailto:max_conf@e-foto.ru ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] второй IP на одном сетевом интерфейсе в Master 4.0 2007-12-17 13:51 ` Pavlov Konstantin 2007-12-17 13:55 ` Maxim @ 2007-12-17 13:55 ` Maxim 2007-12-17 13:59 ` Pavlov Konstantin 1 sibling, 1 reply; 12+ messages in thread From: Maxim @ 2007-12-17 13:55 UTC (permalink / raw) To: ALT Linux Community general discussions Здравствуйте, Pavlov. Вы писали 17 декабря 2007 г., 16:51:38: PK> On Mon, Dec 17, 2007 at 04:47:09PM +0300, Maxim wrote: >> >> Здравствуйте, все, кто читает. :) >> Может кто подскажет глупому, как в мастере 4 поднать второй ip на >> одном сетевом интерфейсе. >> Раньше как то просто работало. Создаешь файлики с номерами и все. >> Сейчас вроде как еще проще обещали, надо просто в >> /etc/net/ifaces/eth1/ipv4address прописать еще строку с другим IP. >> Но что то этот вариант не проходит а других я пока не нашел. >> Виртуализация не нужна, нужно просто два ip на одном интерфейсе. PK> Этот вариант должен проходить. PK> Как пишете и проверяете, что адреса нет? проверял и через ifconfig и через ip link -- С уважением, Maxim mailto:max_conf@e-foto.ru ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] второй IP на одном сетевом интерфейсе в Master 4.0 2007-12-17 13:55 ` Maxim @ 2007-12-17 13:59 ` Pavlov Konstantin 2007-12-17 14:10 ` Maxim 0 siblings, 1 reply; 12+ messages in thread From: Pavlov Konstantin @ 2007-12-17 13:59 UTC (permalink / raw) To: community [-- Attachment #1: Type: text/plain, Size: 1211 bytes --] On Mon, Dec 17, 2007 at 04:55:55PM +0300, Maxim wrote: > Здравствуйте, Pavlov. > > Вы писали 17 декабря 2007 г., 16:51:38: > > PK> On Mon, Dec 17, 2007 at 04:47:09PM +0300, Maxim wrote: > >> > >> Здравствуйте, все, кто читает. :) > >> Может кто подскажет глупому, как в мастере 4 поднать второй ip на > >> одном сетевом интерфейсе. > >> Раньше как то просто работало. Создаешь файлики с номерами и все. > >> Сейчас вроде как еще проще обещали, надо просто в > >> /etc/net/ifaces/eth1/ipv4address прописать еще строку с другим IP. > >> Но что то этот вариант не проходит а других я пока не нашел. > >> Виртуализация не нужна, нужно просто два ip на одном интерфейсе. > > PK> Этот вариант должен проходить. > > PK> Как пишете и проверяете, что адреса нет? > > проверял и через ifconfig и через ip link А через ip ad ? -- выбросить стабильную ветку только из-за того, что цифра 8 больше, чем 7, это, несомненно, очень, очень грамотное решение, да. давайте тогда уж заодно выкинем apache1, sylpheed, gcc2.96, qt1, qt2, mozilla, gtk1, kernel 2.4 и прочее старьё, после чего переименуемся в fedoralt core или altoo linux и начнём шагать в светлое будущее. -- algor in devel@ [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] второй IP на одном сетевом интерфейсе в Master 4.0 2007-12-17 13:59 ` Pavlov Konstantin @ 2007-12-17 14:10 ` Maxim 2007-12-17 14:18 ` Eugene Ostapets 2007-12-17 14:39 ` Serge 0 siblings, 2 replies; 12+ messages in thread From: Maxim @ 2007-12-17 14:10 UTC (permalink / raw) To: ALT Linux Community general discussions Здравствуйте, Pavlov. Вы писали 17 декабря 2007 г., 16:59:43: PK> On Mon, Dec 17, 2007 at 04:55:55PM +0300, Maxim wrote: >> Здравствуйте, Pavlov. >> >> Вы писали 17 декабря 2007 г., 16:51:38: >> >> PK> On Mon, Dec 17, 2007 at 04:47:09PM +0300, Maxim wrote: >> >> >> >> Здравствуйте, все, кто читает. :) >> >> Может кто подскажет глупому, как в мастере 4 поднать второй ip на >> >> одном сетевом интерфейсе. >> >> Раньше как то просто работало. Создаешь файлики с номерами и все. >> >> Сейчас вроде как еще проще обещали, надо просто в >> >> /etc/net/ifaces/eth1/ipv4address прописать еще строку с другим IP. >> >> Но что то этот вариант не проходит а других я пока не нашел. >> >> Виртуализация не нужна, нужно просто два ip на одном интерфейсе. >> >> PK> Этот вариант должен проходить. >> >> PK> Как пишете и проверяете, что адреса нет? >> >> проверял и через ifconfig и через ip link PK> А через ip ad ? ну насколько я понимаю это временное решение, а мне надо что бы с сервером старотовало. Ну ведь должна же конфигурация нормально работать. Что же везде свои заплатки ставить. -- С уважением, Maxim mailto:max_conf@e-foto.ru ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] второй IP на одном сетевом интерфейсе в Master 4.0 2007-12-17 14:10 ` Maxim @ 2007-12-17 14:18 ` Eugene Ostapets 2007-12-17 15:01 ` Maxim 2007-12-17 17:51 ` Sergey 2007-12-17 14:39 ` Serge 1 sibling, 2 replies; 12+ messages in thread From: Eugene Ostapets @ 2007-12-17 14:18 UTC (permalink / raw) To: ALT Linux Community general discussions 17.12.07, Maxim<max_conf e-foto.ru> написал(а): > >> проверял и через ifconfig и через ip link > > PK> А через ip ad ? > ну насколько я понимаю это временное решение, а мне надо что бы с > сервером старотовало. так оно и будет стартовать просто ip li никогда не показывал адреса!!! А ifconfig не видит адреса, настроенные с помощью ip ad (так настраиваеются они в Сервер 4.0). > Ну ведь должна же конфигурация нормально работать. Что же везде свои > заплатки ставить. Если уж не представляете как устроена сеть в Линукс, то поверили бы документации и проверили чем-либо типа ping, чтобы удостоверится что адрес добавился и работает... -- С уважением, Евгений Остапец uin: 23747217 jid: eugene_ostapets@jabber.ru ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] второй IP на одном сетевом интерфейсе в Master 4.0 2007-12-17 14:18 ` Eugene Ostapets @ 2007-12-17 15:01 ` Maxim 2007-12-17 17:53 ` Sergey 2007-12-18 22:40 ` Michael Shigorin 2007-12-17 17:51 ` Sergey 1 sibling, 2 replies; 12+ messages in thread From: Maxim @ 2007-12-17 15:01 UTC (permalink / raw) To: ALT Linux Community general discussions Здравствуйте, Eugene. Вы писали 17 декабря 2007 г., 17:18:33: EO> 17.12.07, Maxim<max_conf e-foto.ru> написал(а): >> >> проверял и через ifconfig и через ip link >> >> PK> А через ip ad ? >> ну насколько я понимаю это временное решение, а мне надо что бы с >> сервером старотовало. EO> так оно и будет стартовать EO> просто ip li никогда не показывал адреса!!! А ifconfig не видит EO> адреса, настроенные с помощью ip ad (так настраиваеются они в Сервер EO> 4.0). >> Ну ведь должна же конфигурация нормально работать. Что же везде свои >> заплатки ставить. EO> Если уж не представляете как устроена сеть в Линукс, то поверили бы EO> документации и проверили чем-либо типа ping, чтобы удостоверится что EO> адрес добавился и работает... зачем вы наезжаете? я все представлял до момента выхода нового сервера. К сожалению я не обладаю достаточным временем что бы до конца изучить все нововведения. И я не занимаюсь постоянно сменой дистрибутивов на сервере. Есть более важные задачи. По этому просто с выходом нового дистрибутива (что кстати происходит весьма редко) и появлением нештатных ситуаций приходится вникать на ходу. спасибо за консультацию. -- С уважением, Maxim mailto:max_conf@e-foto.ru ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] второй IP на одном сетевом интерфейсе в Master 4.0 2007-12-17 15:01 ` Maxim @ 2007-12-17 17:53 ` Sergey 2007-12-18 22:40 ` Michael Shigorin 1 sibling, 0 replies; 12+ messages in thread From: Sergey @ 2007-12-17 17:53 UTC (permalink / raw) To: ALT Linux Community general discussions On Monday 17 December 2007, Maxim wrote: > По этому просто с выходом нового дистрибутива (что кстати происходит > весьма редко) На само деле, просто давно пора привыкать использовать ip из iproute2, а не ifconfig/route/разное. :-) -- С уважением, Сергей a_s_y@sama.ru ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] второй IP на одном сетевом интерфейсе в Master 4.0 2007-12-17 15:01 ` Maxim 2007-12-17 17:53 ` Sergey @ 2007-12-18 22:40 ` Michael Shigorin 1 sibling, 0 replies; 12+ messages in thread From: Michael Shigorin @ 2007-12-18 22:40 UTC (permalink / raw) To: ALT Linux Community general discussions On Mon, Dec 17, 2007 at 06:01:06PM +0300, Maxim wrote: > >> Ну ведь должна же конфигурация нормально работать. Что же > >> везде свои заплатки ставить. > EO> Если уж не представляете как устроена сеть в Линукс, то поверили бы Ой, я тебя умоляю. Во многих ли линуксах предлагают с этим ознакомиться -- например, использованием естественного ip, а не противоестественного ifconfig? > EO> документации и проверили чем-либо типа ping, чтобы удостоверится что Иные потом говорят "ping 1.2.3.4 работает, а firefox www.ru нет => проблемы с каналом"... > EO> адрес добавился и работает... > зачем вы наезжаете? Совершенно незачем. Просто Женя компетентный и добрый, но такой вот порывистый. Я даже жестикуляцию представил. :) > я все представлял до момента выхода нового сервера. Вообще-то ifconfig устарел ещё с момента выхода Linux 2.2 -- когда ядро научилось держать по несколько адресов, а не костыли в виде алиасов... просто по всяким редхатам с деревьев слезут ещё нескоро, ну и вот получается. > К сожалению я не обладаю достаточным временем что бы до конца > изучить все нововведения. И я не занимаюсь постоянно сменой > дистрибутивов на сервере. Есть более важные задачи. По этому > просто с выходом нового дистрибутива (что кстати происходит > весьма редко) и появлением нештатных ситуаций приходится > вникать на ходу. спасибо за консультацию. Спасибо за толковую реакцию. А по сисадминским вопросам, и интерфейсам в том числе -- могу рекомендовать подписаться на sysadmins@, несколько более релевантная рассылка. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] второй IP на одном сетевом интерфейсе в Master 4.0 2007-12-17 14:18 ` Eugene Ostapets 2007-12-17 15:01 ` Maxim @ 2007-12-17 17:51 ` Sergey 1 sibling, 0 replies; 12+ messages in thread From: Sergey @ 2007-12-17 17:51 UTC (permalink / raw) To: ALT Linux Community general discussions On Monday 17 December 2007, Eugene Ostapets wrote: > просто ip li никогда не показывал адреса!!! А ifconfig не видит > адреса, настроенные с помощью ip ad Видит всё это ifconfig, если алиасы в его стиле делать: ipv4address: 213.156.192.2 label eth0:1 -- С уважением, Сергей a_s_y@sama.ru ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Comm] второй IP на одном сетевом интерфейсе в Master 4.0 2007-12-17 14:10 ` Maxim 2007-12-17 14:18 ` Eugene Ostapets @ 2007-12-17 14:39 ` Serge 1 sibling, 0 replies; 12+ messages in thread From: Serge @ 2007-12-17 14:39 UTC (permalink / raw) To: Maxim, ALT Linux Community general discussions > ну насколько я понимаю это временное решение, а мне надо что бы с > сервером старотовало. > Ну ведь должна же конфигурация нормально работать. Что же везде свои > заплатки ставить. [root@ns eth1]# pwd /etc/net/ifaces/eth1 cat ipv4address 192.168.1.1/24 broadcast + 172.26.1.1/24 label eth1:0 broadcast + у меня все именно так и работает, как Вы хотите ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2007-12-18 22:40 UTC | newest] Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-12-17 13:47 [Comm] второй IP на одном сетевом интерфейсе в Master 4.0 Maxim 2007-12-17 13:51 ` Pavlov Konstantin 2007-12-17 13:55 ` Maxim 2007-12-17 13:55 ` Maxim 2007-12-17 13:59 ` Pavlov Konstantin 2007-12-17 14:10 ` Maxim 2007-12-17 14:18 ` Eugene Ostapets 2007-12-17 15:01 ` Maxim 2007-12-17 17:53 ` Sergey 2007-12-18 22:40 ` Michael Shigorin 2007-12-17 17:51 ` Sergey 2007-12-17 14:39 ` Serge
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git