ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Gennadii Redko <uit1@zaz.zp.ua>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Настроить VLANы в etcnet
Date: Mon, 10 Nov 2008 15:23:34 +0200
Message-ID: <491835D6.8070000@zaz.zp.ua> (raw)
In-Reply-To: <200811101600.30738.a_s_y@sama.ru>

[-- Attachment #1: Type: text/plain, Size: 1473 bytes --]

Sergey пишет:
> On Monday 10 November 2008, Gennadii Redko wrote:
> 
>>> Зря. Надо или, или. И vlantab я бы не рекомендовал использовать. Удобно
>>> в начале, но не сильно удобно потом.
> 
>> Если без vlantab - не подымается интерфейс при загрузке.
> 
> Хм. Странно. У меня всё поднимается.
Я ошибся - интерфейс подымается и без vlantab.
Не присваивается IP и не становится маршрут
Каталог интерфейса я назвал  /etc/net/ifaces/eth0.60
Файлы конфигов - приложены.
После загрузки с профилем misandinet информация выглядит вот так:

eth0.60   Link encap:Ethernet  HWaddr 00:1C:C4:98:78:BD
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:5 errors:0 dropped:0 overruns:0 frame:0
           TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:230 (230.0 b)  TX bytes:3078 (3.0 KiB)

Если запустить вот такой скрипт:

#!/bin/bash
ifconfig eth0.60 10.0.1.5 netmask 255.255.255.0 up
route add default gw 10.0.1.254

Все настраивается:

eth0.60   Link encap:Ethernet  HWaddr 00:1C:C4:98:78:BD
           inet addr:10.0.1.5  Bcast:10.0.1.255  Mask:255.255.255.0
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:5 errors:0 dropped:0 overruns:0 frame:0
           TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:230 (230.0 b)  TX bytes:3078 (3.0 KiB)

Багу на etcnet вешать или я где-то ошибся?

[-- Attachment #2: ipv4address#misandinet --]
[-- Type: text/plain, Size: 12 bytes --]

10.0.1.5/24

[-- Attachment #3: ipv4route#misandinet --]
[-- Type: text/plain, Size: 23 bytes --]

default via 10.0.1.254

[-- Attachment #4: options#misandinet --]
[-- Type: text/plain, Size: 27 bytes --]

TYPE=vlan
HOST=eth0
VID=60

  parent reply	other threads:[~2008-11-10 13:23 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-08 21:10 Gennadii Redko
2008-11-08 23:35 ` Alexey Borovskoy
2008-11-09  0:12   ` Gennadii Redko
2008-11-09  0:19     ` Gennadii Redko
2008-11-09 19:36     ` Sergey
2008-11-10  9:50       ` Gennadii Redko
2008-11-10 12:00         ` Sergey
2008-11-10 12:30           ` Gennadii Redko
2008-11-11  7:32             ` Sergey
2008-11-10 13:23           ` Gennadii Redko [this message]
2008-11-10 13:29             ` Gennadii Redko
2008-11-10 13:52               ` Dmytro O. Redchuk
2008-11-10 13:58                 ` Dmytro O. Redchuk
2008-11-10 14:53                   ` Gennadii Redko
2008-11-10 15:37                     ` Dmytro O. Redchuk
2008-11-10 18:27                       ` Gennadii Redko
2008-11-11  4:02                         ` Gennadii Redko
2008-11-11  7:36                           ` Sergey
2008-11-11  7:42                             ` Dmytro O. Redchuk
2008-11-11  8:13                               ` Sergey
2008-11-11 13:44                                 ` Alexey I. Froloff
2008-11-11  7:34             ` Sergey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=491835D6.8070000@zaz.zp.ua \
    --to=uit1@zaz.zp.ua \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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