Ross wrote:
Hi there,

I've been playing with a new FB7.0 setup (using the standard iso
distribution), and trying to create some vlans by doing cloning via
the rc.conf "cloned_interfaces" command - but that fails.  (I'm using
bce interfaces on a HP bl760c blade, if that makes any difference)

Doing manual testing of "ifconfig xyz0 create" causes the error
"ifconfig: SIOCIFCREATE2: Invalid argument" error to come up and the
interface then doesn't get created.

what command are you using exactly? it certainly works here.

[EMAIL PROTECTED]
(20:30:15 <~>) 0 # ifconfig em1.5
ifconfig: interface em1.5 does not exist
[EMAIL PROTECTED]
(20:30:20 <~>) 0 # ifconfig em1.5 create
[EMAIL PROTECTED]
(20:30:25 <~>) 0 # ifconfig em1.5
em1.5: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=3<RXCSUM,TXCSUM>
        ether 00:07:e9:17:db:c9
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: em1
[EMAIL PROTECTED]
(20:30:26 <~>) 0 # ifconfig em1.5 destroy

Or

[EMAIL PROTECTED]
(20:30:55 <~>) 0 # ifconfig bge0.5 create
[EMAIL PROTECTED]
(20:31:04 <~>) 0 # ifconfig bge0.5
bge0.5: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=3<RXCSUM,TXCSUM>
        ether 00:e0:81:2d:a3:16
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        vlan: 5 parent interface: bge0
[EMAIL PROTECTED]
(20:31:16 <~>) 0 # ifconfig bge0.5 destroy
[EMAIL PROTECTED]
(20:31:20 <~>) 0 #

Vince

Has anyone gotten this error at all, and how did you get it resolved?

My digging further shows that a patch was committed to
src/sys/net/if_clone.c (rev 1.11) which adds a new argument for
parameter data to the if_clone_create() function.

But it looks like src/sys/net/if.c has not been updated to provide
this new parameter data to the if_clone_create function call, thereby
failing the call, and not setting the interface up.

Any help or pointing in the right direction would be appreciated!

Thanks,
  Ross.


_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to