Re: How do I apply a VLAN id to all packets in a certain interface?

Peter Stuge <[email protected]> Fri, 4 Aug 2006 14:07:51 +0200
Newsgroups gmane.linux.drivers.vlan
Message-ID <[email protected]>
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