Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, There is a route entry in my netstat -rn output and I cannot delete it using route delete net <network> <gateway> command. I googled a bit, there is similar problems but no solutions. I also tried to delete it by deleting all routes using flush option without success. Any opinions?
Already tried every possible way to delete the route without success. I am getting "gateway not in table" error. But I see it in routing table. I also tried route -p flush but after reboot route appears in table again...
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
This one isn't a route to a router (a.k.a gateway).
Why do you want to delete this route which is the only way for your machine to communicate with the network ?
As I was trying to communicate to global zone (IP:10.5.3.1) from local zone (IP:192.168.0.1), I set up this entry in routing table. Then I see it is not what I wanted so I just tried to get rid of it. This is a test machine and I want to delete this route entry, I don't care if my net goes down I am confused why I cannot delete it?
Anyway, you can't directly communicate between 10.5.3.1 to 192.168.0.1, you need IPs on the same network on each connected zones.
Are you sure about that? I read some posts (1) about routing between local and global zones in different subnets is possible.
Anyway forget about zones, I want to get rid of that entry in routing table is this possible in any way? I am ready to reinstall the OS because of this
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Quote:
Originally Posted by scoban
Are you sure about that?
This is basic TCP/IP by design. Two machines can directly communicate only when they are on the same (sub)network. As far as networking is concerned, zones are considered as different machines even while they share the same TCP/IP stack (Latest Solaris Express allows separate stacks).
Quote:
I read some posts (1) about routing between local and global zones in different subnets is possible.
May be. I'm skeptical about the interest of such hacks if at all possible.
Quote:
Anyway forget about zones, I want to get rid of that entry in routing table is this possible in any way?
I doubt you can, and that would make your interface useless anyway.
Quote:
I am ready to reinstall the OS because of this
In my opinion, that wouldn't remove that route which is hardcoded.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.