routing, gateway

O

orangeKDS

I have a small network: 2PCs and Amiga. (I'll call them A,B,C)

The 2 PCs (A,B) have winXP and Ethernet cards and they are connected to
a switch with UTP cable. Amiga (C) is connected to one of them (B) with
nullmodem cable (mdmcisco.inf).

Here are the IPs:
1st PC (A) 10.1.86.138
2nd PC (B) 10.1.92.196 192.168.1.1
Amiga (C) 192.168.1.2

I CAN ping:
A,C from B
B from A,C

but I cannot ping:
A from C
C from A

here is output from: route print >C:file (done on B)

===========================================================================

Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...08 00 46 57 43 a9 ...... Intel(R) PRO/100 VE Network Connection
- Packet Scheduler Miniport
0x20004 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface

===========================================================================

===========================================================================

Active Routes:
Network Destination Netmask Gateway Interface
Metric
0.0.0.0 0.0.0.0 10.1.0.2 10.1.92.196
20
10.1.0.0 255.255.0.0 10.1.92.196 10.1.92.196
20
10.1.92.196 255.255.255.255 127.0.0.1 127.0.0.1
20
10.255.255.255 255.255.255.255 10.1.92.196 10.1.92.196
20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.1.0 255.255.255.0 192.168.1.1 192.168.1.1
1
192.168.1.1 255.255.255.255 127.0.0.1 127.0.0.1
50
192.168.1.2 255.255.255.255 192.168.1.1 192.168.1.1
1
192.168.1.255 255.255.255.255 192.168.1.1 192.168.1.1
50
224.0.0.0 240.0.0.0 10.1.92.196 10.1.92.196
20
224.0.0.0 240.0.0.0 192.168.1.1 192.168.1.1
50
255.255.255.255 255.255.255.255 10.1.92.196 10.1.92.196
1
Default Gateway: 10.1.0.2

===========================================================================

Persistent Routes:
None

BTW, cable modem is also connected to switch and A,B can connect to
Internet with it (default gateway is from ISP)

I need computers A and C to SEE each other.
Any reply is highly appreciated.
 
J

John Wunderlich

(e-mail address removed) wrote in
I have a small network: 2PCs and Amiga. (I'll call them A,B,C)

The 2 PCs (A,B) have winXP and Ethernet cards and they are
connected to a switch with UTP cable. Amiga (C) is connected to
one of them (B) with nullmodem cable (mdmcisco.inf).

Here are the IPs:
1st PC (A) 10.1.86.138
2nd PC (B) 10.1.92.196 192.168.1.1
Amiga (C) 192.168.1.2

I CAN ping:
A,C from B
B from A,C

but I cannot ping:
A from C
C from A

here is output from: route print >C:file (done on B)

[snip]

BTW, cable modem is also connected to switch and A,B can connect
to Internet with it (default gateway is from ISP)

I need computers A and C to SEE each other.
Any reply is highly appreciated.

From what I can tell, computer B is set up just fine for routing. What
is missing is the routing tables on computers A and C. On Computer A
you will have to add a route like:
route add 192.168.1.0 mask 255.255.255.0 10.1.92.196
and on computer C, the default gateway should be set to 192.168.1.1.

HTH,
John
 
J

James Egan

The 2 PCs (A,B) have winXP and Ethernet cards and they are connected to
a switch with UTP cable. Amiga (C) is connected to one of them (B) with
nullmodem cable (mdmcisco.inf).

Computer B needs to have routing enabled.

For winxp/2k/NT

System Key:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
Value Name: IPEnableRouter
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = disabled, 1 = enabled)


Jim.
 
J

James Egan

On Computer A
you will have to add a route like:
route add 192.168.1.0 mask 255.255.255.0 10.1.92.196

Computer A only has one nic so presumably this is already the default
gateway.


Jim.
 
O

orangeKDS

I have tried both things (registry and routing), but it still doesn't
work.
Computer B simply doesn't route. I can see that packets are coming to
it.
I can ping B from A, but only like this: ping 192.168.1.1, and not ping
10.1.92.196 ..

all the info about ras on Internet are for opposite case: nullmodem is
connected to ISP and LAN can access www through it.
 
O

orangeKDS

I made a mistake: I can ping B from C, but only like this: ping
192.168.1.1, and not ping 10.1.92.196 ..
Amiga (C) doesn't see LAN on the PC no matter what I try
 
J

John Wunderlich

Computer A only has one nic so presumably this is already the default
gateway.

He said that A and B were connected to a switch which was connected to
a router and can access the internet. For this to be the case, the
router must be the default gateway. Computer A has no way of knowing
apriori how to route a packet to the 192.168.1.x subnet.

-- John
 
J

John Wunderlich

(e-mail address removed) wrote in
I made a mistake: I can ping B from C, but only like this: ping
192.168.1.1, and not ping 10.1.92.196 ..
Amiga (C) doesn't see LAN on the PC no matter what I try

What does the output of the "route print" instruction look like for
computers A and C?
 
O

orangeKDS

I understand that, here is route print on A:
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x10003 ...00 11 09 7b cc a0 ...... VIA Compatable Fast Ethernet
Adapter - Packet Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface
Metric
0.0.0.0 0.0.0.0 10.1.0.2 10.1.86.138
20
10.1.0.0 255.255.0.0 10.1.86.138 10.1.86.138
20
10.1.86.138 255.255.255.255 127.0.0.1 127.0.0.1
20
10.255.255.255 255.255.255.255 10.1.86.138 10.1.86.138
20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
224.0.0.0 240.0.0.0 10.1.86.138 10.1.86.138
20
255.255.255.255 255.255.255.255 10.1.86.138 10.1.86.138 1
Default Gateway: 10.1.0.2
===========================================================================
Persistent Routes:
None

I know that there now isn't any route to C, but even adding it DOESN'T
work

Amiga (C) doesn't have the same command, there should be something
similar, when I find it I'll post here. Default gateway on Amiga is
192.168.1.1

I have configured firewall on router (B) to show alert when any
connection to/from A or C is being made (and they are fully allowed),
so that
when I try to ping A from C (PC from Amiga): ping 192.168.1.2
or C from A (Amiga from PC): ping 10.1.86.138
router (B) shows them trying to connect, one packet is being received,
and thats it. nothing comes through router, no packets are send

It seems that the problem must be in B. Could it be because RAS is not
the same thing as network adapter? Someone told me to bridge two
networks, but that can be done only with two network adapters, not with
dialup/ras/nullmodem and nic, right?
 
O

orangeKDS

Finally it WORKS now :)))

it seems that the problem was in mdmcisco.inf, when I tried this :

http://bwinton.latte.ca/Palm/ppp.html
(I also disabled socks on Amiga side, maybe that was problem)
everything is OK

Thanks everybody for help.
I wish you a Marry Christmas and a Happy New Year.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top