Article View: pl.comp.os.bsd
Article #20938VLAN'y i kilka zagadek :)
From: Paweł Tanaś
Date: Thu, 25 Jun 2009 10:59
Date: Thu, 25 Jun 2009 10:59
44 lines
2763 bytes
2763 bytes
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?
conf z catalysta dla portu trunkowego:
interface GigabitEthernet4/43
switchport trunk encapsulation dot1q
no switchport trunk native vlan tag
switchport trunk allowed vlan 1-8,10-4094
switchport mode trunk
spanning-tree portfast
Swobodne testowanie niestety jest dosc utrudnione z powodu
prodykcyjnego srodowiska :(
pozdrawiam
--
Pawel Tanas
Technical Details
Message-ID:
<a6159e71-c713-40cb-b72d-33865d7e11d9@j12g2000vbl.googlegroups.com>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!newspeer1.de.telia.net!newspeer4.de.telia.net!de.telia.net!newsfeed00.sul.t-online.de!t-online.de!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!j12g2000vbl.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!newspeer1.de.telia.net!newspeer4.de.telia.net!de.telia.net!newsfeed00.sul.t-online.de!t-online.de!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!j12g2000vbl.googlegroups.com!not-for-mail From: Paweł Tanaś <pawel.tanas@gmail.com> Newsgroups: pl.comp.os.bsd Subject: VLAN'y i kilka zagadek :) Date: Thu, 25 Jun 2009 03:59:14 -0700 (PDT) Organization: http://groups.google.com Lines: 44 Message-ID: <a6159e71-c713-40cb-b72d-33865d7e11d9@j12g2000vbl.googlegroups.com> NNTP-Posting-Host: 194.145.186.65 Mime-Version: 1.0 X-Trace: posting.google.com 1245927554 7634 127.0.0.1 (25 Jun 2009 10:59:14 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 25 Jun 2009 10:59:14 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: j12g2000vbl.googlegroups.com; posting-host=194.145.186.65; posting-account=dDbSnQoAAACg7n_Y5GKMBp6BJreHScK2 User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.64 (Windows NT 5.1; U; pl) Presto/2.1.1,gzip(gfe),gzip(gfe) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit