솔라리스 호스트 정적경로설정하기
Example:
You want to add a static route to network 192.168.16.0 to your default gateway of 10.236.74.1
#route add –net 10.39.0.0/16 10.30.1.252
then create a script, so that when the system rebooted the route will automatically added
#cd /etc/rc2.d
#vi S168staticroute
Add the following line
route add –net 10.39.0.0/16 10.30.1.252
You want to add a static route to host 192.168.64.4 to your default gateway of 10.236.74.1
#route add 192.168.64.4 10.236.74.1
then create a script, so that when the system rebooted the route will automatically added
#cd /etc/rc2.d
#vi S168staticroute
Add the following line
route add 192.168.64.4 10.236.74.1
You want to delete the static route to network 192.168.16.0 to your default gateway of 10.236.74.1
#route delete –net 192.168.16.0 10.236.74.1
You want to delete the static route to host 192.168.64.4 to your default gateway of 10.236.74.1
#route delete 192.168.64.4 10.236.74.1
'전력통신' 카테고리의 다른 글
공사원가 작성요령 (0) | 2009.04.25 |
---|---|
모뎀에 관한 표준... (0) | 2009.04.25 |
4선식 전용회선 모뎀 메뉴얼.... (0) | 2009.04.25 |
csu 매뉴얼... (0) | 2009.02.24 |
111 (0) | 2008.08.27 |