route add not working in solaris 9 - LinuxQuestions.org
Apr 20, 2009 · It used to be that in order to add persistent static routes in Solaris, you had to whip up your own init script that manually ran ‘route add’. Starting back in Solaris 10 11/06, Sun finally gave us a better way to do it. From the route(1M) man page: If you wish to add or edit the Default Gateway or the Default Router in Sun Solaris, edit /etc/defaultrouter file and update the IP Address. One entry per line for one or more default gateways (very unlikely to have muktiple default gateways). This file is read at the boot time and hence the server needs to be rebooted for the changes to take Jul 25, 2018 · To add a new static route means to define yet another destination network as well as specify via which IP address and interface the packet should travel through in order to reach its destination. For example, let's add a static route to destination network 15.15.0.0/24 via 10.1.1.110 ip address and enp0s3 interface. HOWTO add a static route Gentoo Linux Wiki. What is a route. A route is a rule used by your kernel to determine how to get someplace on a network. This HOWTO covers IP routes (routes on an IP network) but there are other types of routable networks.
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.
2016-3-13 · [Solaris 10里如何修改broadcast]: hostname: loo 网卡名:pcn0 broadcast: 124.125.10.255 我需要把broadcast改成124.125.10.254 怎么做啊? 我输入 route add default gateway 124.125.10.254 结果提示 … solaris下,添加静态路由的方法 - 豆丁网
Add a route: route add net 128.50.3.0 bigbox ( you do need keyword net here) Use the "route add net" command with the -netmask option to make the route command to take the netmask specified on the command line route add net 192.168.68.0 128.50.1.250 1 -netmask 255.255.255.192 Add a default route: route add default 196.168.0.1
2015-3-8 · ifconfig eth0 10.75.9.48 netmask 255.255.255.0 route add default 10.75.9.1 ifconfig 和 route 都是 unix 命令,在 solaris 底下可能会有所不同,如果有错,请参看对应的 man 帮助做对应修改。 ip - Delete Static Routes on Solaris 10 - Unix & Linux 2020-5-21 · 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): UNIXサーバ Solaris Technical Park Solaris 逆引き … 2 days ago · # route -p add 192.168.1.0 192.168.1.100 routeコマンドで設定した内容はシステム終了時に消えてしまいますが、-pオプションを使用することでルーティング情報が保存されます。