Network Issues

For system help, all hardware / software topics NOTE: use Coders Corner for all coders topics.

Moderators: Krom, Grendel

Post Reply
XeonJr
DBB Ace
DBB Ace
Posts: 376
Joined: Wed Jun 19, 2002 2:01 am
Location: brisy

Network Issues

Post by XeonJr »

Ok i have a 2 router setup

Router A(10.1.1.1) is connected to a windows box (10.1.1.3) and also is connected to router B (10.1.1.2)

Router B's internal IP is 192.168.2.1
Router B is connected to 4 other machines

I have added the static route to my windows box (10.1.1.3)using
"route add 192.168.2.0 mask 255.255.255.0 10.1.1.2 -p"

When I run a ping I cannot ping the router B's external port (10.1.1.2) but can ping its internal port (192.168.2.1)

Router B is being told to forward SSH packets and http packets to my unix server (192.168.2.12)

I cannot ping or ssh to any machine(including my unix server) on router B's subnet.

Anybody know how I could go about getting this to work?
User avatar
fliptw
DBB DemiGod
DBB DemiGod
Posts: 6459
Joined: Sat Oct 24, 1998 2:01 am
Location: Calgary Alberta Canada

Post by fliptw »

sanity check: do you need more than one router? Chances are you don't.

if you hook them up to the same router, all your problems go away.

Outside of the fact it looks like you are stuck behind a router to begin with. 10.x.x.x are private IP ranges.
XeonJr
DBB Ace
DBB Ace
Posts: 376
Joined: Wed Jun 19, 2002 2:01 am
Location: brisy

Post by XeonJr »

Its ok.. I fixored the problem
and yes I do need 2 routers :)
User avatar
fliptw
DBB DemiGod
DBB DemiGod
Posts: 6459
Joined: Sat Oct 24, 1998 2:01 am
Location: Calgary Alberta Canada

Post by fliptw »

If you are going to connect two routers together on the lan side, you don't need two. use one and buy a switch.
User avatar
Mobius
DBB_Master
DBB_Master
Posts: 7940
Joined: Sun Jun 03, 2001 2:01 am
Location: Christchurch, New Zealand
Contact:

Post by Mobius »

I was wondering why you'd mix-n-match 10.x.x.x and 192.168.x.x subnet IP ranges. That'd make masking a pain, and give DHCP a sh1t-fit.

What FlipTW said: can't think of a reason to run two routers.
User avatar
BUBBALOU
DBB Benefactor
DBB Benefactor
Posts: 4198
Joined: Tue Aug 24, 1999 2:01 am
Location: Dallas Texas USA
Contact:

Post by BUBBALOU »

I have configured my brothers house with two routers(6,000 sqft house)

Orginally it was one router w/dsl)1st flr only), then later he got happy with some additional Computers/XBox. Then at the same time he went from dsl to cable. soo

Basement(fully furnished)
RG6 cable drop - Cable modem

Linksys Router w/4 Port switch (this was added later)
192.168.1.1 - GATEWAY enabled, DHCP Server Enabled (begin at x.x.x.100)

-- XBOX
-- 2 XP Machines

Main Floor/Above

Linksys Wireless Router w/4port switch
192.168.1.2 - ROUTER enabled, DHCP server Disabled

-- 2 Wireless Laptops
-- 3 XP Machines (spaning 2 floors)
-- Wireless Repeater (third floor)

No other configuration is feasable nor cost effective, and a switch.... not happening folks... If you know anything about plant layouts and the description above then you would not even suggest it.. But seriously Xeon WTF are you doing... with all that 10xxxxx stuff
Plebeian
DBB Alumni
DBB Alumni
Posts: 1055
Joined: Wed Dec 22, 1999 3:01 am
Location: Austin, TX, USA
Contact:

Post by Plebeian »

I run three routers! Two are hooked to a switch connected to the cable modem (I have two IPs), and are also hooked to each other LAN-side so I can talk to my desktop from the laptop without having to open ports. Router #3 is a 54g wireless router in the living room to connect my laptop to. This connects to one of the wired routers via a powerline link, because I can't get a signal with it in the computer room (signal seems to suck, and it has to go right through the fireplace).

But I don't mix Class B and Class C subnets, I just have two Class Cs that I use. :P
XeonJr
DBB Ace
DBB Ace
Posts: 376
Joined: Wed Jun 19, 2002 2:01 am
Location: brisy

Post by XeonJr »

I have 2 routers because of the distance between the 7 PC's in the house.
Post Reply