LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 924|回复: 3

how to modify the route table?

[复制链接]
发表于 2007-7-21 10:07:32 | 显示全部楼层 |阅读模式
i think it is the iptables modify my route table wrongly,
so i must to modify it corectly now,

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
loopback        *               255.0.0.0       U     0      0        0 lo
default         192.168.10.1    0.0.0.0         UG    0      0        0 eth0

the default route should be
192.168.10.1 255.255.255.0

how to modify it?


i have read the route man page ,
but i don't understand it,
i have tried so many times,
but i still does not work



crying crying crying


what is special is that ,
wget can get what the portage need,

i can not understand.
发表于 2007-7-21 11:01:06 | 显示全部楼层
Post by yanzixiang

the default route should be
192.168.10.1 255.255.255.0


1 iptables不会改routing table
2 你应该复习复习路由的知识
3 和目前的主题有关连的不要开新帖
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-7-21 11:12:36 | 显示全部楼层
Post by zhllg
1 iptables不会改routing table
2 你应该复习复习路由的知识
3 和目前的主题有关连的不要开新帖
找到原因了,
我的设置一点问题都没有,
是因为我的网络的原因,
我现在在windows下面,
也是和刚刚一样不能上其他的网络,
linuxsir是用的网通的线路吗?
我听说我们学校的机房是的,
如果是真的话,
那么我只能上一样网通线路的网站,
不过我真分不清楚哪些能上,
哪些不能上?

你知道哪些网站是用网通的线路的吗?
我试一下能不能上?
回复 支持 反对

使用道具 举报

发表于 2007-7-21 13:54:30 | 显示全部楼层
置顶贴有网通镜像
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表