# route 
Kernel IP routing table 
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface 
192.168.10.0    *               255.255.255.0   U     0      0        0 eth0 
default         192.168.10.1    0.0.0.0         UG    0      0        0 eth0  
 | 
route 명령은 라우팅 테이블에 추가/삭제를 하는데 사용된다.
일단 눈에 들어 오는것은 Flags로 U / UG 라는 것이 있다.
       Flags  Possible flags include 
              U (route is up) 
              H (target is a host) 
              G (use gateway) 
              R (reinstate route for dynamic routing) 
              D (dynamically installed by daemon or redirect) 
              M (modified from routing daemon or redirect) 
              A (installed by addrconf) 
              C (cache entry) 
              !  (reject route) 
 | 
이러한 의미인데, UG라고 되어 있으면, route is up / use gateway라는 의미이다.
간단하게, 이 녀석이 게이트웨이라는 의미로 받아들이면 될 듯 하다.
아무튼, 
ip route flush all로 모든 라우팅 테이블을 비우고 나서
route add default dev eth0를 하면
# route add default dev eth0 
# route 
Kernel IP routing table 
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface 
default         *               0.0.0.0         U     0      0        0 eth0  
 | 
이렇게 Genmask 값도 다르고, Flags도 U로 체크가 된다.
아무튼 의도대로 UG가 찍히게 하려면,
조금은 거리가 멀어 보이는 
ifconfig를 이용해야 한다.
udhcpc의 default.script 내용인데
#!/bin/sh 
# Sample udhcpc renew script 
 
RESOLV_CONF="/etc/resolv.conf" 
 
[ -n "$broadcast" ] && BROADCAST="broadcast $broadcast" 
[ -n "$subnet" ] && NETMASK="netmask $subnet" 
 
/sbin/ifconfig $interface $ip $BROADCAST $NETMASK 
 
if [ -n "$router" ] 
then 
        echo "deleting routers" 
        while /sbin/route del default gw 0.0.0.0 dev $interface 
        do : 
        done 
 
        metric=0 
        for i in $router 
        do 
                /sbin/route add default gw $i dev $interface metric $((metric++)) 
        done 
fi 
 | 
이런식으로 라우팅 테이블을 추가하게 된다.
결론 : IP 관련 설정은 ifconfig - route 순으로 진행하면 된다.
----
2011.11.08 추가