As of Solaris 10 10/09, when a zone stops, the default route is not deleted. Default routes on the same datalink and IP subnet are shared across non-global zones. If a non-global zone is on the same datalink and subnet as the global zone, default route(s) configured for one zone will apply for all other zones on that datalink and IP subnet.
As of Solaris 10 10/09, when a zone stops, the default route is not deleted. Default routes on the same datalink and IP subnet are shared across non-global zones. If a non-global zone is on the same datalink and subnet as the global zone, default route(s) configured for one zone will apply for all other zones on that datalink and IP subnet. Mar 29, 2009 · This my first post on Solaris on my LinuxNIX(NIX is nothing but UNIX all flavors). Creating routes in Solaris: Basic Sun Solaris routing Add a route to a network#route add net network default-gateway Example #route add net 5.23.1.0 1.9..9.1 Add a default route.#route add default default-gateway Example #route add default 1.9.9.1 […] Mar 23, 2010 · The Solaris route command enables manual manipulation of the route table. The routing table contains a list of networks that the router knows it can send packets to, and states over which link to send the packets. ip route add blackhole 192.168.0.200/32. Nullrouting on Solaris. route add -host 192.168.0.200 127.0.0.1 -blackhole route add -net 192.168.0.0/24 127.0.0.1 -blackhole. Nullrouting on Windows. Windows XP/Vista/7 does not support reject or blackhole arguments via route, thus an unused IP address (e.g. 192.168.0.205) must be used as the target
Oct 18, 2011 · To setup static routing on Solaris 10 systems, just create your own /etc/rc*.d/S*script containing the “route add” invocations desired or create a transient SMF service that adds routes at boot time as shown in the following two options. Option 1: Create a new startup script in /etc/rc2.d directory say S99Networkroutes and then in that file
Jul 25, 2018 · To make the routing information persistent, add the “route add” line as seen above into the /etc/rc.local file. Sample /etc/rc.local file. #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don’t # want to do the full Sys V style init stuff. To add a Static Route in Sun Solaris operating system, you can use the route command. This will dynamically update the Kernel IP Routing table. However, when a server is restarted, these routes will be lost. To prevent this from happening, add a startup script S76static-routes with all the route commands for the static route that needs to persist. For the Solaris route command, the delete, and add, sub-commands have the following syntax: route [ -fnvq ] cmd destination gateway [metric/netmask] So you probably have more success with: route delete 10.250.0.0 10.250.0.37 -netmask 255.255.255.0 Or to remove it permanently (as commented by @Alexandre Alves; assuming this was a permanent route): This would the command on Solaris 10: route add 192.168.1.32 192.168.1.42 -interface You don't need to add the interface name after the argument -interface because the IP address 192.168.1.42 is already implicitly saying to use hme1. Regards,
Mar 29, 2009 · This my first post on Solaris on my LinuxNIX(NIX is nothing but UNIX all flavors). Creating routes in Solaris: Basic Sun Solaris routing Add a route to a network#route add net network default-gateway Example #route add net 5.23.1.0 1.9..9.1 Add a default route.#route add default default-gateway Example #route add default 1.9.9.1 […]
Jun 09, 2009 · i just want to add one static route for new ip segment in solaris 9 but it's not working. root@server# route add 192.168.48.0 -netmask 255.255.255.128 10.235.20.2 add net 192.168.48.0: gateway 10.235.20.2: Network is unreachable But i can able to ping 10.235.20.2 from my server. Can someone help me on this issue. Becouse you have direct connections to network 192.168.120.0 via interface aggr2 192.168.120.91, so solaris automaticaly add route record for this network. This network not required additinal routing record. In case you can not ping hosts from 192.168.120.0, check VLAN access list and other netowrk settings.