Method and apparatus for establishing trail network