LinuxQuestions.org
Visit Jeremy's Blog.
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 09-09-2002, 01:21 AM   #1
luck02
LQ Newbie
 
Registered: Sep 2002
Posts: 1

Rep: Reputation: 0
Question LAN network issues. (


Ok, I have Debian 3.0 installed and running on my p233..

Among the functions I want it to perform is to act as a router for 2 other machines.

My DSL line currently runs into a hub from wich I have a line going to my windows machine and my linux machine. From eth1 I have a line going straight into another machine while I am setting this up... Once it's working I will be purchasing a hub and running two lines from it.

I have installed a second NIC card into the linux box and seem to have it configured properly. IE: when I

ifconfig eth1 192.168.0.1

It seems to be working and I can ping eth1 without problems..

From there I have tried several rulesets for setting up masquerading etc, and I can't get ANY communication with the machine it's plugged directly into. When I try to set up a route "route add -net 192.168.1.0 netmask 255.255.255.0 gw <insert my ISP's gateway here> dev eth1
"
I get this error message:

That network is unreachable.

The only thing that I can think of is that I should be useing a cross over cable instead of a straight cable, would that cause these problems or am I barking up the wrong tree?

TIA

Also, could anyone suggest further resources on these subjects? Specifically about cross over & straight cables as that's the part I don't understand..
 
Old 09-09-2002, 04:57 AM   #2
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
If you do not have a hub between the two machines then you should definetly be using a crossover cable.

Chapter 5 of the ethernet howto
http://www.tldp.org/HOWTO/Ethernet-HOWTO.html

Last edited by Mik; 09-09-2002 at 05:00 AM.
 
  


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
lan issues vrdhananjay Linux - Networking 3 11-01-2004 10:41 AM
Lan surfing Issues gunnyrock Linux - Networking 0 03-23-2004 04:27 PM
DNS/email issues inside and out of LAN swingheim Linux - Networking 4 11-22-2003 01:02 PM
LAN Connectivity issues withotnot Linux - Networking 5 10-08-2003 12:57 PM
LAN Issues :( fusion1911 Linux - Networking 6 08-20-2003 02:44 PM

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

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