LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 06-25-2002, 04:04 AM   #1
guanyu
Member
 
Registered: Jul 2001
Distribution: RedHat 7.0,7.1,7.2,7.3,8.0. Sun Solaris
Posts: 111

Rep: Reputation: 15
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?
 
Old 06-25-2002, 04:43 AM   #2
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
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.

Luck,

Finegan
 
Old 06-25-2002, 04:53 AM   #3
guanyu
Member
 
Registered: Jul 2001
Distribution: RedHat 7.0,7.1,7.2,7.3,8.0. Sun Solaris
Posts: 111

Original Poster
Rep: Reputation: 15
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.


Guanyu
 
Old 06-25-2002, 05:08 AM   #4
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
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.

Cheers,

Finegan
 
Old 06-25-2002, 05:25 AM   #5
guanyu
Member
 
Registered: Jul 2001
Distribution: RedHat 7.0,7.1,7.2,7.3,8.0. Sun Solaris
Posts: 111

Original Poster
Rep: Reputation: 15
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.


Regards,
Guan Yu
 
Old 06-25-2002, 06:30 PM   #6
guanyu
Member
 
Registered: Jul 2001
Distribution: RedHat 7.0,7.1,7.2,7.3,8.0. Sun Solaris
Posts: 111

Original Poster
Rep: Reputation: 15
finegan,
Thanks. It's working.!! Have a nice day.

Regards,
Guan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird network problem rrwhite Ubuntu 2 07-07-2005 04:58 AM
Network card weird problem.... hkl8324 Linux - Networking 2 06-16-2005 04:08 AM
weird network problem zaichik Linux - Newbie 2 07-03-2004 07:17 AM
Weird network problem again rch Linux - Networking 5 11-11-2003 10:00 PM
Weird Network Problem syxxpac023 Linux - Networking 0 10-05-2001 07:37 AM


All times are GMT -5. The time now is 09:26 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration