LinuxQuestions.org
Review your favorite Linux distribution.
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 03-07-2004, 02:58 PM   #1
ro_1010
LQ Newbie
 
Registered: Mar 2004
Location: Mumbai, India
Distribution: Red Hat Linux 9, AIX
Posts: 8

Rep: Reputation: 0
Unhappy Intenet Configuration - Unable to browse


Hi All,
I have Windows XP Pro and Linux Red Hat ver 9 on my system. I am connected to a server though LAN. Intenet connection to my pc is through LAN and XP pro works fine.

On Linux, I can connect to the server through htpp and ftp. I have put in IP, Gateway and DNS similar to what has been set on the XP system. However I cannot connect to the Intenet on Linux. Noticed that I am able to get on to the server through http and ftp , as in when i type my server ip in the browser (both http and ftp). I do get connected to the server. However, I cannot browse anything else. When I try to get on to any website the message is unable to resolve websitename.

I have set all values in the setup interface - using neat command.

Tried a lot to locate a similar post/solution - a link if it exists will also help me. I am new to Linux.


Thanks,
Ro

Now.... will be ....... if i
 
Old 03-07-2004, 03:43 PM   #2
zaphodiv
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
Ask your network administrator.

>I have put in IP, Gateway and DNS similar to what has been
>set on the XP system.
Similar or the same?

can you ping the dns server?
 
Old 03-07-2004, 04:43 PM   #3
ro_1010
LQ Newbie
 
Registered: Mar 2004
Location: Mumbai, India
Distribution: Red Hat Linux 9, AIX
Posts: 8

Original Poster
Rep: Reputation: 0
Hi zaphodiv,
The IP, gateway and DNS are exactly the same in Linux as its in my Xp Pro. I am able to ping DNS and Gateway from XP, but from linux, I cannot ping Gateway and DNS - Destination Unreachable, message. I remember clearly being able to ping the Gateway successfully in my earlier attempts to solve the issue.

Also I noticed that the MAC address in XP differs from that in Linux. I tried changing the mac address of Linux to match that of XP, but it does not allow me to do so.

Thanks,
-ro
 
Old 03-07-2004, 07:04 PM   #4
Skunk_Face
Member
 
Registered: Jan 2004
Posts: 54

Rep: Reputation: 15
if both ur xp and nix are on the same LAN network...wont be advisable to have everything the same ( should at least have a unique IP)

is there anything in ur iptables or firewall that could be blocking access to ur DNS or gateway?
 
Old 03-07-2004, 11:27 PM   #5
ro_1010
LQ Newbie
 
Registered: Mar 2004
Location: Mumbai, India
Distribution: Red Hat Linux 9, AIX
Posts: 8

Original Poster
Rep: Reputation: 0
Hi,
Skunk, my XP and Nix are on the same box; my server is not on DHCP - so i have a static ip assigned. so at any time my machine is on XP or nix connecting to the server using the assigned ip.

In the past I was able to ping my DNS, get connected to the server using http and ftp followed by servername and i could see the server homepage, however i could not access any website.

Currently a ping to DNS and gateway results in Network Unreachable.

I dont mind to start over again, may be that would allow this forum to guide me better. How do I use the settings (ip,DNS,Gateway etc) to work for my nix.

Thanks
-ro
 
Old 03-07-2004, 11:53 PM   #6
Skunk_Face
Member
 
Registered: Jan 2004
Posts: 54

Rep: Reputation: 15
easiest way i can think of is using x

type

#redhat-network-config

if its not already configured..add/edit ur ethernet configuration. Add ur IP, subnet (make this the same as your gateway subnet if gw is in ur LAN) and Gateway.

In the DNS tab...enter your primary and/or secondary DNS.

save and restart your networking

#service network restart

check that ur NIC is configured properly

#ifconfig eth0 <<substitute with appropriate NIC

then ping ur gateway, if successful
then ping ur DNS
 
Old 03-08-2004, 01:10 AM   #7
ro_1010
LQ Newbie
 
Registered: Mar 2004
Location: Mumbai, India
Distribution: Red Hat Linux 9, AIX
Posts: 8

Original Poster
Rep: Reputation: 0
Hi,
Skunk thanks for replying promptly.

I did go to redhat network config, removed my existing connection and built a new one.

I am still unable to ping Gateway and DNS. The results of ifconfig eth0 are:

Link encap:Ethernet HWAddr:00 02 44 53 c2 55
inet addr: 172.16.15.22 Broadcast: 172.16.15.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST METRIC=1

Rx Packets:24344 errors=0 dropped=0 overruns=0 frame=0
Tx packets:16 collision=0 txqueuelength=100
Rx Bytes=5.2 MB Tx Bytes:672 b
Interrupt:11 Base Addr: 0xc000

Note that the above config has been typed (not copy pasted) - I suppose all necessary information is available.

Thanks
-ro
 
  


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
Unable to browse ALL webpages jr88 Slackware 6 10-27-2005 12:06 PM
Unable to browse the internet daliernest Linux - Newbie 2 08-12-2004 04:50 PM
Unable to browse internet windoze killa Linux - Networking 17 02-10-2004 03:53 AM
Unable to Browse Sites tanmay_79 Linux - Networking 1 09-05-2002 02:08 AM
unable to browse the internet with smoothwall jude Linux - Security 3 05-07-2002 08:06 AM

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

All times are GMT -5. The time now is 06:03 AM.

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