General discussion

Locked

Linux / Windows network HELP!

By M Trump ·
OK, here's the situation: I'm a Windows specialist w/ a basic understanding of networking principles and I'm trying to help my brother get my Dad's PIII to share his cable modem on a Linux box. Basically, I'm stumped.

Here's the architecture:The cable modem is hooked up to the Linux box to one NIC w/ a crossover cable, Another NIC on the same machine is connected to a hub w/ a straight cable and another straight cable from the hub is connected to the NIC in my Dad's PC. All NICs are working (getting lights) but neither machine can see the other when pinged. The PC is set up with a static IP and has the Linux box's IP set as a gateway, I've also mixed between no IP and no gateway but no go. My brother says he has his end set up right but I have no idea....whatever suggestions I get I'm forwarding them to him as well. This should be simple to do, I'm just not familiar enough w/ Linux or advanced networking to get it to work......

HELP!!

This conversation is currently closed to new comments.

17 total posts (Page 1 of 2)   01 | 02   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Linux / Windows network HELP!

by mtuppen In reply to Linux / Windows network H ...

I'm not sure what it is you are wanting to do once you have the PC's networked. If you are wanting to share an internet connection, then IP-Masquerading may be the answer. There is a HOWTO on how to do it. It should be fairly simple to setup the network addressing on the linux PC, depending on the flavour of linux it is. If you're using RedHat, you can go into linuxconf (as root) and configure your IP settings there. There is also some networking HOWTO documents available from www.linuxdoc.org.On the other hand, if you are wanting to see Windows drives on the linux PC, you will need to have SAMBA installed. It all depends on what you intend on doing with it.

Regards,
Mike.

Collapse -

Linux / Windows network HELP!

by M Trump In reply to Linux / Windows network H ...

Share Internet connection and the Linux box has already been set up, it's getting the two machines to see each other that's the problem. Been to Linuxdoc already and I know about SAMBA but that's not even an issue right now. Thanks anyway!

Collapse -

Linux / Windows network HELP!

check out http://www.linuxdoc.org this site is home to the linux how-to's.

Collapse -

Linux / Windows network HELP!

by M Trump In reply to Linux / Windows network H ...

Thanks; been there, done that, T-shirt faded in the wash :-) In other words, no help........the Linux box has already been setup.

Collapse -

Linux / Windows network HELP!

by jcmcintyre In reply to Linux / Windows network H ...

The easiest way to share the Internet connection is by setting up a SmootWall Firewall / gateway.

Go to http://www.smoothwall.org

The completion installation takes about 30 minutes, completed firewalling, Ip masquerading, and a router.

Cheers

Jim

Collapse -

Linux / Windows network HELP!

by M Trump In reply to Linux / Windows network H ...

Poster rated this answer

Collapse -

Linux / Windows network HELP!

by marshallkeithusa In reply to Linux / Windows network H ...

Your first Mistake is that you should not use
a crossover cable. You did not say what
flavor of Linux you were using. IT DOES MAKE
A DIFFERENCE. Most of the newer versions use
ipchains or iptables. Most likely you are
using ipchains so lookat the man page for ip
chains. You also have to have the linux
machine set up with IP forward. using ip
chains forward to deny. Then on the nic that
is hooked to the DSL to masq the address
range of your internal network. I have the
same setup with a cable modem. If you could
tell us what IP's and what version of linux I
could be more accruate.

Collapse -

Linux / Windows network HELP!

by M Trump In reply to Linux / Windows network H ...

Poster rated this answer

Collapse -

Linux / Windows network HELP!

by dallen In reply to Linux / Windows network H ...

I would agree with Marsha, you shouldn't be using a cross-over cable to the DSL router. You would only need a corss-over if you were going from the DSL router to the HUB/Switch. And if you did this you're DSL router would have to support Proxy/Firewall, so you would not be charged for extra connections.

You may want to check your subnetting, If ypu cannot ping the machine than you may not be local to it. Also if your brother is like mine, Make sure he does not have a "Deny" record for your machine. I would statically add your machine to the Linux routing tables. Also add the Linux bow to your windows Hosts file.

Collapse -

Linux / Windows network HELP!

by M Trump In reply to Linux / Windows network H ...

Poster rated this answer

Back to Linux Forum
17 total posts (Page 1 of 2)   01 | 02   Next

Related Discussions

Related Forums