Network IP Á¤º¸ ¹× Routing Á¤º¸ º¯°æ
/etc/rc.config.d/netconf file ¿¡¼ °ü·ÃµÇ´Â lineÀ» ¼öÁ¤
¡á Network IP AddressÀÇ º¯°æ
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]="15.32.9.24"
SUBNET_MASK[0]="255.255.255.0"
BROADCAST_ADDRESS[0]=" "
LANCONFIG_ARGS[0]="either"
¡á Routing TableÀÇ º¯°æ
ROUTE_DESTINATION[0]="default"
ROUTE_MASK[0]=" "
ROUTE_GATEWAY[0]="192.0.1.1"
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=" "
"ROUTE_GATEWAY"¿¡ 192.0.1.1 ´ë½Å¿¡ ¿øÇÏ´Â routerÀÇ ip address¸¦ ÁöÁ¤. routing Á¤º¸¸¦ ¹Ù·Î º¯°æÇÏ·Á¸é r
ebootÀ» ¼öÇà ¶Ç´Â ¾Æ·¡ÀÇ ¸í·É ¼öÇà
# route delete default 192.0.1.1.1
# route add default 192.0.1.2.1
À§ ¸í·É¾îÀÇ °æ¿ì PermanentÇÑ º¯°æÀÌ ¾Æ´Ô PermanentÇÑ º¯°æÀ» ¿øÇÏ´Â °æ¿ì /etc/rc.config.d/netconf fileÀ» ¼öÁ¤ÇÏ¿©¾ß ÇÔ.
À§ÀÇ ¸í·ÉÀº console¿¡¼ ÀÛ¾÷À» ÇÏ¿©¾ß ÇÔ. °°Àº segment°¡ ¾Æ´Ñ °æ¿ì routing table¿¡ µû¶ó system access¸¦ ÇÏÁö ¸ø ÇÒ ¼ö ÀÖÀ½.
|