You’ll have to rewrite your /usbkey/config

Something like this:




```


admin_nic=8:0:27:ad:1b:80

admin_ip=192.168.1.5

admin_netmask=255.255.255.0

admin_network=...

admin_gateway=192.168.1.1

```




I guessed the gateway address…




On the other side - if you don’t have any valuable data inside the SmartOS 
install I would recommend to just do a reinstall.







—

Daniel




—
Daniel

On Tue, Dec 30, 2014 at 1:05 PM, Ganapathy S A via smartos-discuss
<[email protected]> wrote:

> I've configured my network as dhcp during initialization of SmartOS setup.
> How could this be changed to static? SmartOS build 20141225T170427Z running
> as a vbox vm under linux mint 17.
> [root@cloud4r ~]# ifconfig -a
> lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232
> index 1
>         inet 127.0.0.1 netmask ff000000
> e1000g0: flags=1004943<UP,BROADCAST,RUNNING,PROMISC,MULTICAST,DHCP,IPv4>
> mtu 1500 index 2
>         inet 192.168.1.5 netmask ffffff00 broadcast 192.168.1.255
>         ether 8:0:27:ad:1b:80
> lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252
> index 1
>         inet6 ::1/128
> [root@cloud4r ~]# dladm show-phys
> LINK         MEDIA                STATE      SPEED  DUPLEX    DEVICE
> e1000g0      Ethernet             up         1000   full      e1000g0
> [root@cloud4r ~]# dladm show-ether
> LINK            PTYPE    STATE    AUTO  SPEED-DUPLEX
> PAUSE
> e1000g0         current  up       yes   1G-f                            bi
> [root@cloud4r ~]# dladm show-link
> LINK        CLASS     MTU    STATE    BRIDGE     OVER
> e1000g0     phys      1500   up       vmwarebr   --
> vmwarebr0   bridge    1500   up       --         e1000g0
> net0        vnic      1500   ?        --         e1000g0
> net0        vnic      1500   ?        --         e1000g0
> [root@cloud4r ~]# dladm show-vnic
> LINK         OVER       SPEED MACADDRESS        MACADDRTYPE VID  ZONE
> net0         e1000g0    0     62:82:43:a0:f8:5a fixed       0
> 06772d72-fdac-442d-b2d1-67d21cd8a2c8
> net0         e1000g0    0     92:a7:1e:94:29:83 fixed       0
> d83c7e3b-edeb-47dc-ad53-da8f48b487db
> [root@cloud4r ~]# dladm show-bridge
> BRIDGE      PROTECT ADDRESS            PRIORITY DESROOT
> vmwarebr    stp     32768/8:0:27:ad:1b:80 32768 32768/8:0:27:ad:1b:80
> Any help is much appreciated
> ​​
> ​Thanks & ​
> R
> ​​
> egards,
> Ganapathy
> -------------------------------------------
> smartos-discuss
> Archives: https://www.listbox.com/member/archive/184463/=now
> RSS Feed: https://www.listbox.com/member/archive/rss/184463/21955186-c7d24c67
> Modify Your Subscription: https://www.listbox.com/member/?&;
> Powered by Listbox: http://www.listbox.com


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to