Chinaunix首页 | 论坛 | 博客
  • 博客访问: 15273061
  • 博文数量: 2005
  • 博客积分: 11986
  • 博客等级: 上将
  • 技术积分: 22535
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-17 13:56
文章分类

全部博文(2005)

文章存档

2014年(2)

2013年(2)

2012年(16)

2011年(66)

2010年(368)

2009年(743)

2008年(491)

2007年(317)

分类: 系统运维

2008-12-30 14:39:54

luther@gliethttp:~$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.100.0   *               255.255.255.0   U     0      0        0 usb0
172.16.0.0      *               255.255.0.0     U     0      0        0 eth0
link-local      *               255.255.0.0     U     1000   0        0 usb0
default         172.16.1.1      0.0.0.0         UG    0      0        0 eth0

可以看到我的pc连接的ap地址为172.16.1.1,所以在firefox中输入172.16.1.1就可以登录这个ap进行设置了,所以对于1个ap,只需要记住ap的密码就可以了,ap的地址可以通过插入ap端口,然后调用route命令查询到.

内网网段ip
10.0.0.0-10.255.255.255
172.16.0.0-172.31.0.0
192.168.0.0-192.168.255.255

另一种将来发展的命令:
luther@gliethttp:~$ ip
Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }
       ip [ -force ] [-batch filename
where  OBJECT := { link | addr | route | rule | neigh | ntable | tunnel |
                   maddr | mroute | monitor | xfrm }
       OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] | -r[esolve] |
                    -f[amily] { inet | inet6 | ipx | dnet | link } |
                    -o[neline] | -t[imestamp] }

luther@gliethttp:~$ ip route
192.168.0.0/22 dev eth0  proto kernel  scope link  src 192.168.2.179
169.254.0.0/16 dev eth0  scope link  metric 1000
default via 192.168.1.1 dev eth0
可见我的ip是192.168.2.179,连接的网关是192.168.1.1
阅读(4547) | 评论(4) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2009-12-01 17:17:25

111111111111111111111

chinaunix网友2009-12-01 17:17:19

111111111111111111111

chinaunix网友2009-04-03 03:47:43

我日哦`

chinaunix网友2009-04-02 00:18:46

4673231111