Re: Setting Up Routing using Route Command



If you want Internet access, that is a different situation altogether.
You did not mention that previously. We started off with only three
machines. Perhaps you could describe how your network is configured and what
you are trying to achieve.

To get Internet access you will need some static routing, but not on any
of the machines you are talking about. The best place to put the static
route is on the Internet gateway router.

If your existing 192.168.0 subnet has an Internet connection, all the
machines will be using the the Internet router as their default gateway. If
you want to add a second subnet which can route to this subnet and to the
Internet, I would set it up like this.

Internet
|
public IP
Internet router
192.168.0.m
|
192.168.0.x dg 192.168.0.m
|
192.168.0.n dg 192.168.0.m
RRAS
10.10.10.1 dg blank
|
workstations
10.10.10.x dg 10.10.10.1

The static route you need to make this work is

10.10.10.0 255.255.255.0 192.168.0.n

The place you need this static route is on the Internet router. Traffic
from 10.10.10 can get to machines in 192.168.0 and to the Internet router by
default routing. The return traffic needs to know where the 10.10.10 subnet
is and how to get there. The static route solves this by forwarding 10.10.10
traffic to the RRAS router. Machines in 10.10.10 can now access the Internet
and machines in the 192.168.0 subnet.

If for some reason you can't do that (such as you don't have admin
rights to the Internet router), the only way to get Internet access for the
10.10.10 subnet is to configure RRAS as a NAT router. It will now work
because all traffic from a 10.10.10.x machine reaching the Internet router
will be using the RRAS router's 192.168.0 IP address. The Internet router
will do NAT again to its public IP. Replies will be handled by the NATs to
get them back to the correct host. The only thing that won't work is that
machines in the 192.168.0 subnet will not be able to access machines in
10.10.10 (because they are on the "public" side of a NAT). 10.10.10 machine
will be able to access 192.168.0 machines through the NAT.

"asdf" <afds@xxxxxxxx> wrote in message
news:33B_g.400$Oo2.38@xxxxxxxxxxxxxxx
please pardon my stupidity but isn't thats what static routes are for.
I thought that RRAS just provides an easy to use interface for
something that one can do using the command line.
So
Create configure machine on the first network to use
Adapter1 on router as gateway,
configure machine on the second network to use Adapter2
on router as gateway.
Create 3 static routes on router machine:
2 to rout traffic between the two networks and
one default route to forward the traffic to the internet.

Thank you very much
"Bill Grant" <not.available@online> wrote in message
news:OeupxiW9GHA.3620@xxxxxxxxxxxxxxxxxxxxxxx
No. You must enable IP routing on a machine before it will forward
traffic from one interface to another.

"asdf" <afds@xxxxxxxx> wrote in message
news:%Df_g.189$zi7.50@xxxxxxxxxxxxxxx
but let's say i don't want to enable the RRAS for whatever reason.
Can't i configure the cards on each machine the way you described below
and then configure the multihomed machine with two static routes?

"Bill Grant" <not.available@online> wrote in message
news:e0GQT8$8GHA.3280@xxxxxxxxxxxxxxxxxxxxxxx
You don't need any route commands. Just enable IP routing on the
machine with two NICs (as Bob advised). When IP routing is enabled, the
machine will forward traffic from on subnet to the other as required.

Routing will be automatic if you set the default gateways correctly.
Basically, you set both subnets to use the IP address of the router as
the default gateway setting. eg

10.10.10.x dg 10.10.10.1
|
10.10.10.1 dg blank
router
192.168.0.1 dg blank
|
192.168.0.x dg 192.168.0.1

All traffic which is not local (ie not in the same subnet as the
sending machine) will be sent to the gateway router. The router can
deliver it directly in the "other" subnet because it also has an
interface in that subnet.

"asdf" <afds@xxxxxxxx> wrote in message
news:%VAZg.75$QA4.47@xxxxxxxxxxxxxxx
Let's say i have 3 computers
one is on the 10.10.10.0 network
another on 192.168.0.0 network
I want to route messages between the
two using a third computer with two nic cards.
What settings exactly do i need to setup for TCPIP
for the three machines and what commands should i
issue using route command. Any step by step
tutorials which can help me?

thank you











.



Relevant Pages

  • Re: Black Ice and smb
    ... That way you will not get the message from BlackIce. ... behind the router. ... Since you are behind two firewalls with both your machines, ... When you're connected to the Internet ...
    (comp.security.firewalls)
  • Re: ipnat with alias?
    ... Internet fine through the sip0 primary address, ... It's hard to tell whether you need NAT but I suspect you ... the router is the gateway to "the internet" it will, presumably, have ... Your situation, on the other hand, seems to be that the machines on ...
    (comp.unix.bsd.netbsd.misc)
  • Re: 3B2 Disks
    ... The only shortcoming in the concept of UUCP based Email is eliminated ... Considering the nature of connectivity over the INTERNET, ... Sure -- but he had multi-bay machines which he could never run ... I actually have such as set of Qbus cards too. ...
    (comp.sys.3b1)
  • Re: A second subnet
    ... only certain machines based upon IP address. ... You wouldn't have to disable DHCP on the second router as long as you ... configure its LAN settings to be on a different subnet. ... Then new laptops could connect to the existing ...
    (microsoft.public.windowsxp.network_web)
  • Re: A second subnet
    ... router on a different subnet (installing the router to a switch in the new ... Make sure the router's LAN settings are for a different subnet. ... You can use the XP SP2 firewall to prevent access to existing machines from ... and enable DHCP on the router, how can I be sure that the new laptops will ...
    (microsoft.public.windowsxp.network_web)

Loading