LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-13-2006, 09:20 AM   #1
sidalex
LQ Newbie
 
Registered: Sep 2006
Posts: 1

Rep: Reputation: 0
gateway: reachable in windows not in GNU/Linux


hello
i am using a Realtek RTL-8139 ethernet controller.
i am able to use the internet and other networking services on a Windows OS without any problems.
But in a GNU/Linux system, i am not able to set my gateway entry to the one used in the windows environment.
my internet connection uses a static ip setting with the following entries used in windows:

ip address: 192.168.27.18
netmask: 255.255.255.0
gateway: 192.168.20.1
dns server: 192.168.20.1

i use Ubuntu GNU/Linux 5.10 and i tried both the GUI way and the command line way (using ifconfig and route commands). ifconfig doesnt report a problem. but when i do:

Code:
# route add default gw 192.168.20.1
it gives a network unreachable error.
there is a web-based login system on the gateway system, which obviously doesnt work because the system doesnt ping to it at all.

even using another distro (i tried red hat linux also) didnt work.

i have been trying to solve the problem since a long time.
can somebody here please help me out.
thanks in advance.
 
Old 09-13-2006, 01:50 PM   #2
indeterminate
Member
 
Registered: Oct 2003
Location: Virginia, US
Distribution: Debian, Ubuntu, Knoppix.
Posts: 76

Rep: Reputation: 17
I've noticed a similar "problem" in linux in the past. I think the issue is that, according to the netmask you've set on the interface, your gateway & dns server aren't on the same subnet as your PC. Windows ignores this, because its networking is sloppy, but Linux demands a correct netmask.

Basically, the admin of your ISP is lazy and probably doesn't understand IP subnetting.

Try changing your netmask to 255.255.224.0, and see if that helps.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Is GNU/Linux Really Replacing Windows? LXer Syndicated Linux News 0 08-11-2006 11:03 AM
LXer: Are You Replacing Windows with GNU/Linux? LXer Syndicated Linux News 0 01-01-2006 05:16 PM
Web-based apps: ActiveX/Java:Windows <--> ${???}:GNU/Linux johnMG Programming 3 12-03-2004 09:37 PM
How to access Windows OS from Gnu/Linux vida Linux - Software 5 02-12-2004 12:14 PM
Why GNU/Linux is Better than Windows sridharinfinity Linux - General 11 05-29-2003 04:39 PM

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

All times are GMT -5. The time now is 08:55 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