Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I recently swapped out an old Netgear modem/wireless router and replaced with a ZyXel P660HW-T1 supplied by our ISP. I have configured it so that the new router has the same IP address, subnet mask, IP Pool starting address and IP Pool size as the old one. In addition I configured it to use the same wireless SSID and key as the old device. (To stop the users shouting at me:-))

Windows machines connect to the network (all over WiFi) without difficulty. Two Ubuntu machines connect via WiFi without difficulty (the IP address is assigned to wlan0, which I guess is what one would expect).

The problem lies with CentOS VMs which we run on the Windows workstations. Previously we could connect these in Bridged mode and they would be assigned an IP address on the network by DHCP. The device attached was eth0. Now however, this works only very occasionally. Given that I think I have configured the new router identically to the old one, I can't understand what the problem is. We don't want to roll back to the old router as it had got unreliable, regularly dropping connections and so on. Anybody got any suggestions?

share|improve this question
If you momentarily roll back to the old router and the problem goes away you will then KNOW that it's your new router's config that's wrong. At least you can then concentrate on that. By the way DHCP'ing routers is a little frowned upon, for exactly this reason. –  Chopper3 Feb 19 '13 at 11:27

2 Answers 2

up vote 1 down vote accepted

Turns out the problem was with the ZyXel router itself in this case - it seems the initial batch of this particular model was sent out with a dodgy firmware which couldn't handle DHCP leases properly. After about two weeks of phone calls(!) and frustrated users I managed to get a replacement sent out from the ISP and it worked perfectly out of the box...

share|improve this answer

For debugging network problems tcpdump (Linux) and Wireshark (Linux and Windows) are your friends.

Wireshark is full of security vulnerabilities (typically buffer overflows in some of its hundreds decoders). I'm not particularly worried about them, but in order to be on the safe side I prefer to do the capturing with the dumber

sudo tcpdump -s 0 -i eth0 -w capture1.cap

and use the luxury of wireshark on the captured file just as an ordinary user.

I haven't used Windows for a couple of years, I'm not sure whether you will see bridged traffic on the windows host. If you don't see it you can capture on the guest while you bring networking up. In cases where capturing does not succeed before the network is up I have written an endless loop to try to start tcpdump until it succeeds (i.e the network has come up).

In CentOS networking is brought down and up using the commands

sudo service network stop

sudo service network start

Probably you want to look at the DHCP traffic.

Of course reading Wireshark output requires basic understanding of how the underlying protocol (e.g. DHCP) works. The net is full of explanations. Also comparing the traffic from/to a machine that has no problems (or your old router during a quiet hour) can help to understand.

Happy debugging!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.