Sponsored Content
Special Forums IP Networking Proxy Server Linux Networking - VLANs & Multiple IP's Post 302920583 by PCB on Friday 10th of October 2014 07:54:52 AM
Old 10-10-2014
Hi Dave,

We have a similar number of VLANs across our operations and there is no debate around the need for the VLANs and their separation. My question is more around whether a VM (e.g. Linux) would connect to many VLANs or only one VLAN. E.g. you say you have a System Management VLAN and then say a DMZ VLAN. If a VM is a web server running apache and sits in the DMZ VLAN, where would the ssh traffic to that same VM go? Would it have an IP on the Management VLAN on which SSH listens, and then another IP in the DMZ VLAN on which it does the HTTP traffic? or/ would you say that its primary function is a web server and thus both HTTP and SSH traffic goes on the DMZ VLAN
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Networking Problems On Linux

HI I JUST INSTALLED LINUX 7.0 ON MY COMPUTER AND IT WIPED OUT THE WHOLE WIN2K SO MY QUESTION IS THAT I CAN'T .....MY NETSCAPE NAVIGATOR DOESN'T WORK (NO INTERNET AT ALL) WHAT SHOULD I DO!... I HAVE A CABLE MODEM IP I USE TO SEARCH THE INTERNET WITH BOTH BROWSER IE AND NETS..NAV.. NOW I... (1 Reply)
Discussion started by: IMOTEB
1 Replies

2. UNIX for Dummies Questions & Answers

Nescape & dial up networking "Linux"

Sorry I need to Know How to connect to the Internet using Netscape in the GUI of the Red Hat Linux .....using phone line with a modem Us robbitics ....Such as in windows We add dial up adapter etc ......:confused: (1 Reply)
Discussion started by: atiato
1 Replies

3. Programming

networking aspect of linux

Hi, everybody. I wanted to know the networking aspect of Linux i.e how Linux works using networks. If anyone knows it or the site or book where I can find this topic then please inform me. Thanks a lot for your co-operation. (1 Reply)
Discussion started by: kinnaree
1 Replies

4. UNIX for Advanced & Expert Users

Linux networking

hi, we've linux suse version 7 and i've installed linux on the PC's, so could anyone tell me that which files should i change under /etc to be able to Telnet & Ftp to other machine? Rgrds, Nikk (3 Replies)
Discussion started by: nikk
3 Replies

5. IP Networking

Networking XP with Linux (Vector Linux)

I need help. I have a cable modem. It has an USB out. I didn't want to buy a router. So I hooked my WinXP computer up to the cable modem by USB. I wanted to network my Linux computer to the WinXp computer by the ethernet cards in each. The only problem is, I don't know what I need to know to do... (1 Reply)
Discussion started by: garfunkle
1 Replies

6. UNIX for Dummies Questions & Answers

Networking unix & windows

I have very basic question: I have 2 windows sytem & 1 Unix system & wanted to put all three system into one network to each other. what kind of other hardware I need? like cable , router? can anybody tell me the configuration? like how to connect to external hardware to put into network? ... (9 Replies)
Discussion started by: kar1
9 Replies

7. Solaris

Networking with Hub, & Sol 10 Problem

Unable to Ping network nodes Currently have two Solaris 10 servers connected via a dumb Hub. I'm unable to ping either box but they can ping themselves. I have double checked physical connections and the following files; /etc/hosts - verified that all devices are listed correctly... (4 Replies)
Discussion started by: pham
4 Replies

8. What is on Your Mind?

Career in Networking & Network Security

Hii i want to make career in networking and i m new in this field could u plz help me what should i do (2 Replies)
Discussion started by: pawan_kumar
2 Replies

9. Linux

Linux networking configuration

I have a question concerning default gateways in RHEL. In Linux, the default gateway does not have to be associated with a specific interface - when you look at your routing table with route -n, your default gateway can be associated with the default route on the last line, and doesn't have to be... (0 Replies)
Discussion started by: rojizo
0 Replies

10. UNIX and Linux Applications

Xalan & Xerces issues for Oracle Linux 6.6 & Solarisstudio12.3 C++ compiler for Linux

Hi Team, I am facing issue while using Xalan & Xerces for my application. Below are my environment details i am using :- Platform:- Oracle Linux 6.6 Compiler :- solarisstudio12.3 C++ compiler for Linux Below are the versions of Xalan & Xerces source code used to build the shared object... (0 Replies)
Discussion started by: agrachirag
0 Replies
VLAN manipulation action in tc(8)                                      Linux                                     VLAN manipulation action in tc(8)

NAME
vlan - vlan manipulation module SYNOPSIS
tc ... action vlan { pop | PUSH | MODIFY } [ CONTROL ] PUSH := push [ protocol VLANPROTO ] [ priority VLANPRIO ] id VLANID MODIFY := modify [ protocol VLANPROTO ] [ priority VLANPRIO ] id VLANID CONTROL := { reclassify | pipe | drop | continue | pass | goto chain CHAIN_INDEX } DESCRIPTION
The vlan action allows to perform 802.1Q en- or decapsulation on a packet, reflected by the operation modes POP, PUSH and MODIFY. The POP mode is simple, as no further information is required to just drop the outer-most VLAN encapsulation. The PUSH and MODIFY modes require at least a VLANID and allow to optionally choose the VLANPROTO to use. OPTIONS
pop Decapsulation mode, no further arguments allowed. push Encapsulation mode. Requires at least id option. modify Replace mode. Existing 802.1Q tag is replaced. Requires at least id option. id VLANID Specify the VLAN ID to encapsulate into. VLANID is an unsigned 16bit integer, the format is detected automatically (e.g. prefix with '0x' for hexadecimal interpretation, etc.). protocol VLANPROTO Choose the VLAN protocol to use. At the time of writing, the kernel accepts only 802.1Q or 802.1ad. priority VLANPRIO Choose the VLAN priority to use. Decimal number in range of 0-7. CONTROL How to continue after executing this action. reclassify Restarts classification by jumping back to the first filter attached to this action's parent. pipe Continue with the next action, this is the default. drop Packet will be dropped without running further actions. continue Continue classification with next filter in line. pass Return to calling qdisc for packet processing. This ends the classification process. EXAMPLES
The following example encapsulates incoming ICMP packets on eth0 from 10.0.0.2 into VLAN ID 123: #tc qdisc add dev eth0 handle ffff: ingress #tc filter add dev eth0 parent ffff: pref 11 protocol ip u32 match ip protocol 1 0xff flowid 1:1 u32 match ip src 10.0.0.2 flowid 1:1 action vlan push id 123 Here is an example of the pop function: Incoming VLAN packets on eth0 are decapsulated and the classification process then restarted for the plain packet: #tc qdisc add dev eth0 handle ffff: ingress #tc filter add dev $ETH parent ffff: pref 1 protocol 802.1Q u32 match u32 0 0 flowid 1:1 action vlan pop reclassify SEE ALSO
tc(8) iproute2 12 Jan 2015 VLAN manipulation action in tc(8)
All times are GMT -4. The time now is 07:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy