Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ssh zone

User_W3CSAMar 15 2019 — edited Mar 18 2019

hi,

i understand that in Solaris 11 the vnic role in a zone is to connect the zone with other zone or with outside through a virtual bridge.right?

each vnic requires a different physical card.right?

zonecfg -z y9 info

zonename: y9

zonepath: /rpool/zone/y9

brand: solaris10

anet:

        linkname: net1

        allowed-address: 192.168.42.5

        configure-allowed-address: true

        defrouter: 192.168.42.2

        link-protection: "mac-nospoof, ip-nospoof"

        auto-mac-address: 2:8:20:84:13:fb

root@solaris:~# dladm show-phys

LINK            MEDIA         STATE      SPEED  DUPLEX    DEVICE

net0            Ethernet      up         1000   full      e1000g0

net1            Ethernet      up         1000   full      e1000g1

root@solaris:~# ipadm show-if

IFNAME     CLASS    STATE    ACTIVE OVER

lo0        loopback ok       yes    --

net0       ip       ok       yes    --

net1       ip       down     no     --

root@solaris:~# ipadm show-addr

ADDROBJ           TYPE     STATE        ADDR

lo0/v4            static   ok           127.0.0.1/8

net0/v4           dhcp     ok           192.168.42.135/24

lo0/v6            static   ok           ::1/128

net0/v6           addrconf ok           fe80::20c:29ff:fe4f:c16d/10

root@solaris:~# dladm show-link

LINK                CLASS     MTU    STATE    OVER

net0                phys      1500   up       --

net1                phys      1500   up       --

y9/net1             vnic      1500   up       net0

i can not connect by ssh to 192.168.42.5 from my laptop but i can coonect from global zone.

where the zone

zlogin y9 ifconfig -a

net1: flags=140001000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,L3PROTECT,PHYSRUNNING> mtu 1500 index 2

        inet 192.168.42.5 netmask ff000000 broadcast 192.255.255.255

zoneadm list -cv

  ID NAME             STATUS      PATH                         BRAND      IP

   0 global           running     /                            solaris    shared

   1 y9               running     /rpool/zone/y9               solaris10  excl

tnx

This post has been answered by Marcel Hofstetter JomaSoft on Mar 15 2019
Jump to Answer
Comments
Post Details
Added on Mar 15 2019
3 comments
218 views