Paul,
Route manipulation is not presently supported by the rtnetlink or
ioctl emulation in the LX brand.
With that said, "ip route show" should be working.  Which SmartOS
version are you running? (uname -v)

Cheers,

-Patrick

On 22 September 2015 at 10:05, Paul Dunkler <[email protected]> wrote:
> Hi there,
> 
> just tried to change the default route from inside an lx branded zone.
> "ip route show" just shows me nothing - "route -n" is working finde and
> showing the current routing table:
> 
> [root@lx-centos6-20150819 ~]# ip route show
> [root@lx-centos6-20150819 ~]# route -n
> Kernel IP Routentabelle
> Ziel            Router          Genmask         Flags Metric Ref    Use
> Iface
>  .0.0.0         192.168.64.1    0.0.0.0         UG    0      0        0 eth0
>                 0.0.0.0         255.255.255.0   U     0      0        0 eth0
> 
> "ip route" modification commands doesn't seem to work at all. Tried
> different ways. Always giving an "Unknown error"
> 
> [root@lx-centos6-20150819 ~]# ip route del default
> RTNETLINK answers: Unknown error 18446744073709551494
> 
> [root@lx-centos6-20150819 ~]# route del default
> SIOCDELRT: Das Argument ist ungültig
> 
> [root@lx-centos6-20150819 ~]# ip route change default via 192.168.42.2 dev
> eth0
> RTNETLINK answers: Unknown error 18446744073709551494
> 
> Even just adding a static route doesn't seem to work fine
> 
> [root@lx-centos6-20150819 ~]# ip route add 192.168.1.235/32 dev eth0
> RTNETLINK answers: Unknown error 18446744073709551494
> 
> Am i doing something wrong?
> 
> —
> Best regards
> 
> Paul Dunkler
> 


-------------------------------------------
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

Reply via email to