LinuxQuestions.org
Help answer threads with 0 replies.
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 11-04-2003, 04:51 PM   #31
rjwright
LQ Newbie
 
Registered: Oct 2003
Distribution: debian
Posts: 29

Rep: Reputation: 15

I eddited my prior post I made some minor mistakes, try re-reading them.

the zeros in your routing tables need to be filled in or your still sending your requests to 0.0.0.0 wich is the default gateway for the local machine wich is not your windows box it is the linux box.

Last edited by rjwright; 11-04-2003 at 04:56 PM.
 
Old 11-04-2003, 05:09 PM   #32
Half-Saint
LQ Newbie
 
Registered: Nov 2003
Location: Ljubljana, Slovenia
Distribution: RedHat 7.2
Posts: 19

Original Poster
Rep: Reputation: 0
How should that default line look like please and how do I change it exactly without getting any errors? Thanks.. see my upper post..

SainT
 
Old 11-04-2003, 05:27 PM   #33
rjwright
LQ Newbie
 
Registered: Oct 2003
Distribution: debian
Posts: 29

Rep: Reputation: 15
/sbin/route add default gw 192.54.0.10

I made up the 192.54.0.10 part but what ever it is, you want that to show up as default when you type in route by itself.
you may also have to delete it first if it alread has a static route given to it
your current configuration would probably require to first delete

default BlackBox 0.0.0.0 UG 0 0 0 eth0 by typing

/sbin/route delete 0.0.0.0

this is will probably get rid of an error when you add the route to the windows box as a gateway

right now you also have a static route to your local network and localhost, this is fine
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.1 * 255.0.0.0 U 0 0 0 lo

Last edited by rjwright; 11-04-2003 at 05:28 PM.
 
Old 11-04-2003, 05:37 PM   #34
Half-Saint
LQ Newbie
 
Registered: Nov 2003
Location: Ljubljana, Slovenia
Distribution: RedHat 7.2
Posts: 19

Original Poster
Rep: Reputation: 0
Still getting this:

[root@Pingvin network-scripts]# route add default gw 194.249.64.207
SIOCADDRT: Network is unreachable
 
Old 11-04-2003, 05:55 PM   #35
rjwright
LQ Newbie
 
Registered: Oct 2003
Distribution: debian
Posts: 29

Rep: Reputation: 15
how are the computers physically connected?

are you using use dhcp and set up a connection between the windows host and the linux box? you gave it the name of blackbox?

you can get a ping reply from the windows box?

I have got that error and usually it was because I was trying to route to the wrong address number.
 
Old 11-04-2003, 06:06 PM   #36
Half-Saint
LQ Newbie
 
Registered: Nov 2003
Location: Ljubljana, Slovenia
Distribution: RedHat 7.2
Posts: 19

Original Poster
Rep: Reputation: 0
The computers are connected to a 10 Mbps hub via UTP cables.
I'm not using DHCP but static IPs instead as stated in my first post.
I can successfully ping all PCs on the LAN.
I get that error when I try to add the IP of my Internet Service Provider's remote gateway.

SainT
 
Old 11-04-2003, 06:18 PM   #37
rjwright
LQ Newbie
 
Registered: Oct 2003
Distribution: debian
Posts: 29

Rep: Reputation: 15
The computers are connected to a 10 Mbps hub via UTP cables.
I'm not using DHCP but static IPs instead as stated in my first post.
I can successfully ping all PCs on the LAN.
I get that error when I try to add the IP of my Internet Service Provider's remote gateway.


why do you want to add the ip address of the ISP's Gateway? This should be passed to you from the Windows box that actually has the connection.
via ICS

you want to add the IP addess of the windows Host it is the gateway to your ISP's gateway. Is this what you are doing?

so you gave your windows machine an ip address of
194.249.64.207

if this is the address of the ISP's gateway then that would definately explain the network unreachable error.

Last edited by rjwright; 11-04-2003 at 06:22 PM.
 
Old 11-04-2003, 06:30 PM   #38
Half-Saint
LQ Newbie
 
Registered: Nov 2003
Location: Ljubljana, Slovenia
Distribution: RedHat 7.2
Posts: 19

Original Poster
Rep: Reputation: 0
I finally got it to work! Thanks for ALL the help! Really!

Oh man, the error was on the XP side! Now I can finally go to bed!

Cheers
SainT
 
  


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
dual-boot WinXP-RH9 shared Internet access via DSL provri Linux - Wireless Networking 0 07-26-2005 01:41 AM
Getting ICS to work with a WinXP host, with satellite internet darkblade Linux - Networking 3 08-17-2004 05:26 PM
ICS like in WinXP.... is there a way? d_w_k102 Linux - Networking 4 04-11-2004 08:29 PM
redhat 8 to winXP ICS ph33rful Linux - Networking 1 08-01-2003 12:54 PM
winXP ICS to mandrake 9.0.......HELP! the anti-riced Linux - Newbie 3 05-07-2003 08:47 PM

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

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