11-20-2006
Grial just to complete what you mentioned.
This can be done in fully switched networks (depending on HW) . The single interface can be vlan tagged for multiple vlans with a shared connection between the host and the switch. The switch then separates the vlan paths and routes accordingly.
6 More Discussions You Might Find Interesting
1. IP Networking
i have one private network with one ip address, and i have a seperate network on a seperate ip address.
now, each network is behind a firewall/router. now what i want to do is be able to access one server on the second network from a computer on the first., but with the private ip address, (this... (2 Replies)
Discussion started by: norsk hedensk
2 Replies
2. IP Networking
Hi guys,
I'm in the progress of setting up a private network in our Sun solaris platform.
Existing ip: 172.16.102.101
New private ip: 192.168.2.3
Netmask is the same for both private & public 255.255.255.0
After setting up the ip, I'm able to ping this private ip address from our... (3 Replies)
Discussion started by: *Jess*
3 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
I just purchased 2 Ultra 10 servers and I want to practice with home networking. I want to create a private network where I can connect both boxes to the internet via broadband using my four port adsl modem/router. My ISP assigns me 192.168 addresses via DHCP and I use the ISP's DNS but... (1 Reply)
Discussion started by: Kongowea
1 Replies
4. IP Networking
hello i have a ubuntu ssh server that i can acess from any of my comnputers but only if they are on the same wireless network as the server. i tested trhis my tehtehring my samsung blackjack to my windows partition and installing openssh to windows it works when windows is on the wireless but no... (1 Reply)
Discussion started by: old noob
1 Replies
5. IP Networking
how does a router directs the internet traffic to a specific host in the private network?
Example:
My PC has ip 192.168.134.100
Router has ip 192.168.134.200
My company's ip 202.52.150.33
When i try to access internet, say google, it traverses from... (1 Reply)
Discussion started by: Arun_Linux
1 Replies
6. Windows & DOS: Issues & Discussions
Hello,
I have a desktop which has two network cards installed on it and I connected these two card through a hub.
On the desktop in have installed a Windows Vista Home Edition SO and a Windowx XP SO in a virtual way. I also had intalled a Virtual BOX software and Windows XP run through it.
By... (1 Reply)
Discussion started by: zendcool
1 Replies
LEARN ABOUT FREEBSD
ng_vlan
NG_VLAN(4) BSD Kernel Interfaces Manual NG_VLAN(4)
NAME
ng_vlan -- IEEE 802.1Q VLAN tagging netgraph node type
SYNOPSIS
#include <sys/types.h>
#include <netgraph.h>
#include <netgraph/ng_vlan.h>
DESCRIPTION
The vlan node type multiplexes frames tagged according to the IEEE 802.1Q standard between different hooks.
Each node has two special hooks, downstream and nomatch, and an arbitrary number of ``vlan'' hooks, each associated with a particular VLAN
tag.
An ETHERTYPE_VLAN frame received on the downstream hook with a tag that the node has been configured to filter is sent out the corresponding
``vlan'' hook. If it does not match any of the configured tags, or is not of a type ETHERTYPE_VLAN, it is sent out the nomatch hook. If the
nomatch hook is not connected, the packet is dropped.
An Ethernet frame received on the nomatch hook is passed unmodified to the downstream hook.
An Ethernet frame received on any of the ``vlan'' hooks is tagged accordingly and sent out the downstream hook.
HOOKS
This node type supports the following hooks:
downstream Typically this hook would be connected to a ng_ether(4) node, using the lower hook.
nomatch Typically this hook would also be connected to an ng_ether(4) type node using the upper hook.
<any valid name> Any other hook name will be accepted and should later be associated with a particular tag. Typically this hook would
be attached to an ng_eiface(4) type node using the ether hook.
CONTROL MESSAGES
This node type supports the generic control messages, plus the following:
NGM_VLAN_ADD_FILTER (addfilter)
Associates a hook with the tag.
NGM_VLAN_DEL_FILTER (delfilter)
Disassociates a hook from the tag.
NGM_VLAN_GET_TABLE (gettable)
Returns a table of all hook/tag associations.
EXAMPLES
#!/bin/sh
ETHER_IF=rl0
ngctl -f- <<EOF
shutdown ${ETHER_IF}:
mkpeer ${ETHER_IF}: vlan lower downstream
name ${ETHER_IF}:lower vlan
connect ${ETHER_IF}: vlan: upper nomatch
EOF
ngctl mkpeer vlan: eiface vlan123 ether
ngctl msg vlan: addfilter '{ vlan=123 hook="vlan123" }'
SHUTDOWN
This node shuts down upon receipt of a NGM_SHUTDOWN control message, or when all hooks have been disconnected.
SEE ALSO
netgraph(4), ng_eiface(4), ng_ether(4), ngctl(8), nghook(8)
HISTORY
The ng_vlan node type appeared in FreeBSD 4.10.
AUTHORS
Ruslan Ermilov <ru@FreeBSD.org>
BSD
March 1, 2004 BSD