# [OmniOS-discuss] LX for OmniOS update

Michael Rasmussen mir at miras.org
Tue Aug 9 22:59:53 UTC 2016

- Previous message: [OmniOS-discuss] LX for OmniOS update
- Next message: [OmniOS-discuss] LX for OmniOS update
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    On Tue, 9 Aug 2016 18:49:20 -0400
    Dan McDonald <danmcd at 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 at localhost:~# ifconfig lx0 10.0.3.130 netmask 255.255.255.0 up
    root at 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 at 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 at localhost:~# route add default gw 10.0.3.254 lx0
    SIOCADDRT: Operation not supported
    root at localhost:~# ip route add 10.0.3.254/24 dev lx0
    RTNETLINK answers: Unknown error -122
    root at 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
    -------------- next part --------------
    A non-text attachment was scrubbed...
    Name: not available
    Type: application/pgp-signature
    Size: 181 bytes
    Desc: OpenPGP digital signature
    URL: <http://lists.omniti.com/pipermail/omnios-discuss/attachments/20160810/f4e6708a/attachment.bin>

- Previous message: [OmniOS-discuss] LX for OmniOS update
- Next message: [OmniOS-discuss] LX for OmniOS update
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

More information about the OmniOS-discuss mailing list