# [OmniOS-discuss] Renaming an interface

Andy Fiddaman omnios at citrus-it.net
Tue Dec 19 22:27:34 UTC 2017

- Previous message: [OmniOS-discuss] Renaming an interface
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    On Tue, 19 Dec 2017, Software Information wrote:

    ; Hi All
    ; I tried to rename an interface with the command *dladm rename-link e1000g0
    ; net0*
    ; and I got the error *rename operation failed: link busy. *This happens even
    ; after I down or disable the interface either with* ifconfig e1000g0* down
    ; or *ipadm disable-addr -t e1000g0/v4*
    ;
    ; How can I work around this issue or is it something I am overlooking?

    You will have to delete both the address and the interface via ipadm.

    For example:

    ipadm delete-addr e1000g0/v4
    ipadm delete-if e1000g0
    dladm rename-link e1000g0 net0
    ipadm create-if net0
    ipadm create-addr -T static -a local=x.x.x.x/xx net0/v4

    Regards,

    Andy

    --
    Citrus IT Limited | +44 (0)333 0124 007 | enquiries at citrus-it.co.uk
    Rock House Farm | Green Moor | Wortley | Sheffield | S35 7DQ
    Registered in England and Wales | Company number 4899123

- Previous message: [OmniOS-discuss] Renaming an interface
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

More information about the OmniOS-discuss mailing list