I seem to keep running into a problem with a cisco router (a cisco 877) with a virgin media connection. It would appear that part of virgin's network tends to break. I don't know the exact cause but from how I understand it. It is a fault with virgin somehow and some type of compatibility issue with cisco routers.
The problem for me tends to trigger when virgin has an issue inside their network or for some reason I have to disable the internet connection. When I bring the connection back up the cisco router can never successfully get an ip address by dhcp again. Until of course virgin is contacted and something is reset at their end. It will however allocate an ip address to a computer if you plug it directly into the virgin connection.
Here is how I was debugging the issue. To start with put your cisco terminl connection into monitor mode and debug dhcp (after you become an enabled user of course). Like this
Cisco#terminal monitor
Cisco#debug dhcp
This will cause you to see output like the following.
Jun 6 08:51:39.998: DHCP: deleting entry 83D002B8 0.0.0.0 from list
Jun 6 08:52:09.437: DHCP: Try 15 to acquire address for Vlan2
Jun 6 08:52:09.441: DHCP: allocate request
Jun 6 08:52:09.445: DHCP: new entry. add to queue, interface Vlan2
Jun 6 08:52:09.445: DHCP: SDiscover attempt # 1 for entry:
Jun 6 08:52:09.445: DHCP: SDiscover: sending 290 byte length DHCP packet
Jun 6 08:52:09.445: DHCP: SDiscover 290 bytes
Jun 6 08:52:09.445: B'cast on Vlan2 interface from 0.0.0.0
Jun 6 08:52:13.006: DHCP: SDiscover attempt # 2 for entry:
Jun 6 08:52:13.006: DHCP: SDiscover: sending 290 byte length DHCP packet
Jun 6 08:52:13.006: DHCP: SDiscover 290 bytes
Jun 6 08:52:13.006: B'cast on Vlan2 interface from 0.0.0.0
Jun 6 08:52:17.006: DHCP: SDiscover attempt # 3 for entry:
Jun 6 08:52:17.006: DHCP: SDiscover: sending 290 byte length DHCP packet
Jun 6 08:52:17.006: DHCP: SDiscover 290 bytes
Jun 6 08:52:17.006: B'cast on Vlan2 interface from 0.0.0.0
Jun 6 08:52:28.568: DHCP: Received a BOOTREP pkt Not for us..: xid: 0x3E466ABF%Unknown DHCP problem.. No allocation possible
Jun 6 08:52:29.924: DHCP: Waiting for 60 seconds on interface Vlan2
Unfortunatly the information is not very forthcoming with anything that matters. Since virgin is not actually replying to any dhcp requests with anything! So the next step to try is to reboot the cable modem etc... Of course it will just keep repeating the same output as above and virgin will continue to ignore any dhcp requests for some reason.
The next part of this is to phone virgin. Tell them specificly that the router is not allocating an address. They will then head off do some checks make sure they can talk to the cable modem directly and quitly reset something. Of course on the next attempt you can then expect some sort of success.
Jun 6 08:57:31.489: DHCP: Try 19 to acquire address for Vlan2
Jun 6 08:57:31.493: DHCP: allocate request
Jun 6 08:57:31.497: DHCP: new entry. add to queue, interface Vlan2
Jun 6 08:57:31.497: DHCP: SDiscover attempt # 1 for entry:
Jun 6 08:57:31.497: DHCP: SDiscover: sending 290 byte length DHCP packet
Jun 6 08:57:31.497: DHCP: SDiscover 290 bytes
Jun 6 08:57:31.497: B'cast on Vlan2 interface from 0.0.0.0
Jun 6 08:57:35.106: DHCP: SDiscover attempt # 2 for entry:
Jun 6 08:57:35.106: DHCP: SDiscover: sending 290 byte length DHCP packet
Jun 6 08:57:35.106: DHCP: SDiscover 290 bytes
Jun 6 08:57:35.106: B'cast on Vlan2 interface from 0.0.0.0
Jun 6 08:57:39.106: DHCP: SDiscover attempt # 3 for entry:
Jun 6 08:57:39.106: DHCP: SDiscover: sending 290 byte length DHCP packet
Jun 6 08:57:39.106: DHCP: SDiscover 290 bytes
Jun 6 08:57:39.106: B'cast on Vlan2 interface from 0.0.0.0
Jun 6 08:57:39.154: DHCP: Received a BOOTREP pkt
Jun 6 08:57:39.154: DHCP: offer received from 62.31.64.115
Jun 6 08:57:39.154: DHCP: SRequest attempt # 1 for entry:
Jun 6 08:57:39.154: DHCP: SRequest- Server ID option: 62.31.64.115
Jun 6 08:57:39.154: DHCP: SRequest- Requested IP addr option: x.x.x.x
Jun 6 08:57:39.154: DHCP: SRequest placed lease len option: 603658
Jun 6 08:57:39.154: DHCP: SRequest: 308 bytes
Jun 6 08:57:39.154: DHCP: SRequest: 308 bytes
Jun 6 08:57:39.154: B'cast on Vlan2 interface from 0.0.0.0
Jun 6 08:57:42.110: DHCP: SRequest attempt # 2 for entry:
Jun 6 08:57:42.110: DHCP: SRequest- Server ID option: 62.31.64.115
Jun 6 08:57:42.110: DHCP: SRequest- Requested IP addr option: x.x.x.x
Jun 6 08:57:42.110: DHCP: SRequest placed lease len option: 603658
Jun 6 08:57:42.110: DHCP: SRequest: 308 bytes
Jun 6 08:57:42.110: DHCP: SRequest: 308 bytes
Jun 6 08:57:42.110: B'cast on Vlan2 interface from 0.0.0.0
Jun 6 08:57:42.347: DHCP: Received a BOOTREP pkt
Jun 6 08:57:46.347: DHCP Client Pooling: ***Allocated IP address: x.x.x.x
Jun 6 08:57:46.351: Allocated IP address = x.x.x.x 255.255.255.240
Finally it gets an ip address. The reason why I suspect this is a problem inside the virgin network is simple. Evertime I have to take the connection offline I can do it by a shutdown of the interface (the easy method) or by rebooting the cisco or some such. This problem occurs in exactly the same way. However the following at the site end of things never changes.
- The cisco will still manage to get an ip address without being restarted.
- The cisco config has not changed in any way.
To make matters worse. Virgin are not capable of allocating a static ip address to the connection. their definition of static is still allocated by dhcp. So there is no way around this problem.
I guess its just one of thoose things that will never be fixed by virgin media. I think this is a virgin media issue. What do you think?