Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Distribution: RedHat 7.0,7.1,7.2,7.3,8.0. Sun Solaris
Posts: 111
Rep:
weird network problem
Guys I am having a weird problem here. Right now, I am using Winxp as Server(ICS). I got another PC which is K6-2. I wanna migrate my ICS to my K6-2(RH 7.3). Setup DHCP to my clients(LAN). I tried to plug my ISP to my K6-2 NIC card. When it boot up, it failed to determine IP. I am confirm that my ISP is using DHCP. So I unplug it and plug another RJ-45(cable) from my hub to my K6-2. But this time, it grabbed the ip(192.168.xx.xx) from my Winxp. I have no idea what is going on? I guess this is nothing to do with my NIC card driver and my ISP rite? Since it boot up and grab my local ip from my Winxp. Any idea?
If the WinXP machine is using dhcp and your Linux box can connect to it and your ISP is using dhcp, then the Linux box should be able to connect to it unless:
a) the ISP stores MAC addresses from the NICs and won't hand out a lease to one that doesn't match, or much more likely:
b) Your ISP doesn't use dhcp, but probably uses pppoe, which is far more common among broadband. Or,
c) The modem, dsl or cable? is storing the lease info and needs to be power cycled between the time you unplug the XP machine and plug in the Linux box so it'll forget about the XP machine.
Distribution: RedHat 7.0,7.1,7.2,7.3,8.0. Sun Solaris
Posts: 111
Original Poster
Rep:
Finegan,
a) the ISP stores MAC addresses from the NICs and won't hand out a lease to one that doesn't match, or much more likely:
Solution: So I need to unplug my Winxp NIC connected to my ISP modem and plug it into my RH7.3 machine. Is that what you mean?
b) Your ISP doesn't use dhcp, but probably uses pppoe, which is far more common among broadband.
I have checked my winxp network status, address type assigned by DHCP. I don't think this cause the problem.
c) The modem, dsl or cable? is storing the lease info and needs to be power cycled between the time you unplug the XP machine and plug in the Linux box so it'll forget about the XP machine.
If the WinXP machine is using dhcp and your Linux box can connect to it and your ISP is using dhcp, then the Linux box should be able to connect to it unless:
My Internet is cable. I have checked my network status, the lease time 24 hrs. I have to turn off my winxp machine 24 hrs and let my ISP release my IP to another client. After that, I try to turn on my RH7.3 pc and grab a new ip. Anyway, Thank for ur info. I will try to email or call my isp. If you got any clue pls let me know ok. Have a nice day.
Its probably C, but not the same way. The cable modem may be the big problem, unplugging that for a few minutes and then switching the machines might do it.
Yeah, most cable companies use dhcp, its quick, clean, and easy, most DSL companies use pppoe because it keeps them from having to change their infrastructure from the dial-up days... pppoe is a pain in everyone's.... well, anyway.
Offhand why the Linux box would grab a dhcp lease from the XP machine and not the cable modem doesn't make much sense, unless...
Did you just leave all the machines on and just switch the cabling? Sorry to ask, it might sound offensive if I'm far off, but the dhcp leases have to be stopped and then restarted. With the linux box you can do this live by killing the lease to the XP machine with:
dhcpcd ethX -k
and then swapping the cable into the cable modem and restarting it with:
dhcpcd ethX
Where X is the number of the ethernet card, probably eth0.
Distribution: RedHat 7.0,7.1,7.2,7.3,8.0. Sun Solaris
Posts: 111
Original Poster
Rep:
Finegan,
I just called my ISP. They asked me to turn off my modem for a 30 seconds. My ISP storing my NIC mac address into my modem cache. I will try it now tomorrow. Let you know whether is working tomorrow Thank you !!! Have A Nice day.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.