LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 04-07-2004, 11:53 PM   #61
seow_ming
Member
 
Registered: Mar 2004
Location: Currently in China
Distribution: Fedora 9
Posts: 130

Original Poster
Rep: Reputation: 15

To everybody,

Recently I found out that there is actually a switch under my building which is used to connect my XP box to intenet.

I remember last time someone has asked me to "tracert"( in XP box) and testing the result.

Hm... until today, which is already about 1 months, my LINUX RH Enterprise ES still unable to connect to the internet.

Below will be my system specs:

Celeron 1 GHZ
320 MB RAM
2 NIC(s)
2 H/d(s) Maxtor 7200
Dual Boot --> XP PRO & RH Enterprise ES

I tried DHCP, and also manually insert my IP(provided by my ISP), but seems not work~~~ what can i do now?

your helpful will be very much appreciated~~~

Sad Adam~

Last edited by seow_ming; 04-07-2004 at 11:55 PM.
 
Old 04-08-2004, 12:54 PM   #62
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
Have you tried anything from my last post?

MrKnisely
 
Old 04-08-2004, 04:44 PM   #63
urzumph
Member
 
Registered: Jan 2004
Location: Australia
Distribution: Debian
Posts: 168

Rep: Reputation: 30
we need to see the actual output of the tracert -
tracert www.google.com > C:\tracert.txt
will make that nice and easy - just post the contents of the tracert.txt

The switch in your basement, are you SURE it's a switch and not a router?

If it IS a router, I am wondering if this is anything like this
thread? Try installing the pump client just to be sure.
 
Old 04-08-2004, 04:58 PM   #64
urzumph
Member
 
Registered: Jan 2004
Location: Australia
Distribution: Debian
Posts: 168

Rep: Reputation: 30
The other thing I realised is that we havent got the results of an ifconfig (on the linux machine) yet - could you do that? I just want to make sure it recognises both network cards.
 
Old 04-08-2004, 07:39 PM   #65
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
The questions don't end there....

If we're working with a router it's a stupid one... Read my posts on the oddities of the IP/Subnet issues.

We've got some STRANGE things happening here.

I'm betting that a tracert off the Win box will bomb.

MrKnisely
 
Old 04-09-2004, 05:22 AM   #66
urzumph
Member
 
Registered: Jan 2004
Location: Australia
Distribution: Debian
Posts: 168

Rep: Reputation: 30
Re: The questions don't end there....

Quote:
Originally posted by charon79m
I'm betting that a tracert off the Win box will bomb.
[/B]
It will - I forgot to read the post history. He needs to use tracetcp, which I hope should work

PS : I'm going to look again at what you said about the odd behaviour, but it seemed to make sense to me at the time I wrote it
 
Old 04-09-2004, 05:41 AM   #67
urzumph
Member
 
Registered: Jan 2004
Location: Australia
Distribution: Debian
Posts: 168

Rep: Reputation: 30
Jeez this is confusing. I see what you mean now -
Quote:
What I know is when after I subscribe my internet access, my ISP will provide me a detail in an A4 paper. Inside the detail, it does noted that please key in the below information in each column in your "network setting" from your Windows XP.

Then below the A4 paper will have this:

IP : 192.xxx.xxx.xxx
And yet his computer is connected to a switch in the basement.

This doesn't make sense unless the ISP owns the switch in the basement, which seems unusual. Would an ISP be willing to hand out IP addresses willy nilly? (assuming some thoughtless person stuck a switch on the end of a line from the ISP) I guess it might, considering everything is in the local subnet, but it seems unusual (what else is new)

[Edit - The ISP does own the switch in the basement -
"Yes, the other end of the cable is pluged into the wall.
My ISP didn't provide me any router or modem."]

Last edited by urzumph; 04-09-2004 at 05:52 AM.
 
Old 04-12-2004, 09:37 AM   #68
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
Look at the info regarding the subnet masks and addresses. The IP they are giving him is the network number for his subnet, not one of the usable IP's. Beyond that, the default gateway he is getting is on a completely seperate subnet alltogether.

It just doesn't make sense. The only thing that makes sense is that and ISA proxy exists on the network and that he is having to authenticat with it to get out to the internt.

If that's the case, try to get to the internet and then when you get the password page go to a command line. At that point type: netstat

You'll get a bunch of output. Look in the 3rd column for something like computername.domain:8080. The 8080 is the main thing too look for. Once you find the 8080 note the computer name and try to ping it; note the IP address. Once you have that we can try to see if the utility I spoke about earlier that allows linux through a M$ authenticating proxy will work.

Best of luck!

MrKnisely
 
Old 04-20-2004, 09:18 PM   #69
seow_ming
Member
 
Registered: Mar 2004
Location: Currently in China
Distribution: Fedora 9
Posts: 130

Original Poster
Rep: Reputation: 15
Thankyou for everyone who helped me.

Here I would like to say thankyou to everyone who ever help me, Especially urzump, Mrknisely.

Sorry for never reply you all in such a long time. This is due to I was sent to another province in Beijing China by my company for working purpose.

I will try to reply you all as soon as i can while i'm back to my China home. thankyou very much!

~Anix~
 
Old 07-09-2004, 09:41 AM   #70
seow_ming
Member
 
Registered: Mar 2004
Location: Currently in China
Distribution: Fedora 9
Posts: 130

Original Poster
Rep: Reputation: 15
To Urzump & Mrknisely, still remember me? I'm Anix from China here. Guess what? I'm sending this reply from with using Linux!!~~ hehee~~ Finally i can online with using my Linux Box~

Guess what I did for this? the answer is "Dissable Linux's Firewall"~~!!!

Wow man, previously my Linux cannot connected to the Internet is because of from the Linux Firewall setting, I didn't set my eth0 and eth1 as the device which can pass through the firewall settings. No wonder I just cannot connect to the Internet successfully with my Linux platform.

Anyway, thanks for both of your help and the rest people who ever helped me before.


Anix
 
Old 07-09-2004, 02:26 PM   #71
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
Good news...

That is wonderful news!

It still does not explain all the strange things happening with the IP addresses/routing, but if it's working lets not try to fix it.

I hope all the work was worth it. I know I've switched all my machines to Linux. I still have one that dual boots Win2k, but I only use that to web into my Cisco827. For some reason the Java plugins for Linux browsers won't display it properly.

Thanks for the update.

MrKnisely
 
Old 07-10-2004, 03:43 AM   #72
seow_ming
Member
 
Registered: Mar 2004
Location: Currently in China
Distribution: Fedora 9
Posts: 130

Original Poster
Rep: Reputation: 15
MrKnisely,

First of all, it is nice that i can read your reply again.

Now i have another questions. My house have two computers. One is Win98(my dad is using), and the another one is Dual boot (Xp + Redhat 8.0) <-- i'm using

Previously my dad's win98 is sharring the internet connection from my dual boot PC with the specification below:

My Dad's PC:
=========
- win98
- 1 NIC

My PC
=====
- XP + Redhat
- 2 different brand of NIC (D-Link & Realtek)

So last time i'm using WinXP platform and one of the NIC to connect to the internet and the another one to be the middle media that connects with my dad's pc.

So may i know how can i do this in my RH 8.0?

Anix
 
Old 07-10-2004, 11:35 PM   #73
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
I'm sure it can be done; however, I do not know Redhat8 very well. I've always used Debian for my Internet Connection Sharing machines.

All you should need to do is address both interfaces, enable routing in the kernel, and define any firewall rules.

I'd guess there would be some howto articles on the internet for this; have you tried searching?

As it stands now, what happens if you connect your Linux box to the internet and configure your dad's 98 box to use the addres of your other NIC in your Linux box as its default gateway?

It may routee already since you have dismantled your firewall.

Cheers,

MrKnisely
 
Old 07-11-2004, 12:13 AM   #74
urzumph
Member
 
Registered: Jan 2004
Location: Australia
Distribution: Debian
Posts: 168

Rep: Reputation: 30
<rant>Why does everyone forget the h!</rant>

As for the bridging, I did some work on a redhat machine recently and seem to remember a GUI config for that. Otherwise, you will have to manually configure the bridge. If you have to do that, take a look at :
http://bridge.sourceforge.net/howto.html
 
Old 10-09-2004, 08:56 PM   #75
seow_ming
Member
 
Registered: Mar 2004
Location: Currently in China
Distribution: Fedora 9
Posts: 130

Original Poster
Rep: Reputation: 15
Re: Good news...

Quote:
Originally posted by charon79m
That is wonderful news!

It still does not explain all the strange things happening with the IP addresses/routing, but if it's working lets not try to fix it.

I hope all the work was worth it. I know I've switched all my machines to Linux. I still have one that dual boots Win2k, but I only use that to web into my Cisco827. For some reason the Java plugins for Linux browsers won't display it properly.

Thanks for the update.

MrKnisely
I'm here to solve your question. I gave a wrong information before regarding to my gateway from my very previous post, and here is the correct one: [note: the correct gateway should be 192.168.22.1]

IP Address..........: 192.168.22.2
Subnet Mask.......: 255.255.255.0
Default Gateway : 192.168.22.1
DNS.....................: 211.147.192.1

I wrote a wrong gateway to you all since last time, and I think this is why it makes MrKnisely and Urzumph confuse and feel strange to it. So, I think the above corrected information will solve your confusion.




adam

Last edited by seow_ming; 10-09-2004 at 08:59 PM.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kerberos Connnection Refused! mesh2005 Linux - Networking 0 11-13-2005 02:54 AM
setup internet king kong killa Linux - Networking 18 06-07-2004 03:54 PM
internet setup oregonroper Linux - Networking 3 10-06-2003 08:36 PM
redhat valhalla internet setup help!! siegwulf Linux - Networking 1 03-22-2003 11:42 PM
Internet setup Ungabi ! Linux - Software 17 03-16-2002 04:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:05 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration