the above command adds a interface eth0.47 which will have
encapsulation of 802.1q, if you get any errors when you give the
command, most probably it will be that the vlan module has not been
loaded, on slitaz we load it like this
modprobe 8021q
then you try again and you should not get any errors, after that all you have to do is
ifconfig eth0.47 up
and confirm that the interface is up with the ifconfig command.
there you have it, slitaz linux router on a stick.
notes: for linux to act as a router , you have type in the following command
echo 1 > /proc/sys/net/ipv4/ip_forward
also i add 8021q to the modules section in /etc/rcS.conf
It looks like you're new here. If you want to get involved, click one of these buttons!