we would like setup VLAN on CENTOS 5.X and 4.x. Only VLAN will active, but primary LAN NOT active. E.g "eth0" inactive, but "eth0.2" active. I have been tried several ways, but never successful. Any ideal? ______________________________________________________________________________________________________ ?????????Yahoo!??????2.0????????????? http://tw.mg0.mail.yahoo.com/dc/landing
mcclnx mcc wrote:> we would like setup VLAN on CENTOS 5.X and 4.x. Only VLAN will active, but primary LAN NOT active. E.g "eth0" inactive, but "eth0.2" active. > > I have been tried several ways, but never successful.The primary interface has to be up, but it doesn't need to have an IP address assigned. If it does, it would be for the 'native' (untagged) vlan. -- Les Mikesell lesmikesell at gmail.com
mcclnx mcc wrote:> we would like setup VLAN on CENTOS 5.X and 4.x. Only VLAN will active, but primary LAN NOT active. E.g "eth0" inactive, but "eth0.2" active. > > I have been tried several ways, but never successful. > > Any ideal?I have a host that is running IPv6 on a number of VLANs on eth1, as it is my RADVD server. There is no addressing on the 'default' VLAN: ifcfg-eth1: # Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 DEVICE=eth1 BOOTPROTO=none HWADDR=00:50:8B:A5:17:0B IPV6INIT=yes IPV6_AUTOCONF=no ONBOOT=yes DHCP_HOSTNAME=xxx.htt-consult.com VLAN=yes Whereas ifcfg-eth1.11: # Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 DEVICE=eth1.11 BOOTPROTO=none IPV6INIT=yes IPV6_AUTOCONF=no ONBOOT=yes VLAN=yes IPV6ADDR="nnnn:nnnn:3:0::180"