OpenVZ Forum


Home » General » Support » vlan networking problem
Re: vlan networking problem [message #2278 is a reply to message #2273] Tue, 28 March 2006 07:31 Go to previous message
cleavoy is currently offline  cleavoy
Messages: 3
Registered: March 2006
Junior Member
Well its working now and my source routing problem is fixed too. cat /proc/net/vlan/config no longer seg faults. I suspect it was fixed in either the updates to centos 4.3 (from 4.2) or to openvz kernel 2.6.8-022stab072.2 (from 70.1)

One other thing, if anyone has this problem:

Mar 28 01:47:33 storm ifup: e100 device eth0.0 does not seem to be present, delaying initialization.
Mar 28 01:47:33 storm network: Bringing up interface vlan0: failed

I had to hack /etc/sysconfig/network-scripts/ifup to fix support for vlan id 0. Maybe there is support for vid 0, but for whatever reason its not working with my config. If i do vconfig add eth0 0 then ifup eth0.0 it works fine. But i needed this dirty patch for it to work on startup. Maybe someone with better knowledge of the initscripts can check into this.

Search for,
if [ -n "$VID" ]; then
add this above it,
if [ "$DEVICE" == "eth0.0" ]; then
VID="0"
fi

----
For reference:

[root@storm etc]# grep eth0 modprobe.conf
alias eth0 e100
alias eth0.0 e100
alias eth0.1 e100
alias eth0.2 e100

[root@storm sysconfig]# cat network
NETWORKING=yes
HOSTNAME=storm.dawn.local
VLAN=yes

[root@storm network-scripts]# cat ifcfg-vlan0
DEVICE=eth0.0
IPADDR=192.168.77.2
NETMASK=255.255.255.0
ONBOOT=yes
TYPE=Ethernet
BOOTPROTO=none
USERCTL=no
IPV6INIT=no
PEERDNS=yes

-- Chris
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Missing File
Next Topic: *SOLVED* VPS Reboot
Goto Forum:
  


Current Time: Thu Sep 12 03:31:29 GMT 2024

Total time taken to generate the page: 0.05313 seconds