这是我的路由表(按这个顺序排列):10.3.68.0/22 dev eth3 proto kernel scope为什么Linux选择通过172.16.100.9网关访问10.3.68.0/22子网(因此没有尝试直接链接)?
例如,我用ip route get 10.3.68.123进行了测试。它只表示当我请求10.3.68.0 (“网络”地址)、10.3.71.254 (广播)或10.3.69.254 (本身)时,它将尝试链路本地路由
如何使第二条路线起作用?get ':id', :to => 'users#show', :as =>'user'Invalid route name, already in use: 'user' You may have defined two routes with the same name using the `:as` option, or you may be overriding a