Главная страница


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Anton V. Yuzhaninov                  2:5020/400     19 Nov 2004  11:14:51
 To : All
 Subject : Automatic VLANS
 -------------------------------------------------------------------------------- 
 
 Hello, All!
 
 В документе http://people.freebsd.org/~andre/FreeBSD-5.3-Networking.pdf
 написано:
 
 Automatic VLANS
 Instead of cloning a vlan interface first and then specifying the parent
 interface and
 the 802.1Q tag you just do this: (By: brooks)
 
 # ifconfig bge1.100 inet 192.168.1.1/24
 # ifconfig -a
 bge1.100: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
 inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
 inet6 fe80::2e0:81ff:fe27:e08a%fxp0.100 prefixlen 64 scopeid 0x6
 ether 00:e0:81:27:e0:8a
 media: Ethernet autoselect (100baseTX <full-duplex>)
 status: active
 vlan: 100 parent interface: bge1
 
 Пробую проделать это у себя:
 
 :~#ifconfig rl1.100 inet 192.168.10.1/24
 ifconfig: interface rl1.100 does not exist
 :~#kldload if_vlan
 :~#ifconfig rl1.100 inet 192.168.10.1/24
 ifconfig: interface rl1.100 does not exist
 :~#uname -a
 FreeBSD citrin.icn.bmstu.ru 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Tue Nov  9
 08:02:12 MSK 2004    
 root@citrin.icn.bmstu.ru:/mnt/usr/obj/mnt/usr/src/sys/GENERIC  i386
 
 В чем грабли?
 
 --
 Anton V. Yuzhaninov, citrin#mail.ru
 
 Отправлено через сервер Форумы@mail.ru - http://talk.mail.ru
 
 --- ifmail v.2.15dev5.3
  * Origin: MSTU n. a. Bauman (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Automatic VLANS   Anton V. Yuzhaninov   19 Nov 2004 11:14:51 
 Re: Automatic VLANS   Gleb Smirnoff   19 Nov 2004 12:35:19 
 Automatic VLANS   Slawa Olhovchenkov   19 Nov 2004 13:01:36 
Архивное /ru.unix.bsd/6488c02c8791.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional