LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-19-2005, 10:14 PM   #1
Darrell22
Member
 
Registered: Nov 2003
Posts: 74

Rep: Reputation: 15
Configure DSL and Linux network


Dear Experts,

I have 2 XP/Linux dual boot machines.

Previously, these machines were connected with a
crossover cable, and they could talk to each other.
But now, there is a DSL modem, and router that
is not configured right.

I have installed DSL on the XP side, and it is working well.
Now, I'm trying to get it to work on Linux. First and
foremost, I need the two Linux machines to talk to each
other, through the router. Internet is secondary.
Wireless is completely unnecessary, and unwanted.

So far, I can't even ping the modem, or router, so
some fundamental configuration is needed.


Hardware:
The IP addresses are what is configured on the XP side.

2 XP/Linux dual boot machines
192.168.2.2 - white
192.168.2.3 - red


(Westell) DSL modem with Verizon
192.168.1.1


Belkin Wireless G router
192.168.2.1
also
192.168.1.47



Linux: Redhat 3.2
Kernel: 2.4.21-27.0.2.ELorafw1


I want the private network to be called:
testrac.com


The IP addresses need to be static.


--------------------------

Here is some analysis.

[root@red notes]# ping 192.168.1.1
connect: Network is unreachable

[root@red notes]# ping 192.168.1.47
connect: Network is unreachable

Fortunately, the machine can ping itself.


cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
192.168.2.3 red.testrac.com red
192.168.2.2 white.testrac.com white
127.0.0.1 localhost.localdomain localhost


route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo


cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=red.testrac.com


ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:07:E9:3C:E3:24
inet addr:192.168.2.3 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:917 errors:0 dropped:0 overruns:0 frame:0
TX packets:743 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:189781 (185.3 Kb) TX bytes:53423 (52.1 Kb)
Interrupt:10 Base address:0xdf40 Memory:fcffb000-fcffb038

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:16505 errors:0 dropped:0 overruns:0 frame:0
TX packets:16505 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1750236 (1.6 Mb) TX bytes:1750236 (1.6 Mb)


cat /etc/resolv.conf
search testrac.com

cat /etc/dhcpd.conf
cat: /etc/dhcpd.conf: No such file or directory


route add default gw 192.168.1.1

SIOCADDRT: Network is unreachable


--------------------------


I've been looking for a good how-to on the web, but
can't find anything concise. If you know of some
good concise web pages, please refer me to them.

Or, if you know what I need to do, please let
me know.


Thanks!
 
Old 06-19-2005, 11:41 PM   #2
Sandman1
LQ Newbie
 
Registered: Jun 2005
Posts: 9

Rep: Reputation: 0
Subnet

The problem i see is that you are on two different subnets. You are probably using a netmask of 255.255.255.0 and 192.168.1.0 cannot access 192.168.2.0. An easy fix would be to put them all on one subnet or change the netmask to 255.255.0.0. Another way would be to implement some routing rules on the router so that the router can route the two different subnets accordingly.
 
  


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
How can i configure the network options on a suse9.1 dsl with t-online john snels Linux - Networking 0 10-20-2004 01:22 PM
DSL Internet sloooooow on 20-pc network w/Linux server Avatar Linux - Networking 12 10-20-2004 08:31 AM
connecting linux to windows98 home network and dsl internet L_netgram3 Linux - Networking 2 10-02-2003 05:43 AM
DSL/ Linksys DSL Router/ Linux cant see the network... Robert0380 Linux - Networking 9 04-03-2002 05:09 AM
How to configure a Network everywhere fast network card under Linux Mandrake 7.2 margo256 Linux - Newbie 1 03-12-2001 11:45 AM


All times are GMT -5. The time now is 04:05 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration