리눅스 분류
static routing 저장문제
작성자 정보
- 홍석범 작성
- 작성일
컨텐츠 정보
- 2,765 조회
- 0 추천
- 목록
본문
안녕하세요... 씨디네트웍스 홍석범입니다.
/etc/rc.d/init.d/network 파일을 보시면 아래와 같은 부분이 있습니다.
# Add non interface-specific static-routes.
if [ -f /etc/sysconfig/static-routes ]; then
grep "^any" /etc/sysconfig/static-routes | while read ignore args ; do
/sbin/route add -$args
done
fi
즉, /etc/sysconfig/static-routes 파일을 생성하시고,
eth1 net xxx.xxx.xxx.0 netmask 255.255.255.0 gw xxx.xxx.xxx.xxx
와 같이 설정해 주시면 됩니다.
그럼....
관련자료
-
이전
-
다음
댓글 0
등록된 댓글이 없습니다.