First of all i have to admit - i am a complete newbie when it comes to Linux/Unix. I don't know cli stuff unless it's documented and generally do everything from Yast.
Having said that (if you haven't clicked the back button) i'm trying to get VLAN trunking to work on our SLES box. As i understand it, the version of YaST in SLES 10 doesn't have the VLAN config stuff in it. You have to edit the actual icfg files. Here is what i've got so far.
We've got the 4 NIC's in the server. Two are 1GB (onboard) and the other two are 10GB ports (one card). We are only using one port on the 10GB (eth2) card. The card is installed, have the latest drivers, and it actually works when the port it is connected to isn't a trunk port (ie; if the port is an "access" port everything works, but the port needs to be trunk so we can talk over the 10GB to the other VLAN's).
Ok - so the hardware is there and it is known working. What's the problem right? Well, getting it all to actually work is the problem. I'm reading two documents that outline the process and neither seems to work completely.
Cool Solutions: VLAN Configuration in SLES 10
Set up 802.1q VLANs on SUSE Linux Enterprise Server
As it stands i have in /etc/sysconfig/network i have the following files/configs:
ifcfg-eth-id-MACADDRESS
NAME='NetXen Ethernet Controller'
STARTMODE='auto'
UNIQUE='mY_N.eVS89e49034'
_nm_name='bus-pci-0000:4f:00.0'
PREFIXLEN=''
BOOTPROTO='static'
BROADCAST=''
ETHOOL_OPTIONS=''
IPADDR=''
MTU='8900'
NETMASK='255.255.255.0'
NETWORK=''
REMOTE_IPADDR=''
USERCONTROL='no'
ifcfg-vlan161
ETHERDEVICE='eth2'
IPADDR='IP removed, but it is defined here'
NETMASK='255.255.255.0'
NAME='VLAN ADAPTER'
NETWORK=''
BROADCAST=''
STARTMODE='auto'
VLAN='YES'
BOOTPRO='static'
ETHTOOL_OPTIONS=''
MTU='8900'
REMOTE_IPADDR=''
USERCONTROL='no'
PREFIXLEN=''
routes
default ourgatewayishere - -
From what i've read, you aren't (in the links above) you are supposed to define the settings on the ifcfg of the VLAN, not the actual device. Also i've read that the gateway should not be defined in either place, as it should be set in the routes file.
So with the above config if i do
rcnetwork restart
and then
ifup vlan161
everything works for about 30 seconds. In the GUI i can see the NIC connection icon (taskbar area) looking like it's trying to connect. Finally it says that it has accepted an automatic IP and my connections stop working.
I have tried all types of variations of this config to try to get this working. Does anyone see anything obvious that i am doing wrong? Any suggestions would be helpful. It's been that kind of day.
Thanks in advance everyone.