Sponsored Content
Full Discussion: Virtual Interfaces on Linux
Top Forums UNIX for Beginners Questions & Answers Virtual Interfaces on Linux Post 303043528 by new2prog on Thursday 30th of January 2020 02:41:50 PM
Old 01-30-2020
Virtual Interfaces on Linux

Hi,

I have RH Linux system on which we have a 10Gb nic card that we want to configure multiple Virtual interfaces that are all tagged on the switch side.

Here is what I am trying to do, I want to have clients from different vlans that are truncked to be able to communicate with my RHEL server on just one interface.

1 Physical NIC -> Virtual interface 1 ( with vlan 1 )
-> Virtual interface 1 ( with vlan 2 )
-> Virtual interface 1 ( with vlan 3 )
-> Virtual interface 1 ( with vlan 4 )
 

10 More Discussions You Might Find Interesting

1. News, Links, Events and Announcements

Linux Virtual Memory Book

. (0 Replies)
Discussion started by: Driver
0 Replies

2. Linux

Virtual Linux Install Problem

This is actually my second attempt at installing Linuix on my mechine. Instead of wiping my HD (big mistake), I thought I would give the LiveCD option a try. I was able to boot Virtual Linux under option 2 (the "happy" mode that doesn't freeze while loading) normally... until I got to the login... (2 Replies)
Discussion started by: invot
2 Replies

3. Red Hat

Virtual ip or CARP configure in Redhat Linux

Hi everyone, Can you please tell me the procedure to configure Virtual ip (CARP) mechanism into the Redhat Linux? Thanks in advanced. Regards, Jagdish Machhi (1 Reply)
Discussion started by: jagdish.machhi@
1 Replies

4. High Performance Computing

Building a Linux Virtual Server cluster

Hi Guys, I'm busy building a LVS-NAT cluster on Red-Hat server 5.1 and I need a kernel that has LVS capabilities for a red-hat server 5.1. Is the anyone who can advise me where I can get this kernel. I have already visited the following site Ultra Monkey: and this has old kernels e.g. 2.4.20... (2 Replies)
Discussion started by: Linux Duke
2 Replies

5. Solaris

Adding multiple virtual interfaces on a non global zone.

Hello All, I have a requirement to add multiple virtual interfaces on a non-global zone (Solaris 10). The global zone is a 2 node Veritas Cluster Server. So, my question is do we have to make any modifications to the cluster config (which I think should not be the case)? Can anyone help with me... (11 Replies)
Discussion started by: mahive
11 Replies

6. Linux

Routing via several interfaces for hosted virtual machines

My setup consists of a hardware node, which hosts several virtual machines (OpenVZ, to be precise). The hardware node has two network interfaces (<ifA>, <ifB>) connected to different subnets (<networkA>, <networkB>). I want to route the traffic of certain VEs over <ifB> while routing the other VEs... (0 Replies)
Discussion started by: bakunin
0 Replies

7. UNIX for Dummies Questions & Answers

how to see network speed of virtual linux machine?

After installing PV (Para virtual drivers) drivers I m not able to check the network speed of my Ethernet port. Please check the output of mii-tool and ethtool. # mii-tool eth0 SIOCGMIIPHY on 'eth0' failed: Operation not supported # ethtool eth0 Settings for eth0: Link... (2 Replies)
Discussion started by: pinga123
2 Replies

8. UNIX for Advanced & Expert Users

Linux Virtual Memory Question

Hello, I am trying to understand the VIRT field that shows in the TOP command output. I have a users application that appears to be leaking memory. I see that the field VIRT in the top output is showing 55.8g. The question is where is that getting stored? The disk does not appear to have... (7 Replies)
Discussion started by: jaysunn
7 Replies

9. Solaris

Interfaces and Virtual-interfaces queries

Hi Al, In course of understanding networking in Solaris, I have these doubts on Interfaces. Please clarify me. I have done fair research in this site and others but could not be clarified. 1. In the "ifconfig -a" command, I see many interfaces and their configurations. But I see many... (1 Reply)
Discussion started by: satish51392111
1 Replies

10. UNIX for Dummies Questions & Answers

Virtual etc interfaces??

So after getting a Nagios plugin up and running that checks certain things including network interfaces, I get an error off the one box I built (as opposed to all of the others that were built by a former employee). The error complains of the "NIC logical group" failing. All the boxes are HP... (7 Replies)
Discussion started by: xdawg
7 Replies
VLAN(4) 						   BSD Kernel Interfaces Manual 						   VLAN(4)

NAME
vlan -- IEEE 802.1Q Virtual LAN network device SYNOPSIS
pseudo-device vlan DESCRIPTION
The vlan interface provides support for IEEE 802.1Q Virtual Local Area Networks (VLAN). This supports the trunking of more than one network on a single network interface. This is particularly useful on routers or on hosts which must be connected to many different networks through a single physical interface. To use a vlan interface, the administrator must first create the interface and then specify the VID (VLAN identifier, the first 12 bits from a 16-bit integer which distinguishes each VLAN from any others) and physical interface associated with the VLAN. This can be done by using the ifconfig(8) create, vlan, and vlanif subcommands from a shell command line or script. From within a C program, use the ioctl(2) system call with the SIOCSIFCREATE and SIOCSIFVLAN arguments. To be compatible with other IEEE 802.1Q devices, the vlan interface supports a 1500 byte MTU, which means that the parent interface will have to handle packets that are 4 bytes larger than the original Ethernet standard. Drivers supporting this increased MTU are: - drivers using the DP8390 core (such as ec(4), ne(4), we(4), and possibly others) - bge(4) - bnx(4) - ea(4) - eb(4) - epic(4) - etherip(4) - ex(4) - fxp(4) - gem(4) - hme(4) - le(4) - sip(4) - ste(4) - stge(4) - ti(4) - tl(4) - tlp(4) - vge(4) - vr(4) - wm(4) - xi(4) vlan can be used with devices not supporting the IEEE 802.1Q MTU, but then the MTU of the vlan interface will be 4 bytes too small and will not interoperate properly with other IEEE 802.1Q devices, unless the MTU of the other hosts on the VLAN are also lowered to match. EXAMPLES
The following will create interface vlan0 with VID six, on the Ethernet interface tlp0: ifconfig vlan0 create ifconfig vlan0 vlan 6 vlanif tlp0 After this set up, IP addresses (and/or other protocols) can be assigned to the vlan0 interface. All other hosts on the Ethernet connected to tlp0 which configure a VLAN and use VID six will see all traffic transmitted through vlan0. The same VLAN can be created at system startup time by placing the following in /etc/ifconfig.vlan0: create vlan 6 vlanif tlp0 SEE ALSO
ifconfig(8) HISTORY
The vlan device first appeared in NetBSD 1.5.1, and was derived from a VLAN implementation that appeared in FreeBSD and OpenBSD. BUGS
The vlan interfaces do not currently inherit changes made to the physical interfaces' MTU. BSD
December 16, 2010 BSD
All times are GMT -4. The time now is 02:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy