Networking Forums

Networking Forums > Computer Networking > Linux Networking > DSL Router Help

Reply
Thread Tools Display Modes

DSL Router Help

 
 
Guenter Riker
Guest
Posts: n/a

 
      07-04-2004, 04:35 PM
Hi there,

I need some help.

I've got a server/webserver running Suse 9.0. I've just installed a Zoom X4
Adsl modem/router, which I'm trying to use as a replacement for a SpeedTouch
modem on my BT Internet connection.

I've managed to set it up and am able to get onto the Internet on the
server, but I can't get my Windows XP workstations to get onto the net. I
don't know what I'm doing wrong.

I've got a network setup with static IP addresses. My IP setup is as
follows:

Adsl router 10.0.0.2 - 255.255.255.0 connected to an external interface
Ethernet card 192.168.0.2 - 255.255.255.0 with Gateway 10.0.0.2. The
internal interface Ethernet card has 192.168.0.1 - 255.255.255.0

In the route table on the router I put 192.168.0.2 - 255.255.255.0 - Gateway
10.0.0.2, which enables me to get onto the net with the server.

What do I have to do on the server so my workstation get onto the net, too?

It would be great if somebody could guide me in the right direction.

Thanks,

Günter


 
Reply With Quote
 
 
 
 
nikoli
Guest
Posts: n/a

 
      07-04-2004, 05:51 PM
Guenter Riker wrote:
> Hi there,
>
> I need some help.
>
> I've got a server/webserver running Suse 9.0. I've just installed a Zoom X4
> Adsl modem/router, which I'm trying to use as a replacement for a SpeedTouch
> modem on my BT Internet connection.
>
> I've managed to set it up and am able to get onto the Internet on the
> server, but I can't get my Windows XP workstations to get onto the net. I
> don't know what I'm doing wrong.
>
> I've got a network setup with static IP addresses. My IP setup is as
> follows:
>
> Adsl router 10.0.0.2 - 255.255.255.0 connected to an external interface
> Ethernet card 192.168.0.2 - 255.255.255.0 with Gateway 10.0.0.2. The
> internal interface Ethernet card has 192.168.0.1 - 255.255.255.0
>
> In the route table on the router I put 192.168.0.2 - 255.255.255.0 - Gateway
> 10.0.0.2, which enables me to get onto the net with the server.
>
> What do I have to do on the server so my workstation get onto the net, too?
>
> It would be great if somebody could guide me in the right direction.
>
> Thanks,
>
> Günter
>
>



What's your XP machine's IP address? Is it connected to a router
interface? Could you explain your setup a little more thoroughly?


(Why do you have your 10.0.0.0 subnetted so much? I'd just use 255.0.0.0)
 
Reply With Quote
 
mjt
Guest
Posts: n/a

 
      07-04-2004, 06:07 PM
Guenter Riker wrote:

> I've managed to set it up and am able to get onto the Internet on the
> server, but I can't get my Windows XP workstations to get onto the net.


.... what does having to get an eXPensive workstation
onto the net have to do with Linux?
..
--
<< http://michaeljtobler.homelinux.com/ >>
BOFH Excuse #423: It's not RFC-822 compliant.

 
Reply With Quote
 
David Wright
Guest
Posts: n/a

 
      07-04-2004, 06:21 PM
Guenter Riker wrote:

> Hi there,
>
> I need some help.
>
> I've got a server/webserver running Suse 9.0. I've just installed a Zoom
> X4 Adsl modem/router, which I'm trying to use as a replacement for a
> SpeedTouch modem on my BT Internet connection.
>
> I've managed to set it up and am able to get onto the Internet on the
> server, but I can't get my Windows XP workstations to get onto the net. I
> don't know what I'm doing wrong.
>
> I've got a network setup with static IP addresses. My IP setup is as
> follows:
>
> Adsl router 10.0.0.2 - 255.255.255.0 connected to an external interface
> Ethernet card 192.168.0.2 - 255.255.255.0 with Gateway 10.0.0.2. The
> internal interface Ethernet card has 192.168.0.1 - 255.255.255.0
>
> In the route table on the router I put 192.168.0.2 - 255.255.255.0 -
> Gateway 10.0.0.2, which enables me to get onto the net with the server.
>
> What do I have to do on the server so my workstation get onto the net,
> too?
>
> It would be great if somebody could guide me in the right direction.
>
> Thanks,
>
> Günter


I think you'll find that the two ethernet cards need to be on different
sub-nets. If they run the same subnet, the IP forwarding will get confused
because the two cards have IP addresses in the same range, therefore no
forwarding will take place.

You need to have the internal address in a different range, like
192.168.1.n/255.255.255.0 and the external on 192.168.0.n/255.255.255.0 or
something along those lines.

Dave
 
Reply With Quote
 
Guenter Riker
Guest
Posts: n/a

 
      07-04-2004, 08:51 PM
Hi Nikoli,

thanks for replying.

my XP machines' IP address is 192.168.0.251. 10.0.0.0 is subnetted so much,
because this is the default setting of the router.

The XP machines are connecting to the server via a wireless access point
with the IP address 192.168.0.227

The network was working fine with the old Adsl modem, but because the modem
was unstable I replaced it with the router.

I thought I might have to have an entry in the servers' route table to allow
the workstation to get on the net, but I'm not sure how that works.

Thanks,

Günter

"nikoli" <(E-Mail Removed)> wrote in message
news:XsXFc.43964$rh.41354@okepread02...
> Guenter Riker wrote:
> > Hi there,
> >
> > I need some help.
> >
> > I've got a server/webserver running Suse 9.0. I've just installed a

Zoom X4
> > Adsl modem/router, which I'm trying to use as a replacement for a

SpeedTouch
> > modem on my BT Internet connection.
> >
> > I've managed to set it up and am able to get onto the Internet on the
> > server, but I can't get my Windows XP workstations to get onto the net.

I
> > don't know what I'm doing wrong.
> >
> > I've got a network setup with static IP addresses. My IP setup is as
> > follows:
> >
> > Adsl router 10.0.0.2 - 255.255.255.0 connected to an external interface
> > Ethernet card 192.168.0.2 - 255.255.255.0 with Gateway 10.0.0.2. The
> > internal interface Ethernet card has 192.168.0.1 - 255.255.255.0
> >
> > In the route table on the router I put 192.168.0.2 - 255.255.255.0 -

Gateway
> > 10.0.0.2, which enables me to get onto the net with the server.
> >
> > What do I have to do on the server so my workstation get onto the net,

too?
> >
> > It would be great if somebody could guide me in the right direction.
> >
> > Thanks,
> >
> > Günter
> >
> >

>
>
> What's your XP machine's IP address? Is it connected to a router
> interface? Could you explain your setup a little more thoroughly?
>
>
> (Why do you have your 10.0.0.0 subnetted so much? I'd just use 255.0.0.0)



 
Reply With Quote
 
Josef G.
Guest
Posts: n/a

 
      07-05-2004, 07:25 AM
Guenter Riker wrote:

> Hi Nikoli,
>
> thanks for replying.
>
> my XP machines' IP address is 192.168.0.251Muse0.0.0.0 is subnetted so
> much, because this is the default setting of the router.
>
> The XP machines are connecting to the server via a wireless access point
> with the IP address 192.168.0.227
>
> The network was working fine with the old Adsl modem, but because the
> modem was unstable I replaced it with the router.
>
> I thought I might have to have an entry in the servers' route table to
> allow the workstation to get on the net, but I'm not sure how that works.
>
> Thanks,
>
> Günter
>
> "nikoli" <(E-Mail Removed)> wrote in message
> news:XsXFc.43964$rh.41354@okepread02...
>> Guenter Riker wrote:
>> > Hi there,
>> >
>> > I need some help.
>> >
>> > I've got a server/webserver running Suse 9.0. I've just installed a

> Zoom X4
>> > Adsl modem/router, which I'm trying to use as a replacement for a

> SpeedTouch
>> > modem on my BT Internet connection.
>> >
>> > I've managed to set it up and am able to get onto the Internet on the
>> > server, but I can't get my Windows XP workstations to get onto the net.

> I
>> > don't know what I'm doing wrong.
>> >
>> > I've got a network setup with static IP addresses. My IP setup is as
>> > follows:
>> >
>> > Adsl router 10.0.0.2 - 255.255.255.0 connected to an external interface
>> > Ethernet card 192.168.0.2 - 255.255.255.0 with Gateway 10.0.0.2. The
>> > internal interface Ethernet card has 192.168.0.1 - 255.255.255.0
>> >
>> > In the route table on the router I put 192.168.0.2 - 255.255.255.0 -

> Gateway
>> > 10.0.0.2, which enables me to get onto the net with the server.
>> >
>> > What do I have to do on the server so my workstation get onto the net,

> too?
>> >
>> > It would be great if somebody could guide me in the right direction.
>> >
>> > Thanks,
>> >
>> > Günter
>> >
>> >

>>
>>
>> What's your XP machine's IP address? Is it connected to a router
>> interface? Could you explain your setup a little more thoroughly?
>>
>>
>> (Why do you have your 10.0.0.0 subnetted so much? I'd just use 255.0.0.0)

How different is current connection (addresses, gateways, clients, etc.,)
from the previous one (with the SpeedTouch).
Is the XP machine a DHCP client? What does it show when you ask for (on the
XP machine of course):
ipconfig /all

Is the SuSE and XP machines connected to the DSL modem through switch/hub or
the XP is connected to SuSE and SuSE is connected to the DSL?
Pls add some details, maybe I?l be capable to help u (Ie instolled quite a
number of DSL networks, that use Linux machine as gateway/router).


--
Have a nice day, 8
Josef G.; Linux Counter UserID: 52525
Gevataim, Israel
 
Reply With Quote
 
Michael Buchenrieder
Guest
Posts: n/a

 
      07-05-2004, 07:45 AM
"Guenter Riker" <(E-Mail Removed)> writes:

[...]

>Adsl router 10.0.0.2 - 255.255.255.0 connected to an external interface
>Ethernet card 192.168.0.2 - 255.255.255.0 with Gateway 10.0.0.2. The
>internal interface Ethernet card has 192.168.0.1 - 255.255.255.0


[...]

Your LAN setup is hosed. First of all, if you do have 2 NICs on
the server, either disable one of them or put it onto a
different subnet. 2 interfaces with IP addresses from out of
the same IP subnet range will only cause trouble, unless
you're wanting to setup something like bonding later on.

Second, why did you put the ADSL router on a different network?
Give the router an IP address out of the 192.168.0.x network,
then use the router's internal IP address as the default gateway.

Michael

 
Reply With Quote
 
Raqueeb Hassan
Guest
Posts: n/a

 
      07-05-2004, 02:55 PM
should you are using 192.168.1.x why not putting 255.0.0.0 as netmask
for 10.0.0.x network?
 
Reply With Quote
 
David Efflandt
Guest
Posts: n/a

 
      07-05-2004, 11:05 PM
On Sun, 4 Jul 2004 16:35:23 +0000 (UTC), Guenter Riker <(E-Mail Removed)> wrote:
> Hi there,
>
> I need some help.
>
> I've got a server/webserver running Suse 9.0. I've just installed a Zoom X4
> Adsl modem/router, which I'm trying to use as a replacement for a SpeedTouch
> modem on my BT Internet connection.
>
> I've managed to set it up and am able to get onto the Internet on the
> server, but I can't get my Windows XP workstations to get onto the net. I
> don't know what I'm doing wrong.
>
> I've got a network setup with static IP addresses. My IP setup is as
> follows:
>
> Adsl router 10.0.0.2 - 255.255.255.0 connected to an external interface
> Ethernet card 192.168.0.2 - 255.255.255.0 with Gateway 10.0.0.2. The
> internal interface Ethernet card has 192.168.0.1 - 255.255.255.0
>
> In the route table on the router I put 192.168.0.2 - 255.255.255.0 - Gateway
> 10.0.0.2, which enables me to get onto the net with the server.
>
> What do I have to do on the server so my workstation get onto the net, too?


You have conflicting networks (and probably routing) on your Linux box.
Since it would have 2 routes for 192.168.0.0/24, it would only use the
first one in the routing table. There is a way to get around that by
using a different netmask and possibly proxy_arp, but not even sure why
you are using 192.168.0.x IP on a 10.0.0.x network anyway.

Depending upon where Windows comes into the picture, if it is on the
router, Windows may have trouble using a gateway that is not in its
network. Or if behind the Linux box, the adsl router is not going to know
how to reach it (would not know to use 192.168.0.2 as gateway to Win box).

One possiblility:
eth0 use 10.0.0.x IP netmask 255.255.255.255, proxy_arp enabled
host route to 10.0.0.2 on eth0 and as default gateway
eth1 use 10.0.0.x IP netmask 255.255.255.0

Other possibility:
eth0 use 10.0.0.x IP netmask 255.255.255.0
use any other network on eth1 masqueraded as eth0 IP

Adsl router would not need any internal gateway to reach LAN in either
case.

--
David Efflandt - All spam ignored http://www.de-srv.com/
 
Reply With Quote
 
Arthur Hagen
Guest
Posts: n/a

 
      07-06-2004, 01:37 AM
David Efflandt <(E-Mail Removed)> wrote:
> Depending upon where Windows comes into the picture, if it is on the
> router, Windows may have trouble using a gateway that is not in its
> network.


Actually, there's a bug in Windows that lets it use a default gateway
outside all local subnets and for which there's no route -- it'll send
packets out on the first interface and hope for the best. At least that's
the case for older Windows versions -- I haven't checked whether 2000/XP
allows it, but I wouldn't be surprised.
(That bug's been very useful when running SoftWindows or VMWare on a Unix
host with a single NIC, and you need to contact the host on which it is
running as well as Internet -- set up the Windows environment with a
different subnet from the Unix host, but with the same gateway as the Unix
host, and bounce packets off the router or smart switch back to yourself.)

> Or if behind the Linux box, the adsl router is not going to
> know how to reach it (would not know to use 192.168.0.2 as gateway to
> Win box).


Unix won't let you use a gateway there's no route to, no.

Regards,
--
*Art

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




1 2 3 4 5 6 7 8 9 10 11