On Friday 02 January 2009 21:59:23 PGNet wrote:
Given OpenSuse 11.1's "new", recommended-yet-undocumented approach to Xen network setup ... namely, NOT using the xen-included network scripts to tear-down & reassign interfaces/bridges, but rather using the /etc/sysconfig/network/ifcfg-br* scripts at system boot ... where's the right place to assign that a dummy-network VLAN? Has the recommended approach changed as well?
To create a vlan, you need to create an ifcfg-vlan<num> file under /etc/sysconfig/network. For example, assuming we want vlan4 attached to the eth0 device: /etc/sysconfig/network/ifcfg-vlan4: ETHERDEVICE='eth0' BOOTPROTO='static' IPADDR='10.1.1.1/24' NAME="VLAN 4" STARTMODE='auto' Then edit ifcfg-br0 and change eth0 to vlan4, or if you wanted to create a new bridge, copy ifcfg-br0 to, for example, ifcfg-br1. Also, you can name your bridge interfaces to anything you want, but vlan devices always have to be named vlan<num>. On Xen systems, I usually give the bridges descriptive names, which helps when selecting which bridge to use when deploying a domU. Hope that helps, -- James Oakley jfunk@opensuse.org -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-virtual+help@opensuse.org