๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.bsd
Article #20940

Re: VLAN'y i kilka zagadek :)

#20940
From: Jaroslaw OWSIEWSKI
Date: Thu, 25 Jun 2009 16:53
34 lines
2057 bytes
Paweล‚ Tanaล› <pawel.tanas@gmail.com> wrote:
> Witam,
> 
> Moze ktos mial podobny problem/zagwozdke i udalo mu sie znalezc
> rozwiazanie :)
> Mam nastepujaca konfiguracje:
> LAN<=>3com<=>catalyst<=>FreeBSD
> 
> Na free chcialem osadzic kilka VLAN'ow z oczywistych wzgledow.
> Nie wiem jednak czy do iface na FreeBSD ktory ma przypisane adresy IP
> mozna dodac vlan z ustawionym parentem na ten iface? <listing ponizej>
> 
> em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>        options=b<RXCSUM,TXCSUM,VLAN_MTU>
>        inet 192.168.0.1 netmask 0xffff0000 broadcast 192.168.0.255
>        ether 00:04:23:ce:48:2d
>        media: Ethernet autoselect (1000baseTX <full-duplex>)
>        status: active
> vlan11: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>        inet 192.168.11.1 netmask 0xffffff00 broadcast 192.168.11.255
>        ether 00:04:23:ce:48:2d
>        media: Ethernet autoselect (1000baseTX <full-duplex>)
>        status: active
>        vlan: 11 parent interface: em1
> 
> Oczywistym byloby kierowanie ruchu nietagowanego na em1 a tagowanego
> na vlan11, jednakze oczywiste nie zawsze jest "skuteczne". Czy tez
> nalezy stworzyc konfiguracje dla VLAN1 (nietagowany) i vlan11 (dla
> ruchu tagowanego) a sam em1 postawic tylko w stan up?
> 
Zostaw ifconfig_em1="up", a reszte na vlanach ustaw.

-- 
JarekO
Technical Details
Message-ID: <0T632uu1Idv6Ntjl.jowsie@akson.sgh.waw.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!feed.news.interia.pl!news.nask.pl!news.nask.org.pl!sgh.waw.pl!not-for-mail
References: <a6159e71-c713-40cb-b72d-33865d7e11d9@j12g2000vbl.googlegroups.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!feed.news.interia.pl!news.nask.pl!news.nask.org.pl!sgh.waw.pl!not-for-mail
From: Jaroslaw OWSIEWSKI <jowsie@sgh.waw.pl>
Newsgroups: pl.comp.os.bsd
Subject: Re: VLAN'y i kilka zagadek :)
Date: 25 Jun 2009 16:53:24 GMT
Organization: Warsaw School of Economics
Lines: 34
Message-ID: <0T632uu1Idv6Ntjl.jowsie@akson.sgh.waw.pl>
References: <a6159e71-c713-40cb-b72d-33865d7e11d9@j12g2000vbl.googlegroups.com>
NNTP-Posting-Host: akson.sgh.waw.pl
Mime-Version: 1.0
User-Agent: tin/1.9.2-20070201 ("Dalaruan") (UNIX) (SunOS/5.9 (sun4u))
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit