Choosing new WAN MAC address resolves packet loss and DHCP?

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
bedouin
DD-WRT Novice


Joined: 20 Aug 2006
Posts: 9

PostPosted: Mon Sep 04, 2006 16:50    Post subject: Choosing new WAN MAC address resolves packet loss and DHCP? Reply with quote
I'm using a WRT54G v5 with DD-WRT v23 SP2 Micro and Comcast is my ISP. Yesterday I began to lose my Internet connection, where the only solution was to manually release and renew the DHCP lease from the router.

Wondering if there weren't other problems, I also pinged some Internet sites and noticed anywhere from 4-7% packet loss. I wanted to see if the issue was with my router, so I connected my cable modem directly to my PowerMac running OS X 10.4.7, and had 0% packet loss and no DHCP problems.

I tried a number of different things, including replacing the cat5 cable connecting my cable modem and router (it looked a little shabby), but that didn't work. What did resolve the issue was changing the WAN MAC address from DD-WRT Micro's default (00:40:10:10:00:02) to a MAC address I copied from an old D-Link router.

DD-WRT and the router had been performing fine for probably a month now. Any ideas why I all of a sudden had problems, and why changing my MAC address fixed it?
Sponsor
leezer3
DD-WRT Novice


Joined: 21 Aug 2006
Posts: 8

PostPosted: Mon Sep 04, 2006 18:50    Post subject: Reply with quote
I think this is probably going to be because of a P2P related issue. If its anything like the situation I've got, the cable modem will give out a virtually static IP dependant on the MAC address. DD-WRT appears unable to handle in some regard the load generated by a large number of P2P connections. Changing the MAC of the router means that the IP assigned by the cable modem changes, & therefore DD-WRT doesn't get the P2P connections routed to the old IP.

(These connections are still made whether or not the P2P program is actually running; Your IP will probably have beem cached)

-Leezer-
rkloost
DD-WRT Guru


Joined: 11 Jul 2006
Posts: 1247
Location: Nijmegen, The Netherlands

PostPosted: Mon Sep 04, 2006 19:05    Post subject: Reply with quote
lock max connections to 2048
bring udp timeout to 10 secs

try again

_________________
Firmware: DD-WRT v24 SP1 std
2xWRT54GLv1.1
2xWRT54GSv1.0
1xWRT54Gv2

In need of WRT54GS <= v3 EU/UK for firmware-debugging purposes. Buffalo's are welcome too! PM me if you have a spare one.
bedouin
DD-WRT Novice


Joined: 20 Aug 2006
Posts: 9

PostPosted: Mon Sep 04, 2006 20:18    Post subject: Reply with quote
Could you explain to me how this would be P2P related in a little more detail?

I personally never use P2P apps except very rarely, but my neighbor who shares my connection does (Gnutella, from what I gather). However, when this occurred he had been gone for a few days and his computer shut off.
rkloost
DD-WRT Guru


Joined: 11 Jul 2006
Posts: 1247
Location: Nijmegen, The Netherlands

PostPosted: Mon Sep 04, 2006 20:50    Post subject: Reply with quote
backdraft... result of his "misuse" of the connection.

But incoming connections might be accepted and consume connections.

So for ruling out that bring down the timeouts

_________________
Firmware: DD-WRT v24 SP1 std
2xWRT54GLv1.1
2xWRT54GSv1.0
1xWRT54Gv2

In need of WRT54GS <= v3 EU/UK for firmware-debugging purposes. Buffalo's are welcome too! PM me if you have a spare one.
bedouin
DD-WRT Novice


Joined: 20 Aug 2006
Posts: 9

PostPosted: Mon Sep 04, 2006 21:03    Post subject: Reply with quote
Since modifying the MAC address everything has been okay, so I won't change the settings in the meantime. I told him to quit using P2P if he wants to share my connection and also setup an access policy in DD-WRT blocking all P2P apps from his MAC address.

Problem should be solved.

I'm not sure why he'd want to use P2P anyway since no ports are forwarded to his PC; with BT he'd be getting pretty horrendous downstream speeds.
rkloost
DD-WRT Guru


Joined: 11 Jul 2006
Posts: 1247
Location: Nijmegen, The Netherlands

PostPosted: Mon Sep 04, 2006 21:08    Post subject: Reply with quote
using upnp? disable it plz
_________________
Firmware: DD-WRT v24 SP1 std
2xWRT54GLv1.1
2xWRT54GSv1.0
1xWRT54Gv2

In need of WRT54GS <= v3 EU/UK for firmware-debugging purposes. Buffalo's are welcome too! PM me if you have a spare one.
bedouin
DD-WRT Novice


Joined: 20 Aug 2006
Posts: 9

PostPosted: Mon Sep 04, 2006 21:16    Post subject: Reply with quote
Nope, that has never been enabled.
rkloost
DD-WRT Guru


Joined: 11 Jul 2006
Posts: 1247
Location: Nijmegen, The Netherlands

PostPosted: Mon Sep 04, 2006 21:25    Post subject: Reply with quote
Ok, just trying to pinpoint the problem...

Had a WRT54GL running... upnp enabled by default (linksick firmware)
After dd-wrt got some comments that utorrent didnt work anymore :)

but that doesn't matter in this case...

However, I would like some logging to analyse...
So install kiwisyslogd on a windows box. (search forums for kiwisyslogd)

Regards,
Ruud

_________________
Firmware: DD-WRT v24 SP1 std
2xWRT54GLv1.1
2xWRT54GSv1.0
1xWRT54Gv2

In need of WRT54GS <= v3 EU/UK for firmware-debugging purposes. Buffalo's are welcome too! PM me if you have a spare one.
bedouin
DD-WRT Novice


Joined: 20 Aug 2006
Posts: 9

PostPosted: Mon Sep 04, 2006 22:58    Post subject: Reply with quote
I think the original P2P analysis is probably accurate. I remember the day problems began to occur I would release and renew my DHCP lease and then watch the number of active IP connections rise into the low 100s, with nothing more attached than my PowerMac and Linux machine (which I examined for strange traffic and saw nothing).

Blocking P2P from my neighbor upstairs should hopefully be a good enough solution.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum