gateway and device route

Signed-off-by: kevinhuhui <huhuikevin@gmail.com>