How to use 802.1Q VLAN?

Configuration wizards, scanners, remote desktop, etc.
Post Reply
Message
Author
BGreaney
Posts: 2
Joined: Mon 29 Aug 2011, 10:17

How to use 802.1Q VLAN?

#1 Post by BGreaney »

Hi, anybody know how to get 802.1Q VLAN working on Puppy? I've searched Puppy forums and did not see anything. I can get this working ok with SUSE, but need several machines running live puppy with VLAN and iperf (iperf is no problem I have already)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#2 Post by bigpup »

What version of Puppy?
Have you tried to setup by using the Connection Wizard?
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

BGreaney
Posts: 2
Joined: Mon 29 Aug 2011, 10:17

#3 Post by BGreaney »

I am using Lucid Puppy 5.2, I do not see any VLAN (802.1Q) options in the connection wizard!

jmh
Posts: 1
Joined: Fri 30 Dec 2011, 16:01

#4 Post by jmh »

I was not able to use the ip command in busybox to set up vlans. Had to do it the old way instead...

get vconfig here:
http://www.candelatech.com/~greear/vlan/vlan.1.9.tar.gz


I use the following vlan_startup script in /etc/rc.d/init.d This sets up 2 vlans
vlan 3 is private
vlan 2 is used as the the default interface

...edit it for your needs and in "Puppy Setup/Configure Startup of Puppy/Choose which system/services to run at startup" check vlan_startup


#!/bin/bash

# 12/30/11 jharragi@mw.k12.ny.us
# requires vconfig - from http://www.candelatech.com/~greear/vlan.html
# you only need one file (vconfig) from the newest release tarball
# copied to /usr/local/bin

ifconfig eth0 0.0.0.0 up
vconfig add eth0 2
vconfig add eth0 3
ifconfig eth0.2 29.22.42.6 broadcast 29.22.42.255 netmask 255.255.255.0 up
ifconfig eth0.3 10.0.3.40 broadcast 10.0.3.255 netmask 255.255.248.0 up
route add default gw 29.22.2.1 dev eth0.2

Post Reply