Re: vlan support - Is it possible to have only tagged frames?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am testing on a F19 arm system. Arm should not matter, other than the MACaddr right now is random on each boot.

/etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE="eth0"
BOOTPROTO="none"
ONBOOT="yes"
TYPE="Ethernet"
NAME="System eth0"

/etc/sysconfig/network-scripts/ifcfg-eth0.16

DEVICE="eth0.16"
BOOTPROTO="dhcp"
VLAN="yes"
ONBOOT="yes"
TYPE="Ethernet"
NAME="System eth0.16"
HOSTNAME="test.htt-consult.com"
IPV6INIT="yes"

ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
    link/ether 86:a1:66:94:ad:03 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::84a1:66ff:fe94:ad03/64 scope link
       valid_lft forever preferred_lft forever


I checked my switch config and the port I am using is set for tagged and the vlan is '16'.

So what am I missing?

On 09/08/2014 04:14 PM, Robert Moskowitz wrote:

On 09/08/2014 03:33 PM, Louis Lagendijk wrote:
On Mon, 2014-09-08 at 14:02 -0400, Robert Moskowitz wrote:
I know that to support vlaning, I have a ifcfg-eth0.n file with the
entry vlan=yes and this will support vlan tag value n.

But can I leave off the default ifcfg-eth0 file and have NO untagged usage?

I know I can configure my switch to only provided tagged frames to a port.


Just define ifcfg-eth0 without IP-address but active. Then ifcfg-eth0.x
can be used for the tagged packages.

I think there has to be a bit more than that, just in case there is some system doing DHCP or RA on the default VLAN just to make things difficult.

onboot=yes
bootproto=none
NM_CONTROLLED=no
NETWORKING=no
IPV6INIT=no
IPV6_AUTOCONF=no

And if Networking=no, is the IPV6 reduntant?



--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux