Hi @ all,
i have checked the /etc/init.d/network-vlans Script and become following messages: Invalid action
The dubug output says:
(/var/ipfire/ethernet):/etc/init.d/network-vlans + CONFIG_FILE=/var/ipfire/ethernet/vlans + '[' -e /var/ipfire/ethernet/vlans ']' ++ /usr/local/bin/readhash /var/ipfire/ethernet/vlans + eval '#GREEN_VLAN_ID=20' BLUE_VLAN_ID=300 ORANGE_VLAN_ID=400 + action= + for interface in green0 blue0 orange0 + case "${interface}" in + PARENT_DEV= + VLAN_ID= + MAC_ADDRESS= + case "${action}" in + echo 'Invalid action: ' Invalid action: + exit 1
my vlans Setting is:
#GREEN_PARENT_DEV="eth0" #GREEN_VLAN_ID=20 #GREEN_MAC_ADDRESS="00:11:22:33:44:55" BLUE_PARENT_DEV="green0" BLUE_VLAN_ID=300 BLUE_MAC_ADDRESS="00:22:4D:84:A5:30" ORANGE_PARENT_DEV="green0" ORANGE_VLAN_ID=400 ORANGE_MAC_ADDRESS="00:22:4D:84:A5:40"
Whats wrong, any idea?
BG, Thomas
Am 13.06.2013 11:45, schrieb Michael Tremer:
On Tue, 2013-06-11 at 14:42 +0200, t.berthel@gmx.net wrote:
Step one: ############################### # /var/ipfire/ethernet/vlans ( see this for more details: http://wiki.ipfire.org/de/optimization/vlan/start#vlan_hw-zuweisung)
# reboot - ifconfig and ip link show said to me: nothing! no blue or orange interface generated.
Please post your configuration. When you run /etc/init.d/network-vlans manuelly, you should see error messages if there are any.
Step two: ############################### # check autostart for rc3.d for this script: http://git.ipfire.org/?p=ipfire-2.x.git;a=blob;f=src/initscripts/init.d/netw...
I dont see a symlink from rc3.d/ to ../init.d/network-vlans - network-vlans captured the vlans-config from here /var/ipfire/ethernet/vlans. Also, i created a S18rule with symlink to ../init.d/network-vlans.
The symlink you are searching for is to be found here: /etc/rc.d/rcsysinit.d/S91network-vlans
That's what my configuration looks like.
GREEN_PARENT_DEV=port0 GREEN_VLAN_ID=20 GREEN_MAC_ADDRESS=00:de:ad:be:ef:20 BLUE_PARENT_DEV=port0 BLUE_VLAN_ID=30 BLUE_MAC_ADDRESS=00:de:ad:be:ef:30 ORANGE_PARENT_DEV=port0 ORANGE_VLAN_ID=40 ORANGE_MAC_ADDRESS=00:de:ad:be:ef:40
I have a dual NIC. One port is dedicated for my internet connection (i.e. red0). The other port has all the virtual subnets on it.
-Michael
Documentation mailing list Documentation@lists.ipfire.org http://lists.ipfire.org/mailman/listinfo/documentation