I had a perfectly working system, rebooted, network scripts suddenly began failing. Not sure why. This is actually a server, not a desktop, so there are no complicated networking GUIs and whatnot, and no wireless.
eth0 is a standard L3 interface and works fine:
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 0c:c4:7a:6e:a5:04 brd ff:ff:ff:ff:ff:ff inet 172.16.3.213/25 brd 172.16.3.255 scope global eth0 valid_lft forever preferred_lft forever inet6 fe80::332:b96c:8e58:cccb/64 scope link valid_lft forever preferred_lft forever
/etc/init.d/net.eth0 -> netif.tmpl /etc/conf.d/net.eth0 template=dhcpcd
eth1 is a trunked vlan interface -- this is the one that quit working:
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 0c:c4:7a:6e:a5:05 brd ff:ff:ff:ff:ff:ff inet6 fe80::ec4:7aff:fe6e:a505/64 scope link
/etc/init.d/net.eth1 -> netif.tmpl /etc/init.d/net.eth1.1500 -> netif.tmpl /etc/init.d/net.eth1.2 -> netif.tmpl
/etc/conf.d/net.eth1.1500 template="interface" trunk="net.eth1" vlan="1500" ipaddr="172.16.5.1/25" nameservers="172.16.3.1" domain="whatever.org"
/etc/conf.d/net.eth1.2 template="interface" trunk="net.eth1" vlan="2" ipaddr="172.16.6.1/25" nameservers="18.104.22.168" domain="whatever.org"
net.eth1 starts like it should. But the vlan interfaces are now complaining about this. I guess I don't understand what the service is that it's looking for:
service net.eth1.2 start * ERROR: net.eth1.2 needs service(s) netif.net.eth1 service net.eth1.1500 start * ERROR: net.eth1.1500 needs service(s) netif.net.eth1
even though the eth1 interface is started:
service net.eth1 start * WARNING: net.eth1 has already been started
As I mentioned this had been working and survived a number of reboots. I am not sure why this is happening, I haven't done anything to the networking for quite a while.
Any help is greatly appreciated (-: