[Bug 534032] New: vlan naming conventions and ifup scripts
http://bugzilla.novell.com/show_bug.cgi?id=534032 Summary: vlan naming conventions and ifup scripts Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: x86-64 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: diego.ercolani@gmail.com QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; it; rv:1.9.0.13) Gecko/2009080200 SUSE/3.0.13-0.1.2 Firefox/3.0.13 I saw in the OpenSuSE 11.2 if you want to use VLANs (802.1q) you have to manually prepare a configuration file in /etc/sysconfig/network/ifcfg-vlanNNNN where NNNN is the vlan number. In setup script (ifup-802.1q) there is a cabled configuration: vconfig set_name_type vlan_plus_vid_no_pad My issue is that in this manner the naming convention have that the vlan interface is named vlanNNNN where NNNN is the VLAN number, this probably simplifies scripts but: What happen if I want to assign 2 interfaces (e.g. eth0 and eth1) to a particular VLAN (for example 99)? Normally I would create 2 vlan interfaces: `vconfig add eth0 99` that creates interface eth0.99 `vconfig add eth1 99` that creates interface eth1.99 with the suse setup this condition is impossible you can have only one interface per vlan. For the naming convention is possible to set the name of the vlan interface using `ip link set DEVICE alias ALIASNAME dev REALNAME`, you can ever find the correspondance to the real interface using the proc entry: /proc/net/vlan/config so using of aliases could be very useful. Please note that alias name can be normally only up to 15 characters. In the configuration of openSuSE interfaces you can use the vaiable NAME to set up the name of the interface, it should be the variable to use to setup the alias name of the vlan interface I think.... Another question: how to use vlan using networkmanager? Thank you for your support Reproducible: Always -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=534032 User mt@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=534032#c1 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|bnc-team-screening@forge.pr |mt@novell.com |ovo.novell.com | --- Comment #1 from Marius Tomaschewski <mt@novell.com> 2009-08-25 06:14:15 MDT --- Yes, this is a known issue and already on my TODO. I'll prepare a patch switching to use the DEV_PLUS_VID_NO_PAD ethX.VLAN schema and let you know when it is ready to test it. It will appear in build service project Base:System/sysconfig... I don't (think) know if networkmanager supports vlan interfaces at all. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=534032 User mt@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=534032#c2 --- Comment #2 from Marius Tomaschewski <mt@novell.com> 2009-10-09 07:26:12 MDT --- Created an attachment (id=321824) --> (http://bugzilla.novell.com/attachment.cgi?id=321824) Patch fixing the vlan interface name scheme support -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=534032 User mt@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=534032#c3 --- Comment #3 from Marius Tomaschewski <mt@novell.com> 2009-10-09 07:28:16 MDT --- Created an attachment (id=321825) --> (http://bugzilla.novell.com/attachment.cgi?id=321825) The vlan script with applied patch -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=534032 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #321825|application/octet-stream |text/plain mime type| | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=534032 User mt@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=534032#c4 --- Comment #4 from Marius Tomaschewski <mt@novell.com> 2009-10-09 07:30:24 MDT --- Please install as root using: install -m755 bug-534032_ifup-802.1q /etc/sysconfig/network/scripts/ifup-802.1q -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=534032 User coolo@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=534032#c8 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED CC| |coolo@novell.com Info Provider|coolo@novell.com | --- Comment #8 from Stephan Kulow <coolo@novell.com> 2009-10-12 02:26:04 MDT --- if this is prepared for RC1, we should check it out -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=534032 User mt@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=534032#c9 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jengelh@medozas.de --- Comment #9 from Marius Tomaschewski <mt@novell.com> 2009-11-02 04:03:29 MST --- *** Bug 544159 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=544159 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=534032 User mt@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=534032#c10 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #10 from Marius Tomaschewski <mt@novell.com> 2009-11-02 04:04:50 MST --- Fix is available in sysconfig >= 0.72.6 on openSUSE-11.2. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=534032 http://bugzilla.novell.com/show_bug.cgi?id=534032#c11 --- Comment #11 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (534032) was mentioned in https://build.opensuse.org/request/show/22168 Factory / sysconfig -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com