Lines 527-533
Link Here
|
527 |
|
527 |
|
528 |
#----------------------------------------------------------------------------- |
528 |
#----------------------------------------------------------------------------- |
529 |
# VLAN (802.1q support) |
529 |
# VLAN (802.1q support) |
530 |
# For VLAN support, emerge net-misc/vconfig |
530 |
# For VLAN support, emerge sys-apps/iproute2 |
531 |
|
531 |
|
532 |
# Specify the VLAN numbers for the interface like so |
532 |
# Specify the VLAN numbers for the interface like so |
533 |
# Please ensure your VLAN IDs are NOT zero-padded |
533 |
# Please ensure your VLAN IDs are NOT zero-padded |
Lines 537-546
Link Here
|
537 |
# need it up. |
537 |
# need it up. |
538 |
#config_eth0="null" |
538 |
#config_eth0="null" |
539 |
|
539 |
|
540 |
# You can also configure the VLAN - see for vconfig man page for more details |
540 |
# You can also configure the VLAN - see for ip man page for more details |
541 |
#vconfig_eth0="set_name_type VLAN_PLUS_VID_NO_PAD" |
541 |
# To change the vlan interface name. If not set, the standard "iface.vlanid" |
542 |
#vconfig_vlan1="set_flag 1 |
542 |
# will be used |
543 |
#set_egress_map 2 6" |
543 |
#vlan_1_name="vlan1" |
|
|
544 |
#vlan_2_name="eth0.2" |
545 |
# Set the vlan flags |
546 |
#vlan_1_flags="reorder_hdr off gvrp on loose_binding on" |
547 |
# Configure in/egress maps |
548 |
#vlan_1_ingress="2:6 3:5" |
549 |
#vlan_1_egress="1:2" |
550 |
|
544 |
#config_vlan1="172.16.3.1/23" |
551 |
#config_vlan1="172.16.3.1/23" |
545 |
#config_vlan2="172.16.2.1/23" |
552 |
#config_vlan2="172.16.2.1/23" |
546 |
|
553 |
|
Lines 553-560
Link Here
|
553 |
# This means you do not need to create init scripts in /etc/init.d for each |
560 |
# This means you do not need to create init scripts in /etc/init.d for each |
554 |
# vlan, you must need to create one for the physical interface. |
561 |
# vlan, you must need to create one for the physical interface. |
555 |
# If you wish to control the configuration of each vlan through a separate |
562 |
# If you wish to control the configuration of each vlan through a separate |
556 |
# script, or wish to rename the vlan interface to something that vconfig |
563 |
# script then you need to do this. |
557 |
# cannot then you need to do this. |
|
|
558 |
#vlan_start_eth0="no" |
564 |
#vlan_start_eth0="no" |
559 |
|
565 |
|
560 |
# If you do the above then you may want to depend on eth0 like so |
566 |
# If you do the above then you may want to depend on eth0 like so |