[[Email protected] ~] #route-N//View routing table (IP route can also be viewed)
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5B/6D/wKioL1UJIz2BNJSIAADxCxrUVGk757.jpg "title=" 01.jpg "alt=" Wkiol1ujiz2bnjsiaadxcxruvgk757.jpg "/>
[[Email protected] ~] #route Add default GW 10.77.50.1
[[Email protected] ~] #route add-net 10.77.78.0 netmask 255.255.255.0 GW 10.77.50.1
Add additional network segments
Check the status of the firewall
[Email protected] ~]#/etc/init.d/iptables status
Shut down/Turn on the firewall (immediate effect) each of the 2 methods
[[Email protected] ~] #service iptables Stop
[[email protected] ~]#/etc/init.d/iptables stop
[[Email protected] ~] #service iptables start
[[email protected] ~]#/etc/init.d/iptables start
Shut down/Turn on firewall (permanently off) after reboot takes effect
[[Email protected] ~] #chkconfig iptables off
[[Email protected] ~] #chkconfig iptables on
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5B/73/wKiom1UJJb_Dajx7AAFU6yK1BN0323.jpg "title=" 02.jpg "alt=" Wkiom1ujjb_dajx7aafu6yk1bn0323.jpg "/>
This article is from the "bit record to share with you" blog, please be sure to keep this source http://xkai20.blog.51cto.com/854040/1621840
centos5.5 adding static routes