ITPub博客

首页 > Linux操作系统 > Linux操作系统 > solaris 11 x64 network configuration

solaris 11 x64 network configuration

原创 Linux操作系统 作者:jackeyliliang 时间:2014-05-15 19:40:43 0 删除 编辑

	
# svcadm disable network/physical:nwam
# svcadm enable network/physical:default

dladm show-phys
LINK              MEDIA                STATE      SPEED  DUPLEX    DEVICE
net1              Ethernet             up         1000   full      xnf1
net2              Ethernet             up         1000   full      xnf2
net0              Ethernet             up         1000   full      xnf0
net3              Ethernet             up         1000   full      xnf3

dladm show-link
LINK                CLASS     MTU    STATE    OVER
net1                phys      1500   up       --
net2                phys      1500   up       --
net0                phys      1500   up       --
net3                phys      1500   up       --

ipadm show-if
IFNAME     CLASS    STATE    ACTIVE OVER
lo0        loopback ok       yes    --
net0       ip       ok       yes    --
net1       ip       ok       yes    --
net2       ip       ok       yes    --
net3       ip       ok       yes    --
ipadm create-ip net1
ipadm create-ip net2
ipadm create-ip net3

ipadm create-addr -T static -a 192.168.1.111/24 net1/v4
ipadm create-addr -T static -a 192.168.2.112/24 net2/v4
ipadm create-addr -T static -a 192.168.3.112/24 net3/v4

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26611303/viewspace-1162217/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: Linux common command
下一篇: Linux Profile order
请登录后发表评论 登录
全部评论

注册时间:2012-01-08

  • 博文量
    35
  • 访问量
    28274