Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DHCP works through hub, but not directly through router
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
j-m
Retired Dev
Retired Dev


Joined: 31 Oct 2004
Posts: 975

PostPosted: Thu Mar 03, 2005 8:21 am    Post subject: Reply with quote

OK, then try another DHCP client... Maybe the current one is not able to cope with such a mess...
Back to top
View user's profile Send private message
jklmnop
n00b
n00b


Joined: 18 Jun 2003
Posts: 42

PostPosted: Thu Mar 03, 2005 11:26 am    Post subject: Reply with quote

warning: i'm only experienced with big-***'d routers, not these consumer thingys.

computers plug into hubs, hubs plug into routers, to plug a computer
into a router you need a crossover cable. it's like plugging a computer
into another computer. some routers are smart enough to detect when
a crossover cable is not being used and compensate internally, some don't.

the rest of the time, 90% of all problems come down to duplex issues and
autonegotiation. since the hub doesn't do any the router falls to 10-half
and the computer falls to 10-half and all is good. when the computer and
router are directly connected and try to do auto-negotiation and something
goes wrong... you end up with a flakey connection.

since you have another machine that does work, does it have the same type
of NIC? maybe your router is smart enough to work without a crossover cable,
but the NIC on your second machine doesn't auto-negoitiate well with the router.

if you can do 100-full, lock the NIC to that and turn off auto-negotiate. do the same
on the router.

you don't really mention if the other box (that works connected to the router) is using
DHCP as well. on bigger routers you have to turn on DHCP per interface, maybe it's
on for the port that feeds the hub but not on for the other ports.

it's also possible that it's not a real router-per-interface but a router between one
uplink interface and the rest of the ports are switched.

it boils down to: if the other machine works and this one doesn't then it's most likely
an auto-negotiation issue.
Back to top
View user's profile Send private message
Larry The Cow
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jan 2005
Posts: 99

PostPosted: Thu Mar 03, 2005 11:52 pm    Post subject: Reply with quote

The other machine does have the same NIC, and it does use DHCP. But I think the problem may be with my computer's hardware; I tried a Morphix livecd, and a Fedora livecd, and I have the same problem.
_________________
-Larry The Cow


Maybe Today!
Back to top
View user's profile Send private message
Larry The Cow
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jan 2005
Posts: 99

PostPosted: Thu Mar 03, 2005 11:58 pm    Post subject: Reply with quote

Oh, and BTW, how do you disable auto-negotiation? :oops:
_________________
-Larry The Cow


Maybe Today!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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