LinuxQuestions.org
Visit Jeremy's Blog.
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 12-24-2004, 01:17 PM   #1
rcbarnes
LQ Newbie
 
Registered: Nov 2004
Posts: 7

Rep: Reputation: 0
Question Crossover cable network between XP and Gentoo to shace internet connection


I am trying to connect my Gentoo box to my XP computer for the purpose of sharing an internet connection. I don't have any hardware to do this except the NICs from the computers and a crossover cable. I have previously successfully used the same setup to connect an XP box where the Gentoo box is now.

Here's what I have done thus far:
Manually set the NIC on the gateway computer to IP: 192.168.0.1, Subnet mask 255.255.255.0, Default Gateway, DNS Server, WINS Server all set to ""

Set the DSL modem connection ICS: (true) allow other network users to connect though this computer's Internet connection. All the other settings for that are automatic (DHCP, auto get DNS, automatic private IP, etc.)

/etc/conf.d/net changes: (only changes on the Gentoo box)
the only un-commented lines are
iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
gateway="eth0/192.168.0.1"

from the Gentoo laptop:
# ping 192.168.0.1
connect: Network is unreachable

from the XP box:
ping 192.168.0.2
Pinging... blah blah
Ping timed out.
Ping timed out.
Ping timed out.
Ping timed out.

HELP!
 
Old 12-24-2004, 09:13 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Perhaps MS has crippled this feature so only other widows boxes can share the connection (I wouldn't put it past them).

In any event...I would investigate the setup of the windows box....I don't think the problem is with gentoo.
 
Old 12-24-2004, 10:49 PM   #3
Ateo
Member
 
Registered: Sep 2004
Location: Long Beach, CA
Distribution: FreeBSD,Ubuntu,Gentoo,MacOS
Posts: 139

Rep: Reputation: 15
The internet sharing function routes. Therefore NIC 1 and NIC 2 on your XP box MUST (I stress MUST) be on different networks. Routing does not occur within the same subnet.


Ex:
On your XP box, NIC 1 is connected to your DSL modem. NIC 1 IP == 192.168.1.x... NIC 2 (in order to route) must be on a different network => 192.168.2.x. Now the gentoo NIC should be on your XP NIC 2 network, 192.168.2.x..

HTH

Last edited by Ateo; 12-24-2004 at 10:51 PM.
 
  


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
internet connection sharing between two computers using crossover cable farnell_mark Debian 1 06-04-2005 04:44 PM
Win98 and RedHat 6.0 Internet Connection Sharing with a crossover cable lorisdaboris Linux - Networking 3 03-13-2005 10:24 AM
Sharing internet connection between Slackware and XP via crossover cable islord Linux - Networking 3 01-24-2005 10:38 AM
problem sharing internet connection thru crossover network kozonak Linux - Newbie 3 03-09-2004 04:39 AM
Slackware 9, Windows XP, crossover cable and an internet connection dxdad Linux - Networking 37 11-11-2003 08:45 PM

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

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