search for: vlan_id

Displaying 20 results from an estimated 29 matches for "vlan_id".

2009 Jul 13
1
[PATCH node] Adds vlan support to auto-installations for the node. bz#511056
...$1 - the nic +# $2 - the network bridge name +# $3 - the vlan id +# $4 - the VL_ROOT variable +# $5 - the VL_CONFIG variable +# $6 - the IF_ROOT value +# $7 - the vlan config filename variable +# $8 - the NIC config filename +function setup_vlan +{ + local nic=$1 + local bridge=$2 + local vlan_id=$3 + local vlroot=$4 + local vlconfig=$5 + local ifroot=$6 + local vlfilename=$7 + local iffilename=$8 + + eval $vlroot="${ifroot}.${vlan_id}" + eval $vlconfig=\"rm \$${vlroot}\\nset \$${vlroot}/DEVICE ${nic}.${vlan_id}\" + eval $vlconfig=\"\$${vlcon...
2009 Oct 09
1
[PATCH node] validify ipv4/ipv6 static/dhcp choice else loop
...MASK" - if [ -n "${GATEWAY}" ]; then - BR_CONFIG="$BR_CONFIG\nset $BR_ROOT/GATEWAY $GATEWAY" - fi - ;; - A|a) - CONFIGURED_NIC="" - VLAN_ID="" - return - ;; - esac + while true; do + read -ep "Enable IPv4 support ([S]tatic IP, [D]HCP, [N]o or [A]bort)? " + case $REPLY in + D|d) + BR_CON...
2010 Aug 18
8
Patch fixing vlan handling when network-bridge script is used
...ed by changing network interfaces in network-bridge script. Following patch should allow to use vlans in guest. Testing scenario: configure vlan network (e.g. vlan 1 on eth0 => eth0.1) start xend create domU and configure same vlan inside it You can see that vlan is still <interface>.<vlan_id>. You can reach dom0 but not domU. After patch apply vlan is changed to <bridge>.<vlan_id> after xend start and you can reach both dom0 and domu. Patch: ------ diff -r 9f49667fec71 tools/hotplug/Linux/network-bridge --- a/tools/hotplug/Linux/network-bridge Fri Jul 30 15:22:39 2010 +...
2007 Apr 18
5
[Bridge] RFC: [PATCH] bridge vlan integration
Hi, The attached patches enables the bridge to filter and forward packets according to their IEEE 802.1q headers. The goals behind this change include : - Enable running STP on 802.1q tagged networks. STP packets must be untagged. It isn't obvious how else to enable STP with the current bridge and vlan code. - Add native support for an untagged vlan. Currently an untagged vlan can
2011 Aug 11
1
[PATCH] fix augtool calls
parse input augtool strings to oper,key,value --- scripts/network.py | 32 ++++++++++++++++---------------- 1 files changed, 16 insertions(+), 16 deletions(-) diff --git a/scripts/network.py b/scripts/network.py index f51ee7c..65b551c 100644 --- a/scripts/network.py +++ b/scripts/network.py @@ -165,11 +165,11 @@ class Network: ntpconf = ntpconf.split("\n") for line
2010 Oct 25
0
[PATCH node] add network.py script
...ROOT="/files/etc/ntp" + self.NTP_CONFIG_FILE="/etc/ntp.conf" + self.NTPSERVERS="" + self.CONFIGURED_NIC= "" + self.IF_CONFIG = "" + self.BR_CONFIG = "" + self.VL_CONFIG = "" + self.VLAN_ID="" + self.VL_ROOT="" + self.VL_FILENAME ="" + self.nic="" + self.bridge="" + self.vlan_id="" + + def configure_interface(self): + log("Configuring Interface") + if OVIRT_VARS.ha...
2007 Apr 18
1
[Bridge] Re: Bridge Digest, Vol 31, Issue 6
...n cisco by default all ports are in vlan1. if you want to do trunk (with vlans) you myst add (vlans) to this ports (tagged or untagged) So you can compare that all interfaces in linux by default are in one vlan(but not tagged). (only for compare) So : ifconfig eth2 up vconfig add eth2 <vlan_id> brctl addbr br0 brctl addif br0 eth2.<vlan_id> brctl addif br0 <another interface> bridge-request@lists.osdl.org wrote: >Send Bridge mailing list submissions to > bridge@lists.osdl.org > >To subscribe or unsubscribe via the World Wide Web, visit > https://lists....
2009 May 15
0
[PATCH server] use service layer for Network controller.
...tions) - network_options - + def new_bonding + raise ActionError.new("Host is required") unless params[:host_id] + svc_new_bonding(params[:host_id]) render :layout => false end - def create_bonding - begin - network_options - - unless params[:bonding][:vlan_id].nil? || params[:bonding][:vlan_id].to_i == 0 - @network = Network.find(params[:bonding][:vlan_id]) - if @network.boot_type.id == @static_boot_type.id - if params[:ip_address][:id] == "New" - _create_ip_address - elsif params[:ip_address][:id] != &quo...
2011 Aug 15
0
[PATCH node] Don't start ntp daemons until networking is started
...ull 2>&1 ; then config="$WORKDIR"/config-augtool cat "$WORKDIR"/augtool-* > $config + echo "set /files/etc/sysconfig/network/NETWORKING yes" >> $config CONFIGURED_NICS="$CONFIGURED_NIC br$CONFIGURED_NIC" if [ -n "${VLAN_ID}" ]; then CONFIGURED_NICS="$CONFIGURED_NICS $CONFIGURED_NIC.$VLAN_ID" -- 1.7.4.4
2008 Jul 16
6
vlans+bonding+bridging
hi, I have to configure Xen server and DomU''s which should be able to talk to different vlans - depending on services put on DomU''s. I would like to enslave 2 NICs via bond interface. Both NICs are on trunk ports which are configured in the same way, the same native vlan. I don''t know, if I have to add vlans tagging to eth* interfaces then enslave tagged eth*
2009 Oct 06
0
[PATCH server] new host networking wui
...<%= nic.interface_name %> + </option> + <% } %> + </select> + </div> + + </div> + + <div class="host_network_table_network_column"> + <select name="bondings[<%= bonding.id %>[vlan_id]" + id="host_network_table_select_net_bonding_<%= bonding.id %>" + class="host_network_table_select_net" > + + <option value="">Select a network...</option> + <% @networks.find_all { |net| net.typ...
2010 May 10
1
[PATCH node] RESEND: fix iscsi installation problems
...ovirt_store_firstboot_config + fi stop_log reboot diff --git a/scripts/ovirt-config-networking b/scripts/ovirt-config-networking index 4d412ac..810d0e0 100755 --- a/scripts/ovirt-config-networking +++ b/scripts/ovirt-config-networking @@ -24,10 +24,12 @@ CONFIGURED_NIC="" VLAN_ID="" VL_ROOT="" +if [[ -z "$ROOTDRIVE" && "$OVIRT_ISCSI_ENABLED" != "y" ]]; then # if local storage is not configured, then exit the script -if ! is_local_storage_configured; then - printf "Local storage must be configured prior to...
2020 Oct 08
1
VLAN support for ipconfig
I've attached a patch to allow ipconfig to create and configure VLAN interfaces using the standard VLAN interface nomenclature (physical_if.VLAN_ID). Happy to hear comments/criticism. Kyle -------------- next part -------------- A non-text attachment was scrubbed... Name: ipconfig-vlan-support.patch Type: text/x-patch Size: 2454 bytes Desc: not available URL: <https://lists.zytor.com/archives/klibc/attachments/20201008/483db279/attachment....
2015 Apr 23
0
Bridg and dhclient
...uot; I added new virtual interfaces (br71 and vlan71) via NetworkManager # cat /etc/sysconfig/network-scripts/ifcfg-br71 DEVICE=br71 STP=no TYPE=Bridge BOOTPROTO=none IPV6INIT=no NAME=br71 ONBOOT=yes # cat /etc/sysconfig/network-scripts/ifcfg-vlan71 VLAN=yes TYPE=Vlan DEVICE=vlan71 PHYSDEV=team0 VLAN_ID=71 REORDER_HDR=0 BOOTPROTO=none IPV6INIT=no NAME=vlan71 ONBOOT=yes NM_CONTROLLED=yes BRIDGE=br71 Q: When interface going up (nmcli connection up br71) it was trying to get ip-addres via dhclient (but options BOOTPROTO=none uses). Why? nmcli device status DEVICE TYPE STATE...
2003 Mar 16
0
Subject: [tcng] X:Y to tcng corespondence !
...tcng-class-path conversation.... and vs. versa.. > > --__--__-- There are couple files can be created by tcc: # cat a.tc dev "s0e0" { egress { drop if ip_proto == 30; class (<>) if 1; } } dev "s1e0" { egress { drop if vlan_id == 0; class (<>) if 1; } } # cat tcc_map device s0e0 - a.tc 1 qdisc s0e0:1 - a.tc 2 class s0e0:1:0 - a.tc 4 qdisc s0e0:2 - a.tc 2 filter s0e0:1::1 - a.tc 2 element s0e0:1::1:0 - a.tc 3 element s0e0:1::1:1 - a.tc 5 device s1e0 - a.tc 8 qdisc s1e0:1 - a.tc 9 class s1e0:...
2011 Jul 18
0
[PATCH] fix ipv6 switch to disabled
...self.BR_CONFIG += "set %s/IPV6INIT no\n" % BR_ROOT + self.BR_CONFIG += "set %s/IPV6_AUTOCONF no\n" % BR_ROOT + self.BR_CONFIG += "set %s/IPV6FORWARDING no\n" % BR_ROOT + if OVIRT_VARS.has_key("OVIRT_VLAN"): VLAN_ID=OVIRT_VARS["OVIRT_VLAN"] diff --git a/scripts/ovirt-config-setup.py b/scripts/ovirt-config-setup.py index 753c80d..6ac09dc 100755 --- a/scripts/ovirt-config-setup.py +++ b/scripts/ovirt-config-setup.py @@ -1144,6 +1144,11 @@ class NodeConfigScreen(): augtool("rm", &qu...
2016 Aug 08
0
Help with Network configuration files
...ch & server are happy all 4 links are live, no errors I created a new bridge: ifcfg-br0: DEVICE=br1 TYPE=BRIDGE ONBOOT=yes NAME=br1 I created a VLAN interface on bond0 and attached it to the bridge ifcfg-bond0.77: DEVICE=bond0.77 BOOTPROTO=none ONBOOT=yes VLAN=yes TYPE=Vlan PHYSDEV=bond0 VLAN_ID=77 NAME="Vlan bond0.77" BRIDGE=br1 UUID=d91d518a-cf03-555f-9837-ef2d2763218b Now, How do I create a new interface ?VLAN-OOB?, attach it to the bridge and assign an IP address? ifcfg-VLAN-OOB: DEVICE=???????? BOOTPROTO=none ONBOOT=yes NETWORK=10.126.77.0 IPADDR=10.126.77.2 PREFIX=24 GAT...
2010 Apr 09
0
[PATCH node] fix iscsi installation problems
...ovirt_store_firstboot_config + fi stop_log reboot diff --git a/scripts/ovirt-config-networking b/scripts/ovirt-config-networking index 4d412ac..810d0e0 100755 --- a/scripts/ovirt-config-networking +++ b/scripts/ovirt-config-networking @@ -24,10 +24,12 @@ CONFIGURED_NIC="" VLAN_ID="" VL_ROOT="" +if [[ -z "$ROOTDRIVE" && "$OVIRT_ISCSI_ENABLED" != "y" ]]; then # if local storage is not configured, then exit the script -if ! is_local_storage_configured; then - printf "Local storage must be configured prior to...
2023 Jun 19
2
[Bridge] [PATCH net-next v2 2/3] bridge: Add a limit on learned FDB entries
...e/br_private.h index 2119729ded2b..df079191479e 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h @@ -275,6 +275,8 @@ enum { BR_FDB_LOCKED, }; +#define BR_FDB_NOT_LEARNED_MASK (BIT(BR_FDB_LOCAL) | BIT(BR_FDB_ADDED_BY_USER)) + struct net_bridge_fdb_key { mac_addr addr; u16 vlan_id; @@ -553,6 +555,9 @@ struct net_bridge { struct kobject *ifobj; u32 auto_cnt; + u32 fdb_max_learned_entries; + u32 fdb_cur_learned_entries; + #ifdef CONFIG_NET_SWITCHDEV /* Counter used to make sure that hardware domains get unique * identifiers in case a bridge spans multipl...
2009 Jul 24
1
permit many-to-many vms / networks relationship redux
redux patchset permitting a vm to be associated with multiple networks and vice-versa. updated patchset so as to be applicable against current oVirt server HEAD these patches may be applied in any order, they all need to be pushed together