Solaris / OpenSolarisThis forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.
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.
hi,
i want to enale ip_forwarding in solaris 8 container server. It throws below error , provide help to overcome this issue.
# ndd -set /dev/ip ip_forwarding 1
device name given is not a stream device (No such device or address)
# ndd -set /dev/ip ip_forwarding 1
open of /dev/ip failed: No such file or directory
hi,
i want to enale ip_forwarding in solaris 8 container server. It throws below error , provide help to overcome this issue.
# ndd -set /dev/ip ip_forwarding 1
device name given is not a stream device (No such device or address)
# ndd -set /dev/ip ip_forwarding 1
open of /dev/ip failed: No such file or directory
In Solaris 8 and later, IP forwarding can be enabled or disabled on a per interface basis. For example, if there are 3 hme NIC cards namely hme0,hme1,hme2 then assume, we allow IP Forwarding only from hme0 and disable on hme1 and hme2 then the following will help:
# ndd -set /dev/ip hme0:ip_forwarding 1
And the error you're getting is telling as well...you say it's a "container server"...is this running under a Solaris 10 container? VMware? What platform (SPARC? x86?). DOES the /dev/ip device exist, and can you get out to the network.
i already given info that, it is a solaris 8 sparc machine.i can set ip_forwarding noemally if it is not container server.
# ndd -set /dev/ip ip_forwarding 1
but it throws error in container servers.
# ndd -set /dev/ip ip_forwarding 1
device name given is not a stream device (No such device or address)
or
# ndd -set /dev/ip ip_forwarding 1
open of /dev/ip failed: No such file or directory
it is exclusive ip not shared ip. Sun container can have 6 servers, 3 servers are solaris 10 with different ip and 3 servers are solaris 8 with different ip. but problem is still there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.