# [OmniOS-discuss] Zone network fails to work.

Andries Annema an3s.annema at gmail.com
Thu Sep 15 18:15:05 UTC 2016

- Previous message: [OmniOS-discuss] Zone network fails to work.
- Next message: [OmniOS-discuss] CVE-2016-7167 in curl now fixed
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Hi Richard,

    About two years ago I bumped into the same, or at least a similar,
    problem on my brand new r151014 rig: the system was able to ping hosts
    on the same network segment, but a ping to my router/gateway resulted in
    "no answer from <router> / Unknown host".

    In my notes from back then I find that I ended up in verifying the arp
    cache by entering:

    # arp -a

    The resulting list did not show the router, so I added it manually:

    # arp -s <router IP> <router MAC>

    A page that might shed some more light on the matter:
    https://www.petri.com/csc_arp_cache

    I have no clue as to why a single host on the local network would not
    show up in that arp table while others would, but back then the above
    solved my problem. Haven't had the issue since then, so it might be
    worth giving it a try.
    If it doesn't help you, then I hope someone who really knows the ins and
    outs of networking is listening in. :-)

    Regards,
    Andries

    On 2016-09-12 22:35, Richard Skelton wrote:
    > Sorry in my haste I posted fred not fred5
    > See corrections below :-)
    >
    > Richard Skelton wrote:
    >> Hi,
    >> I have a Sun X4170 with igb network.
    >> I am using omnios-r151018-ae3141d
    >> Here are my steps to create a zone called fred5 :-
    >> dladm show-phys
    >> LINK         MEDIA                STATE      SPEED  DUPLEX    DEVICE
    >> usbecm0      Ethernet             down       10     full      usbecm0
    >> igb2         Ethernet             unknown    0      half      igb2
    >> igb0         Ethernet             up         1000   full      igb0
    >> igb3         Ethernet             unknown    0      half      igb3
    >> igb1         Ethernet             unknown    0      half      igb1
    >>
    >>
    >> dladm create-vnic -l igb0 fred5
    >> zfs create -o mountpoint=/zones rpool/zones
    >>
    >> /usr/sbin/zonecfg -z fred5
    >>
    >> create
    >> set zonepath=/zones/fred5
    >> set autoboot=true
    >> set limitpriv=default,dtrace_proc,dtrace_user
    >> set ip-type=exclusive
    >> add net
    >> set physical=fred5
    >> end
    >> verify
    >> commit
    >> exitz
    >> oneadm -z fred5 install
    >> zoneadm -z fred5 boot
    >> zlogin -e+ -C fred5
    >>
    >> dladm show-vnic
    >> LINK         OVER         SPEED  MACADDRESS        MACADDRTYPE         VID
    >> fred5      ?            1000   2:8:20:f4:52:49   random              0
    >>
    >> ipadm create-if fred5
    >>
    >> ipadm create-addr -T static -a 192.168.240.214/24 fred5/v4static
    >> route -p add default 192.168.240.254
    >>
    >> ping 192.168.240.214
    >> 192.168.240.214 is alive
    >> ping 192.168.240.254
    >> no answer from 192.168.240.254
    >>
    >>
    >> ifconfig
    >> lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu
    >> 8232 index 1
    >>      inet 127.0.0.1 netmask ff000000
    >> fred5: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
    >>      inet 192.168.240.214 netmask ffffff00 broadcast 192.168.240.255
    >>      ether 2:8:20:f4:52:49
    >> lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu
    >> 8252 index 1
    >>      inet6 ::1/128
    >> fred5: flags=20002000840<RUNNING,MULTICAST,IPv6> mtu 1500 index 2
    >>      inet6 ::/0
    >>      ether 2:8:20:f4:52:49
    >>
    >>
    >> What am I missing :-(
    >>
    >> Cheers
    >> Richard
    >> _______________________________________________
    >> OmniOS-discuss mailing list
    >> OmniOS-discuss at lists.omniti.com
    >> http://lists.omniti.com/mailman/listinfo/omnios-discuss
    >>
    > _______________________________________________
    > OmniOS-discuss mailing list
    > OmniOS-discuss at lists.omniti.com
    > http://lists.omniti.com/mailman/listinfo/omnios-discuss

- Previous message: [OmniOS-discuss] Zone network fails to work.
- Next message: [OmniOS-discuss] CVE-2016-7167 in curl now fixed
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

More information about the OmniOS-discuss mailing list