Re: "ifconfig -vlandev" syntax

2005-10-04 Thread Yar Tikhiy
On Sun, Sep 25, 2005 at 11:08:25PM +0100, Gavin Atkinson wrote: > > There's also the issue that the "vlan" and "vlandev" options have to be > specified in that order, which is counter-intuitive and undocumented. I've committed a change to ifconfig(8) that makes the order arbitrary. Please test i

Re: "ifconfig -vlandev" syntax

2005-09-29 Thread Yar Tikhiy
On Thu, Sep 29, 2005 at 10:28:36AM +0200, Ragnar Lonn wrote: > Yar Tikhiy wrote: > >On Sun, Sep 25, 2005 at 02:37:41PM -0700, Brooks Davis wrote: > >>On Thu, Sep 22, 2005 at 02:41:05PM +0400, Yar Tikhiy wrote: > >> > >>>As our ifconfig(8) is growing more options for special interface > >>>types, in

Re: "ifconfig -vlandev" syntax

2005-09-29 Thread Ragnar Lonn
Yar Tikhiy wrote: On Sun, Sep 25, 2005 at 02:37:41PM -0700, Brooks Davis wrote: On Thu, Sep 22, 2005 at 02:41:05PM +0400, Yar Tikhiy wrote: As our ifconfig(8) is growing more options for special interface types, inconsistencies sneak into their syntax. In particular, -vlandev takes a

Re: "ifconfig -vlandev" syntax

2005-09-28 Thread Bernd Walter
On Wed, Sep 28, 2005 at 03:05:25PM +0400, Yar Tikhiy wrote: > On Wed, Sep 28, 2005 at 12:57:42PM +0200, Bernd Walter wrote: > > On Wed, Sep 28, 2005 at 02:32:41PM +0400, Yar Tikhiy wrote: > > > On Mon, Sep 26, 2005 at 12:54:33AM +0200, Bernd Walter wrote: > > > > > > > What doesn't work is this: >

Re: "ifconfig -vlandev" syntax

2005-09-28 Thread Yar Tikhiy
On Wed, Sep 28, 2005 at 12:57:42PM +0200, Bernd Walter wrote: > On Wed, Sep 28, 2005 at 02:32:41PM +0400, Yar Tikhiy wrote: > > On Mon, Sep 26, 2005 at 12:54:33AM +0200, Bernd Walter wrote: > > > On Sun, Sep 25, 2005 at 11:08:25PM +0100, Gavin Atkinson wrote: > > > > > > > > Also, you can't set bo

Re: "ifconfig -vlandev" syntax

2005-09-28 Thread Yar Tikhiy
On Sun, Sep 25, 2005 at 02:37:41PM -0700, Brooks Davis wrote: > On Thu, Sep 22, 2005 at 02:41:05PM +0400, Yar Tikhiy wrote: > > > > As our ifconfig(8) is growing more options for special interface > > types, inconsistencies sneak into their syntax. In particular, > > -vlandev takes a useless argu

Re: "ifconfig -vlandev" syntax

2005-09-28 Thread Bernd Walter
On Wed, Sep 28, 2005 at 02:32:41PM +0400, Yar Tikhiy wrote: > On Mon, Sep 26, 2005 at 12:54:33AM +0200, Bernd Walter wrote: > > On Sun, Sep 25, 2005 at 11:08:25PM +0100, Gavin Atkinson wrote: > > > > > > Also, you can't set both the vlan and IP address information: > > > leeloo# ifconfig vlan14 vl

Re: "ifconfig -vlandev" syntax

2005-09-28 Thread Yar Tikhiy
On Sun, Sep 25, 2005 at 11:08:25PM +0100, Gavin Atkinson wrote: > > There's also the issue that the "vlan" and "vlandev" options have to be > specified in that order, which is counter-intuitive and undocumented. > > leeloo# ifconfig vlan14 vlandev fxp0 vlan 14 > ifconfig: must specify both vlan t

Re: "ifconfig -vlandev" syntax

2005-09-28 Thread Yar Tikhiy
On Mon, Sep 26, 2005 at 12:54:33AM +0200, Bernd Walter wrote: > On Sun, Sep 25, 2005 at 11:08:25PM +0100, Gavin Atkinson wrote: > > > > Also, you can't set both the vlan and IP address information: > > leeloo# ifconfig vlan14 vlan 14 vlandev fxp0 inet W.X.Y.Z netmask > > 255.255.255.0 > > ifconfi

Re: "ifconfig -vlandev" syntax

2005-09-25 Thread Bernd Walter
On Sun, Sep 25, 2005 at 11:08:25PM +0100, Gavin Atkinson wrote: > On Sun, 2005-09-25 at 14:37 -0700, Brooks Davis wrote: > > On Thu, Sep 22, 2005 at 02:41:05PM +0400, Yar Tikhiy wrote: > > > Hi folks, > > > > > > As our ifconfig(8) is growing more options for special interface > > > types, inconsi

Re: "ifconfig -vlandev" syntax

2005-09-25 Thread Gavin Atkinson
On Sun, 2005-09-25 at 14:37 -0700, Brooks Davis wrote: > On Thu, Sep 22, 2005 at 02:41:05PM +0400, Yar Tikhiy wrote: > > Hi folks, > > > > As our ifconfig(8) is growing more options for special interface > > types, inconsistencies sneak into their syntax. In particular, > > -vlandev takes a usele

Re: "ifconfig -vlandev" syntax

2005-09-25 Thread Brooks Davis
On Thu, Sep 22, 2005 at 02:41:05PM +0400, Yar Tikhiy wrote: > Hi folks, > > As our ifconfig(8) is growing more options for special interface > types, inconsistencies sneak into their syntax. In particular, > -vlandev takes a useless argument (vlan(4) cannot attach to more > than one parent anyway

Re: "ifconfig -vlandev" syntax

2005-09-22 Thread Yar Tikhiy
On Thu, Sep 22, 2005 at 01:54:21PM +0300, Justas Jakubauskas wrote: > > > -vlandev takes a useless argument (vlan(4) cannot attach to more > > than one parent anyway) while, e.g., -carpdev doesn't need one. > > And how system should know, to which device attach your vlan ? "-vlandev" is for _det

Re: "ifconfig -vlandev" syntax

2005-09-22 Thread Justas Jakubauskas
> -vlandev takes a useless argument (vlan(4) cannot attach to more > than one parent anyway) while, e.g., -carpdev doesn't need one. And how system should know, to which device attach your vlan ? ___ freebsd-net@freebsd.org mailing list http://lists.f