[sisyphus] etcnet: профили с бриджом и без

Eugene Prokopiev =?iso-8859-1?q?prokopiev_=CE=C1_stc=2Edonpac=2Eru?=
Ср Мар 28 14:43:39 MSD 2007


> А попробуйте /etc/net/ifaces/bridge/options с таким содержимым:
> 
> DISABLED=yes

работает, но странно:

# cat /etc/net/ifaces/br/options
TYPE=bri
DISABLED=yes
# cat /etc/net/ifaces/br/options#bridge
TYPE=bri
HOST='lan wan'
# service network switchto bridge
Computing interface groups: .... 4 interfaces found
Processing /etc/net/vlantab: empty.
Stopping group 1/realphys (3 interfaces)
         Stopping lan: ..OK
         Stopping mgmt: ...OK
         Stopping wan: ...OK
Stopping group 0/virtual (1 interfaces)
         Stopping lo: .OK
Computing interface groups: ..... 5 interfaces found
Starting group 0/virtual (1 interfaces)
         Starting lo: .....OK
Starting group 1/realphys (3 interfaces)
         Starting lan: ......OK
         Starting mgmt: .........OK
         Starting wan: ......OK
Processing /etc/net/vlantab: empty.
Starting group 2/hostedphys (1 interfaces)
         Starting br: ....OK
# brctl show
bridge name     bridge id               STP enabled     interfaces
br              8000.00179a7e3d25       no              lan
                                                         wan
# service network switchto router
Computing interface groups: .... 4 interfaces found
Processing /etc/net/vlantab: empty.
Stopping group 1/realphys (3 interfaces)
         Stopping lan: ..OK
         Stopping mgmt: ...OK
         Stopping wan: ...OK
Stopping group 0/virtual (1 interfaces)
         Stopping lo: .OK
Computing interface groups: .... 4 interfaces found
Starting group 0/virtual (1 interfaces)
         Starting lo: .....OK
Starting group 1/realphys (3 interfaces)
         Starting lan: .......OK
         Starting mgmt: .........OK
         Starting wan: ........OK
Processing /etc/net/vlantab: empty.
# brctl show
bridge name     bridge id               STP enabled     interfaces
br              8000.00179a7e3d25       no              lan

Т.е. брижд не опускается? Похоже что так:

# service network switchto bridge
Computing interface groups: .... 4 interfaces found
Processing /etc/net/vlantab: empty.
Stopping group 1/realphys (3 interfaces)
         Stopping lan: ..OK
         Stopping mgmt: ...OK
         Stopping wan: ...OK
Stopping group 0/virtual (1 interfaces)
         Stopping lo: .OK
Computing interface groups: ..... 5 interfaces found
Starting group 0/virtual (1 interfaces)
         Starting lo: .....OK
Starting group 1/realphys (3 interfaces)
         Starting lan: ......OK
         Starting mgmt: .........OK
         Starting wan: ......OK
Processing /etc/net/vlantab: empty.
Starting group 2/hostedphys (1 interfaces)
         Starting br:  'br' is already up SKIPPED
# brctl show
bridge name     bridge id               STP enabled     interfaces
br              8000.00179a7e3d25       no              lan

на всякий случай:

# rpm -q bridge-utils
bridge-utils-1.2-alt2
# rpm -q etcnet
etcnet-0.8.5-alt2

-- 
С уважением, Прокопьев Евгений




Подробная информация о списке рассылки Sisyphus