[VLAN] How do I apply a VLAN id to all packets in a certain interface?

Peter Stuge stuge-vlan at cdy.org
Fri Aug 4 05:07:51 PDT 2006


Hi,

On Fri, Aug 04, 2006 at 09:37:40AM +1000, Joel Pearson wrote:
> Thanks for this. Is "ip l s dev eth1 up" the equivalent of ifconfig
> eth1 up?

Right. It's short for ip link set dev eth1 up.

ip and tc are the prefered tools for controlling the Linux networking
stack, they allow finer and more complete control of the many
parameters available.

For basic use ifconfig and route will still work, but I don't know
when they will stop being commonplace.


//Peter


More information about the Vlan mailing list