win下能开启路由,是否linux下也能开启路由?

由 makesuse 在 09-05-2004 13:01 发表:

win下能开启路由,是否linux下也能开启路由?

MT800的猫,路由已经打开,win下网络配置:指定ip 192.168.1.7.指定了默认网关和域名服务器

win下:ipconfig 能得到iprouting yes的信息,猫的配置里面也有路由表的一些信息.

装了suse

网络配置:指定ip 192.168.1.7.指定了默认网关和域名服务器.和win下的设置一样,这样是不是能起用路由

#ifconfig 得到以下信息:

eth0 Link encap:Ethernet HWaddr 00:E0:4C:79:35:31

inet addr:192.168.1.7 Bcast:192.168.1.255 Mask:255.255.255.0

inet6 addr: fe80::2e0:4cff:fe79:3531/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:3596 errors:0 dropped:0 overruns:0 frame:0

TX packets:3542 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:2757202 (2.6 Mb) TX bytes:412663 (402.9 Kb)

Interrupt:10 Base address:0xbf00

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:92 errors:0 dropped:0 overruns:0 frame:0

TX packets:92 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:5968 (5.8 Kb) TX bytes:5968 (5.8 Kb)

#route 得到以下信息:

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

192.168.1.0 * 255.255.255.0 U 0 0 0 eth0

link-local * 255.255.0.0 U 0 0

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus