From mboxrd@z Thu Jan 1 00:00:00 1970 From: "R. W. Rodolico" To: documentation@lists.ipfire.org Subject: Re: vlan on red documentation Date: Sat, 06 Dec 2014 11:19:42 -0600 Message-ID: <54833AAE.8080908@dailydata.net> In-Reply-To: <1417869709.14452.98.camel@rice-oxley.tremer.info> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6146996923399684709==" List-Id: --===============6146996923399684709== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit I'm not sure about clarifying the article. I just did not see it when I was searching for instructions, so I ended up coming up with my own. I'm attaching what I wrote. It has no examples or images in it, and needs to be cleaned up some. One thing that is different the way I did it was that I used the hardware port as a trunk, then attached the vlan ports to it. So, in my case, red0 is not the underlying port. I change the name in udev to something else, then build the red0 and orange0 on top of it. Like I said, I did not see the vlan article when I was doing my research. It is based mainly on http://forum.ipfire.org/index.php?topic=7242.0 and some conversations with one of our network people here, and some experimentation. Rod On 12/06/2014 06:41 AM, Michael Tremer wrote: > Hi, > > are we talking about this one? > > http://wiki.ipfire.org/en/optimization/vlan/start > > What has been different for you and what would you suggest to clarify > this howto? > > -Michael > > On Sat, 2014-12-06 at 01:09 -0600, R. W. Rodolico wrote: >> I needed to share orange and red on a router. Read through the stuff and >> figured it out, though it is slightly different from the way it is >> described in the Wiki. >> >> Do you think it would be good to have a separate article "VLAN on Red >> interface" article? If not, I'll put it on my own wiki instead. >> >> Rod -- "Rod" Rodolico Daily Data, Inc. POB 140465 Dallas TX 75214-0465 214.827.2170 http://www.dailydata.net --===============6146996923399684709== Content-Type: text/plain Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="IPFire_VLAN.txt" MIME-Version: 1.0 SVBGaXJlIHZsYW4sIHNoYXJpbmcgcmVkIGFuZCBvcmFuZ2Ugb24gc2FtZSBwaHlzaWNhbCBOSUMK ClRoaXMgZG9jdW1lbnQgY292ZXJzIHRoZSBtb3N0IGNvbXBsZXggd2F5IG9mIHNldHRpbmcgdXAg b25lIHBoeXNpY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