๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: VLAN na FreeBSD

#21262
From: gumis
Date: Sat, 13 Mar 2010 12:07
27 lines
1608 bytes
Wangog pisze:
> WItam
> 
> Jest tak: Internet---Router FreeBSD---Switch (z VLAN)---LAN 10.1.1.0/24
>                                                 ---LAN 10.1.2.0/24
> 
> Chcialbym istniejaca siec 10.1.1.0/24 podzielic na 2 vlany. Jak mam 
> skonfigurowac interfejs BSD od strony lanu?
> Chodzi mi tylko o podpowiedz a nie gotowa regulke?
> Uzyc
> ifconfig vlan1 create
> ifconfig vlan2 create
> i potem
> ifconfig vlan1 10.1.1.0 netmask 255.255.255.0 vlan 1 vlandev ep0
> ifconfig vlan2 10.1.2.0 netmask 255.255.255.0 vlan 2 vlandev ep0
> 
> Czy tak?
> 
> 
Tak, a potem dopisac do rc.confa:

cloned_interfaces="vlan1 vlan2"
ifconfig_vlan1="inet 10.1.1.1/24 vlan 1 vlandev ep0"
ifconfig_vlan2="inet 10.1.2.1/24 vlan 2 vlandev ep0"

Zwrรณc uwage na swoje ip, 0 na koncu napewno nie jest poprawne.
gumis
Technical Details
Message-ID: <hnfv5n$dr1$1@news.onet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!not-for-mail
References: <hnd8uf$sm9$1@inews.gazeta.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!not-for-mail
From: gumis <tgumulka@onet.eu>
Newsgroups: pl.comp.os.bsd
Subject: Re: VLAN na FreeBSD
Date: Sat, 13 Mar 2010 13:07:19 +0100
Organization: http://onet.pl
Lines: 27
Message-ID: <hnfv5n$dr1$1@news.onet.pl>
References: <hnd8uf$sm9$1@inews.gazeta.pl>
NNTP-Posting-Host: ip-85-14-127-241.silesiamultimedia.com.pl
Mime-Version: 1.0
X-Trace: news.onet.pl 1268482039 14177 85.14.127.241 (13 Mar 2010 12:07:19 GMT)
X-Complaints-To: niusy@onet.pl
NNTP-Posting-Date: Sat, 13 Mar 2010 12:07:19 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
In-Reply-To: <hnd8uf$sm9$1@inews.gazeta.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit