Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-19-2005, 10:14 PM   #1
Registered: Nov 2003
Posts: 79

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.

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

2 XP/Linux dual boot machines - white - red

(Westell) DSL modem with Verizon

Belkin Wireless G router

Linux: Redhat 3.2
Kernel: 2.4.21-27.0.2.ELorafw1

I want the private network to be called:

The IP addresses need to be static.


Here is some analysis.

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

[root@red notes]# ping
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. red white localhost.localdomain localhost

route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface U 0 0 0 eth0 U 0 0 0 eth0 U 0 0 0 lo

cat /etc/sysconfig/network

ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:07:E9:3C:E3:24
inet addr: Bcast: Mask:
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: Mask:
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

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

route add default gw

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.

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

Rep: Reputation: 0

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


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 05:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration