That output shows your problem. See the explanation for "DUPLICATE" on the ifconfig(1M) man page.
Jerry On Tue, Sep 26, 2017 at 3:25 PM, Gareth Howell <gareth.how...@gmail.com> wrote: > I didn't know of the /native commands. > > lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu > 8232 index 1 > inet 127.0.0.1 netmask ff000000 > eth0: flags=44001000842<BROADCAST,RUNNING,MULTICAST,IPv4,DUPLICATE,L3PROTECT> > mtu 1500 index 2 > inet 172.29.12.16 netmask ffffff00 broadcast 172.29.12.255 > ether f2:c7:27:6a:a2:59 > lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu > 8252 index 1 > inet6 ::1/128 > eth0: flags=40002000841<UP,RUNNING,MULTICAST,IPv6,L3PROTECT> mtu 1500 > index 2 > inet6 fe80::f0c7:27ff:fe6a:a259/10 > ether f2:c7:27:6a:a2:59 > > > Gareth > > On 25 September 2017 at 20:43:55, Robert Mustacchi (r...@joyent.com) wrote: > >> On 9/24/17 0:49 , Gareth Howell wrote: >> >> Hi all >> I have an odd problem with a new Ubuntu lx-zone: the default nic won’t >> come >> UP. >> >> The server is running joyent_20161110T013148Z and the one has been built >> using >> >> 7b5981c4-1889-11e7-b4c5-3f3bdfc9b88b ubuntu-16.04 20170403 >> linux lx-dataset 2017-04-03 >> >> I have created several similar zones using this image and a common >> json template where I just change the name of the zone and the ip >> address. The json can be seen at https://pastebin.com/3eRnqAdW >> >> The zone gets created OK, but when I zlogin, ifconfig shows only the >> loopback interface. >> >> ifconfig -a shows >> >> https://pastebin.com/Brcd7sB1 >> >> As you can see, eth0 has an IP address and is showing traffic. >> >> ifconfig up eth0 returns "eth0: Host name lookup failure” >> >> >> Any ideas on how to debug this? >> >> >> What do you see when you run the native ifconfig -a which can be under >> /native? >> >> Thanks, >> Robert >> >> >> http://www.listbox.com >> > *smartos-discuss* | Archives > <https://www.listbox.com/member/archive/184463/=now> > <https://www.listbox.com/member/archive/rss/184463/21516906-2011406d> | > Modify > <https://www.listbox.com/member/?&> > Your Subscription <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