由买买提看人间百态

topics

全部话题 - 话题: dhcp
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
z**r
发帖数: 17771
1
see my input inline,

the reason is your modem is functioning like a router here, it has its own
WAN IP and LAN segment, if you connect the modem LAN interface to the router
LAN interface, and then you use DHCP, both the modem and the router will
response the DHCP request, that's why you need to use manual IP
configuration. Also seems that your router's LAN segment is also 192.168.1.0
/24, which is conflict with the modem's LAN segment.
.*
again your modem is functioning like a router here, if y
B*****R
发帖数: 1539
2
来自主题: EmergingNetworking版 - 请教一个静态路由设置问题
你那个10。100应该DHCP拿来的,后来DHCP更新,地址换掉了,10。100给了别的HOST,
这个HOST的GATEWAY是路由1,10。1,路由20。1现在拿到了10。104,所以PKT先到了10
。100,然后到10。1,然后10。1发会REDIRECT告诉你新NH式10。104

1
a***n
发帖数: 262
3
来自主题: EmergingNetworking版 - 网络方向的要学什么样的linux内容?
Unix Power Tools
I used some preliminary shell scripting, and some
perl script like batch DHCP registration/scope generation
grep/awk/uniq/sort are used a lot for log searching
all kinds of grep, zgrep ..
some network scripting with expect/perl, I need to use more
on this too.
It would be good to know some commands like the
ping, traceroute, lft, fping3, tcpdump,
there is a security top 100 list, just go over that and install
most of them on your linux desktop and play with it.
We use ISC bind/d... 阅读全帖
x*********n
发帖数: 28013
4
来自主题: EmergingNetworking版 - 公司server setup求助
dhcp conflict?
clear ip dhcp一下试试?
g*******l
发帖数: 1470
5
来自主题: Hardware版 - 请问:我的T60网卡不是不坏了?
我用Lenovo的troubleshooting试了一下,在命令里打ipconfig/release and then
ipconfig/renew后出现:
An error occurred while renewing interface wireless (and local area)
connection: unable to contact your DHCP server. Request has timed out.
这个DHCP是指什么呢?谢谢!
c*m
发帖数: 1114
6
你说呢?
用来router的话dhcp server就在router上,你想怎么搞就怎么搞。
用来hub他的dhcp server在你isp那段,你配了也未必分配的到哇,没准还搞出个ip冲突
被人封了MAC:D
k****t
发帖数: 2288
7
试验了第一种方案,发现是可以的,但是问题是,所有的traffic都是走router A,
cable modem A。router B连上了cable modem B,但是没有任何traffic。我是将
router B 的IP设置为192.168.1.2。 因为我DHCP的IP是从100开始的,所以不会有冲突
。我尝试将电力线过来的断开,结果就是不能上网。我想可能是因为我禁止了dhcp的缘
故吧。我也尝试手动设置pc的ip和gateway,指向router B但是都没有效果。
明天有空再试验方案2和3吧!
p**i
发帖数: 688
8
你的DHCP server在哪个router就在哪边设置. 不过我不知道tomato里能不能用
dnsmasq作DHCP server, 如果不能, 估计你只能手动在电脑里设置了
t****t
发帖数: 6806
9
tomato的dnsmasq不用进命令行改设置, 在advanced->DHCP/DNS下有一个dnsmasq
custom configuration, 那里可以想加什么就加什么
比如我这里让所有网络启动的机器去192.168.1.11找boot image, 可以写
dhcp-boot=pxelinux.0,,192.168.1.11
/tmp底下的东西是临时生成的, 那个改了没用.
a***a
发帖数: 40617
10
我汇报一下后续
WRT54GS刷了最新那个beta版,没问题,但是感觉所用到的功能基本上
linksys自己的firmware都有(WRT54GS自带的还是很强的)
好处是发现DHCPtable更新更快了,linksys自己有时候总有遗漏不显示的
DHCP用户
然后刷了rosewill的那个(现在newegg 29.9)
悲剧了。刷了以后无论是pppoE还是DHCP都连不上
最后google半天,发现要吧vlan 1的w port勾先去掉,save,再打上,再save
(上述操作也可以用telnet登录router输入代码完成),才能解决
最后总算搞定了(rosewill自带的firmware功能很弱)
m***i
发帖数: 2480
11

On B and C
disalbe DHCP
Enable WAN port as LAN port
enable wireless client mode
ON A
enable DHCP
A will assign ip to computers connected to B or C.
z**r
发帖数: 17771
12
来自主题: Hardware版 - 弱问个Cisco 870的问题
asus的dhcp必须开着,因为你的c870 100%是已经配置好要dhcp得到IP地址的
a*o
发帖数: 19981
13
来自主题: Hardware版 - 笔记本连接2台路由器的问题
wired LAN card use static IP, DO NOT USE DHCP. Leave "default gateway" field
empty (critical part).
wifi port use DHCP, and make sure "default gateway" is not empty.
Use "ipconfig /all" command to check.
其实还有更fancy的搞法,不过你要不是常年玩routing table的人就免了。。。
P*****r
发帖数: 1308
14
***EDIT***: Just to clarify if I'm using the right mode. What I want to achieve is to bring my printer into the wireless network, so that all wirelessly connected laptop could use the printer, also to re-broadcast the wireless in the 2nd room. I found my signal reduces a lot just a room away from the main router (laptop in the room where the main router is has 300M speed, but just a wall away, I only got about 150M). I don't know if the 520GU (a G router with 54M max speed) rebroadcasting would ... 阅读全帖
s*****g
发帖数: 5159
15
来自主题: Hardware版 - 关于wireless repeater的问题
router在房子的一端,repeater在房子中间偏远的地方。如果没有repeater,router能
够覆盖整个房子,但是远端信号比较差,有了extender,真个屋子基本都是满格。
repeater从router dhcp一个地址,repeater和router都在192.168.1网段上,所有无线
连接都是dhcp,从192.168.1.100开始分配,有线连接用2-99的地址。
现在的问题是,从房间的某个地方启动一个无线设备,它会自动连接较强的access poi
nt,但是如果拿着设备走到别的地方,它会继续hold原来的access point,不管信号变
得多弱。有没有办法能够让这些移动设备能够在两个access point之间自动切换?比如
把移动设备的mac地址都放到WDS里面?
多谢。
x******0
发帖数: 1490
16
谢谢回答,太高兴了,还有几个问题
1)假设1st Router是有线的,就不需怎么设置了吧, 顶多打开dhcp?
2) Switch 不需太多设置吧?是不是连上就可用,各个直接相连电脑互相可见?
3)从switch来的cable 是连2nd router 的Wan 还是Lan口?只关掉dhcp就行了吗?其
他加密,mac filter不影响吧?
4)1st router有4个Lan, 一个给了switch, 如果另外3个也连电脑,这些电脑需要什么
设置才能和连switch的电脑互见?
l********e
发帖数: 3632
17
来自主题: Hardware版 - 请教一个Motorola SB6120的问题?
route IP是DHCP过来的COMCAST的IP
给各个电脑也是DHCP给的192.168.0.100-192.168.0.200
e*i
发帖数: 10288
18
yes. You can do it.
and disable G router's DHCP, use N router's DHCP
Change G router's IP to 192.168.1.100 (or something other than 192.168.1.1),
so your
G devices can see other devices.
And you can use G router's LAN ports for wired devices.

了吧
d******0
发帖数: 149
19
大虾,已经反复试过,关netgear的DHCP,连接6580,两个路由均不能上网,ping了
6580的网关192.168.100.1,ping不通,但是光用6580这个设备,wifi和有线,都正常
,一连上netgear,关DHCP,6580的wifi就不起作用了
netgear的型号是FV328,老设备。
w***w
发帖数: 1552
20
来自主题: Hardware版 - ASUS N 16 and FIOS ActionTec Modem
是不是神由被reset了,神由有个dhcp server,fios的router也有个dhcp server, 两
个在同一段?
S**a
发帖数: 702
21
来自主题: Hardware版 - ASUS N 16 and FIOS ActionTec Modem
Assuming that 是神由被reset了,神由有个dhcp server,fios的router也有个dhcp
server, 两个在同一段, what is the detailed solution? Thanks
g****n
发帖数: 3370
22
来自主题: Hardware版 - 路由和modem连接问题
多谢。
那我现在是不是只要把modem改为PPPoE,打开DHCP;
router改为DHCP模式就行了,其他都不用变?

even
whole LAN will be 0.x based.
e*i
发帖数: 10288
23
1 use static ip for 2nd router, such as 192.168.1.100
2 disable dhcp for 2nd router. set dhcp server as 1st router.
a****x
发帖数: 231
24
改一个文件,就可以通过router上网了。我用Comcast DHCP。DSL可能稍微麻烦一
些。
telnet 1921.168.1.1
进去后修改密码:
passwd
然后修改文件network
vi /etc/config/network
config 'interface' 'wan'
option 'ifname' 'eth1'
option 'proto' 'dhcp'<====
option 'macaddr' 'xx:xx:xx:xx:xx:x'<====Comcast 注册macaddr
d********r
发帖数: 199
25
关于Tomato 版本选择及Router 限速的终极解决方案(原创)
mitbbs硬件版原创首发,版权所有,谢绝转载。
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
如果想限速,Router一定要自己刷DD-WRT, 或tomato。
最好买这两种都支持的型号。比如Linksys E2000/E3000(Highly recommended)
newegg 上refurbished 的就很不错了。是factory refurbished.
偶买过好几个,一点问题没有。
E2000:
http://www.newegg.com/Product/Product.aspx?Item=N82E16833124407
E3000:
http://www.newegg.com/Product/Product.aspx?Item=N82E16833124419
有人说E2000/E3000的无线范围不是非常理想。
我个人觉得还好。
如果你觉得还是不够用的话,建议用E2000/E3000做一级(main) router,
另外再接更powerful的access p... 阅读全帖
c********l
发帖数: 8138
26
神座,如果在DHCP上,可以顺利上网,可以用LAN进行SSH登录
但如果修改/etc/rc.conf
把原来的DHCP的设置:
interface=eth0
address=
netmask=
broadcast=
gateway=
改为:
interface=eth0
address=192.168.1.14
netmask=255.255.255.0
broadcast=192.168.1.255
gateway=192.168.1.1
并重启神座,
系统则无法连上lan(路由器的connected列表里无法看见神由)
(另:我已经重复确认过,address, netmask, gateway这些参数设置都是正确的)
请问是怎么回事?
g***u
发帖数: 5413
27
its DHCP cannot be disabled
Why?

Title: Remote Access to Admin Web GUI
I've been trying this for 2 weeks. no luck. I looked at almost all related
posts here but still couldn't get mine to work.
Local access works when I point my browser to the local router IP of 192.168
.2.1 or the DDNS address of example.homelinux.com:8080 (belongs to dyndns.
com).
I am trying to get remote access working and when I point a remote browser
to example.homelinux.com:8080 or my.real.internet.ip:8080, nothing comes... 阅读全帖
d*******n
发帖数: 369
28

Ans: Yes.
Ans: Yes. router A的LAN IP就是192.168.2.1
Ans: 以下是从Tomato Status Overview copy/paste 过来的。另外在moto SBG900
modem的Admin GUI上显示router A的IP是192.168.0.2
=============== WAN ========================
Connection Type DHCP
IP Address 71.59.2x.xx
Subnet Mask 255.255.248.0
Gateway 71.59.xx.xx
DNS 75.75.75.75:53, 75.75.76.76:53
Status Connected
Connection Uptime 0 days, 00:05:55
Remaining Lease Time 2 days, 16:52:22
================ LAN ==================
Router MAC Address ... 阅读全帖
d*******n
发帖数: 369
29
我在家里(LAN)上可以用DDNS或WAN的裸IP带着port访问。no problem. 但是一用外网
,就好象用东西塞住了似的。刷好几遍才能load一部分GUI。我刚才又研究了一下modem
.把它设成了真正的NAT Passthru. 现在Router A is listed on the Passthrough Host Table of the
modem. 按照以下的定义现在modem真是modem only了。我也看不到router A在modem上
IP了。modem也显示DHCP disabled 了. 这样Router A 实际上直接和ISP接吻了。可还是不成。俺也是EE的技术民工。不过不是专稿网络的。实在没辙了,才来求教高手。
These are bridged CPEs, that have obtained their public IP address directly
from the DHCP server on your ISPs network, and are not using any form of
address translation.
先... 阅读全帖
d****n
发帖数: 12461
30
☆─────────────────────────────────────☆
amo (牛肉炖熊掌) 于 (Thu May 3 21:15:40 2012, 美东) 提到:
挽救地沟油过程中有几点宝贵经验更大家分享一下:
1. 我的地沟油死状是这样:插电源之后挺快绿灯就亮,但是等再久LAN port都不通,
连着的网卡信号灯都不亮,说明OS/driver根本就没起来,死得不能再死了。
2. 30-30-30其实估计一次就成功了,但是有点比较tricky,导致我一开始老以为不行
。就是没有重刷ROM之前,CFE的IP不再是192.168.2.1,而是router死前firmware里设
置的IP,切记切记。
判断CFE有没有成功其实用连接的网卡的信号灯更靠谱,只要灯一闪,八成就成了。
3. 之后就是重复劳动,还有一点切记:重刷firmware之前,一定要用CFE页面最左下角
那个清理nvram的link吧东西搔搔干净。不然刷完了还是会重复之前的死法,还是起不
来。哥一开始就不知道,还是失败一次之后仔细研究了下试出来的。
经历这次折腾之后,感觉地沟油更加金刚不坏了,只要有30... 阅读全帖
a***e
发帖数: 27968
31
来自主题: Hardware版 - WAN IP地址变成192.168.1.64
modem可能需要重启
moto的modem同时可以当router,有时候modem初始化慢了就会给后面的router这个东西
俺每次连asus的都有问题,现在只好在asus和moto之间挂一个belkin有线,就没事了
dsl的西门子有个版本也是这种怪毛病,明明设置关了dhcp服务,还是这德性
倒是开了dhcp,虽然还是local ip,但可以上网

64。
常?
l***h
发帖数: 9308
32
上面那个教程链接,本来让我看到点希望,不过又熄灭了。。。。
我是这样打算的,先不整翻墙OpenVPN,把常规的OpenVPN调通。按照教程,这几个包装
全了(OpenSSL,OpenSSH,SBSettings,OpenVpn Toggle for SBSettings);客户端
conf.ovpn和其他几个3个文件也放到iphone OpenVPN下面,教程里面可能是老版本目录
名是OpneVpn,NND害得我折腾半天才明白原来目录大小写也会出问题。
准备编辑/var/mobile/Library/SBSettings/Commands/com.offinf.openvpnup时,发现
我的里面没com.offinf.openvpnup,只有2个文件net.openvpn.up 和net.openvpn.down
,不管怎么说,编辑net.openvpn.up这个类似文件,照抄代码(只把OpenVpn换成
OpenVPN)
最后进入putty,登录后转到OpenVPN文件夹,执行
openvpn-iphone ?script-security 2 ?config conf.ovpn
... 阅读全帖
D**f
发帖数: 439
33
我按你的option 1操作,但没能成功。
看看我inline的问题:

是说换到Modem的lan 口上吗?那样Router的lan口就不能用了?
这个我在Tomato的lan设置里改了,不知为什么就不能联网了,连wired连接都不行。你
是说router上接入的机器,wired or wireless, 都能用Modem上的DHCP?
原来就没有固定IP啊,都是DHCP,这一步应该就省下了吧?
z*********e
发帖数: 10149
34
来自主题: Hardware版 - 不能ping通上一级的router
如果把router 2的dhcp禁掉后,是由router 1的dhcp server来分配地址吗?
z*********e
发帖数: 10149
35
来自主题: Hardware版 - 不能ping通上一级的router
router2的dhcp server关掉了,还是依然无法访问和ping通router 1。
关闭dhcp server之前ping router 1的话会显示 192.168.1.1 time out
现在显示reply from 192.168.1.100: destination host unreachable
tracert www.google.com显示是到了router 2然后router 1,然后modem,然后去了isp
z*********e
发帖数: 10149
36
来自主题: Hardware版 - portforwarding 的问题
set up:
router 1 192.168.1.2
router 2 192.168.1.3
router 1 enable 了dhcp server,wan口接了cable modem,router 2 disable了dhcp
server, wan口什么都没有接,lan口接到router 1的lan口
pc跟pogoplug分别用wifi和ethernet接到router2上, pogo plug ip: 192.168.1.201
router 1可以ping通pogoplug
现在我可以直接从pc ssh到pogoplug 192.168.1.201:22,但是我在router 1上设置了
port forwarding,把external port 22全部forward到internal port 22。结果我用pc
不能ssh到pogoplug by 192.168.1.2:22。
portforwarding 只能从外网才能访问吗?
d*******3
发帖数: 6550
37
因为你dhcp已经disable了,默认都由主路由分配ip, static dhcp应该在主路由上设
d******i
发帖数: 7160
38
DHCP在该模式下不支持。
有个叫"static dhcp"的好像也不起作用?
有设备wire连接着,就是不知道ip地址(device list上木有)。
肿么办?
z*********e
发帖数: 10149
39
来自主题: Hardware版 - 这个速度不正常吧
还是那个山寨的synology,用网线,中间隔个地沟油,读写都是100MBps了,但是用笔
记本一试大跌眼镜,读5MB/s,写1MB/s。笔记本都是用wifi连得地沟油,wifi连接的
status显示速度是130-150Mbps
没想明白瓶颈在哪里,我的路由器(关闭了dhcp)lan口接到了另外一个路由器(开dhcp)
的lan口,这个会是原因吗?
z*********e
发帖数: 10149
40
来自主题: Hardware版 - tomato把wan口当lan口用不靠谱
nas <-> router 1 <-> router 2 <-> pc
router 1 disable dhcp
router 2 enable dhcp
全部用的网线连,但是router 1的wan口用tomato设置成lan,接到了router 2的 lan口
,nas速度只有20kBps,把router 1跟router 2链接的网线换到了它的lan上,正常了
a9
发帖数: 21638
41
来自主题: Hardware版 - 总算搞定iSCSI boot了
用tag
dhcp-host=00:00:00:00:00:00, set:nas2
dhcp-option=tag:nas2,.......
可能是这样,我的dnsmasq上配置的删掉了。
a9
发帖数: 21638
42
来自主题: Hardware版 - 总算搞定iSCSI boot了
是不是下面这条覆盖上面这条了。
dhcp-option=net:gpxe,17改成
dhcp-option=net:#gx260,17试试
j*******s
发帖数: 54
43
求助!
家里是Comcast的50M宽带,租的Arris 826 Modem/Router一体机,一个月八块钱那种,
这个机器的wifi信号很不好,隔了两面墙就速度就降的很快。然后买了一个神油Asus
N16。现在相当于是要把神油连接到另一个路由器上(那个一体机)。网上搜了一大堆
路由器连路由器的方法,都说最重要的是两个路由器的IP地址不能冲突,然后把第二个
路由器的DHCP功能要关等等。。。。
可是折腾了一晚上,还是不行,求大神帮助,感激涕零!!
现在的问题是路由器的地址不冲突:原来的是10.0.0.1,神油的IP地址是192.168.1.1
神油的DHCP也关了
可是我把两个路由器用LAN口连起来以后,神油老是提醒说WAN口没有插上cable...可是
网上的方法都说得用LAN口,不能用WAN口连接啊。。。
如果我把Cable插到第二个路由器的WAN口,就只有一台机器能上网,其它的都连不上神
油的wifi。
实在是不知道怎么办了,折腾了一晚上的电脑小白求帮忙。。。。
P****D
发帖数: 11146
44
这样肯定连不上。IP除了不能冲突,还必须在同一个子网内,然后神由的IP在路由的
DHCP server分配IP的范围外。比如路由是192.168.0.1,神由是192.168.0.2,路由
dhcp server分配192.168.0.3-192.168.0.50。
另外还是建议你把modem的路由部分disable了,用神由当路由。虽然神由的wifi也不怎
么样就是了。

1
a***e
发帖数: 27968
45
you don't need to turn off DHCP of second router.
it will work if all you want is just internet.
it is trickier if you want all devices on the network can see each other.
1. set N16 to Access Point mode, otherwise it will looking for WAN.
2. set N16 ip to one of 10.0.0.xxx, turn off DHCP
3. it will be better if you could set reserve IP for N16 in router.

1
k**********s
发帖数: 6409
46
来自主题: Hardware版 - 建个vpn还是有必要的
带router功能没关系,不用那部分就是了。在Windows上运行DHCP server,这个:
http://www.dhcpserver.de/dhcpsrv.htm
非常小巧灵活好用免安装,用了6年多了,绝不想再用别的包括router里的DHCP。
t**d
发帖数: 6474
47
来自主题: Hardware版 - tomatousb能不能设个虚拟网络?

郑人买履?你们都纸上谈兵,不懂装懂,从不想去实际验证一下,太可悲了。
你们是不撞南墙不回头。
不信我,你信不信互联网上别人说的?也不信?刚才google了一下,自己去看吧:
http://www.techspot.com/community/topics/i-want-to-connect-2-wi
其中有这么一段:
On router #1
set the router address specifically to 192.168.1.1
which serves as a note as to which router you're connected to
set the DHCP range to 2-10
save the settings
now setup any wifi changes as applicable
and change the admin password
when you save this time, the router w... 阅读全帖
z*********e
发帖数: 10149
48
来自主题: Hardware版 - tomatousb能不能设个虚拟网络?
lol,首先你不要动不动就说人可悲行不,也不要随便说别人没试过。你那个帖子里面的
信息都是错的
我家自己的网
router 1:
dhcp server
ip 192.168.10.1
nas:
192.168.10.250
连在router 1的 lan口上
router 2:
wan口连router 1的lan口
dhcp server,内网ip地址 192.168.9.1,外网ip地址192.168.10.x
开了wifi
device 1:
连router 2,ip地址192.168.9.x,随便访问nas和192.168.10.0/8网段内的所有设备。
但是反过来不行,从192.168.10.0/8的设备无法访问连接到router 2上的设备。我不是
专家,但是设置iptables应该可以解决这个问题吧,在openvpn的设置里面就有专门一
项push route可以干这个活。
另外你再想一想,假设一般人家里的cable modem地址192.168.0.1,路由器地址192.
168.1.1,你连路由器上的电脑能不能打开192.168.0.1这个地址进cable modem... 阅读全帖
t**d
发帖数: 6474
49
来自主题: Hardware版 - tomatousb能不能设个虚拟网络?
为了防止记忆错误出现偏差,我昨天又重新试验了一下:
实验一:
母router,pppoe,ip 192.168.1.1,subnet mask 255.255.255.0
子router,dhcp client,van ip 192.168.10.1,subnet mask 255.255.255.0
试验结果:子router上的电脑能access母router及其上面的设备(比如NAS),但是母
router上的电脑不能access子router上的设备。
实验二
母router,pppoe,ip 192.168.1.1,subnet mask 255.255.255.0
子router,dhcp client,van ip 192.168.10.1,subnet mask 255.255.0.0
试验结果:子router上的电脑不能能access母router及其上面的任何设备,母router上
的电脑也不能access子router上的任何设备。
t******1
发帖数: 334
50
来自主题: Hardware版 - Uverse+Asus n56u 经常断线
刚开始还好,后来每隔一两天都会断一次线。
断线之后还能搜索到无线网络,但是就是连不上。这个时候Uverse送的modem还是工作
的,网线连着可以上网,但是路由只能重启才能工作。
查了很久,据说有可能是路由dhcp没有disable。但是我用的AP mode,应该路由自己会
diasable dhcp吧。
有没有人有相同问题的?可否告知解决方案?
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)