On Tue, 9 Aug 2016 18:49:20 -0400 Dan McDonald <dan...@omniti.com> wrote:
> Can't use Linux network configuration. Use /native/sbin/ipadm and > /native/sbin/route. (You will also need to add those to some sort of boot > script in-zone for now.) > > /native/sbin/ipadm create-addr -t -T static -a <addr>/<prefix> lx0/v4 > > Dan > But using the deprecated way works? root@localhost:~# ifconfig lx0 10.0.3.130 netmask 255.255.255.0 up root@localhost:~# ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MULTICAST MTU:8232 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) lx0 Link encap:Ethernet HWaddr 02:08:20:76:8f:0c inet addr:10.0.3.130 Bcast:10.255.255.255 Mask:255.255.255.0 inet6 addr: fe80::8:20ff:fe76:8f0c/10 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:250 errors:0 dropped:0 overruns:0 frame:0 TX packets:88 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1 RX bytes:39243 (38.3 KiB) TX bytes:8836 (8.6 KiB) Ping Omnios # ping 10.0.3.20 PING 10.0.3.20 (10.0.3.20) 56(84) bytes of data. 64 bytes from 10.0.3.20: icmp_seq=1 ttl=255 time=0.178 ms 64 bytes from 10.0.3.20: icmp_seq=2 ttl=255 time=0.083 ms but I cannot configure default route? # ping -c 3 8.8.8.8 connect: Network is unreachable root@localhost:~# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.0.3.0 0.0.0.0 255.255.255.0 U 0 0 0 lx0 root@localhost:~# route add default gw 10.0.3.254 lx0 SIOCADDRT: Operation not supported root@localhost:~# ip route add 10.0.3.254/24 dev lx0 RTNETLINK answers: Unknown error -122 root@localhost:~# ip route add 10.0.3.0/24 via 10.0.3.254 RTNETLINK answers: Unknown error -122 -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael <at> rasmussen <dot> cc http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E mir <at> datanom <dot> net http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C mir <at> miras <dot> org http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917 -------------------------------------------------------------- /usr/games/fortune -es says: Referring to a book: I read part of it all the way through. -- Samuel Goldwyn
pgpj976cfI440.pgp
Description: OpenPGP digital signature
_______________________________________________ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss