Re: Adding a route question



Hi Herb,

Do I have my network cards gateways configured correctly?

ETHERNET ADAPTER 1
IP address 192.168.1.1
Subnet mask 255.255.255.0
Gateway 192.168.2.1

ETHERNET ADAPTER 2
IP address 192.168.2.1
Subnet mask 255.255.255.192
Gateway 192.168.1.1

Or should it be

ETHERNET ADAPTER 1
IP address 192.168.1.1
Subnet mask 255.255.255.0
Gateway 192.168.1.1

ETHERNET ADAPTER 2
IP address 192.168.2.1
Subnet mask 255.255.255.192
Gateway 192.168.2.1




"Herb Martin" wrote:

> "Sam" <Sam@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:5DD30B58-840B-4BD3-B03C-853CDEE12C00@xxxxxxxxxxxxxxxx
> > Hi,
> >
> > I am in the process of setting up a routed network. One network is
> > 192.168.1.0/24 and the other is 192.168.2.0/26.
>
> The above is legal, but out of curiousity did you mean
> to have different masks?
>
> > I have configured a windows
> > 2000 router with 2 network cards to each represent the networks. However
> > when I try to use the "route add -p" command to add a persistent route to
> the
> > networks I get an interface error message. Can someone show me what the
> > command would be if my network cards are configured the following way?
>
> "Windows 2000 router" - may we presume you are using
> RRAS?
>
> It is MUCH better (i.e., it works) if you add RRAS routes
> through the RRAS MMC or through NetSh.exe.
>
> The Route Add command should probably be left strictly
> for ordinary Windows machine (workstations etc) without
> RRAS.
>
> With ONE router you don't need any static routers (actually
> with two routers you don't either.) With one router it is
> connected to EVERYTHING so it already knows about
> everything from the default building of the routing table.
>
> With two routers they can point to each other as "default
> gateway" so no static routes need to be manually ADDED.
> (The default gateway settings inherently create those static
> routes.)
>
> Now, be careful, since most people connect to the Internet,
> and the ISP has a router which COUNTS in our totol, so
> with one internal router and the Internet we don't need any
> manual routes on that internal router since it just uses the
> ISP as "default gateway".
>
> Only "middle routers" (my term) need added routes to point
> to the smaller networks of the routers it is in contact with.
> Why "smaller networks"? Well, because it will use the
> router connected to the largest (or really most diverse)
> networks as it's default gateway (usually that's the ISP,
> or the upstream router that eventually leads to the ISP and
> the Internet (or maybe to "headquarters" if we are a branch
> office.
>
> So assuming you have ONE internal router, you just set its
> default gateway to the ISP's router.
>
> Assuming your have the router below AND another router
> with say "DSL upstream" (to the ISP) and 192.168.1.2 on the
> INTERNAL side you would route from this "middle router"
> to the 192.168.2.0 network this way:
>
> route add 192.168.2.0 mask 255.255.255.252 192.168.2.1
>
> (Although that mask still looks to be a typo.)
>
> > ETHERNET ADAPTER 1
> > IP address 192.168.1.1
> > Subnet mask 255.255.255.0
> > Gateway 192.168.2.1
>
> ON THE OTHER router(s), to reach this router
> you
>
> > ETHERNET ADAPTER 2
> > IP address 192.168.2.1
> > Subnet mask 255.255.255.192
> > Gateway 192.168.1.1
> >
> > Regards
> > Sam
>
>
>
.



Relevant Pages

  • Re: [SLE] connection redundancy
    ... which is the router just this side of the ... >>because it's own gateway is still up. ... You'll also need three network cards to put into this Linux box. ... your internal LAN can route packets to the Internet. ...
    (SuSE)
  • Re: Cant access secure Web pages
    ... and which need to be contacted via the Default Gateway. ... The Default Gateway being the software process that does the network ... Gateway (as set up by your ISP's DHCP packet to the router), ... me so I can send it directly (to the MAC address discovered by ARP). ...
    (uk.comp.sys.mac)
  • Re: TCPIP Profile (GATEWAY vs BEGIN/ENDROUTES)
    ... GATEWAY is the old, old way of doing it, the understanding of which was some ... Thus the network is 10, ... says and 1500 is good for one of the Ethernet flavours, Subnet Mask is ... TCPIP Profile ...
    (bit.listserv.ibm-main)
  • Re: way OT: route table
    ... The default gateway is at 192.168.16.1. ... or the gateway does not lie on the same network as the ... The private router is set up to pass all ... >your access router has an interface on ...
    (microsoft.public.backoffice.smallbiz2000)
  • Re: please advise - problem with routing
    ... Actually, these are HOST addresses, not NETWORK addresses. ... I will assume that this means from the 192.168.1.x/24 subnet you can ... your Internet Router, and not related to routing between the two internal ... Gateway using Interface 192.168.1.12. ...
    (microsoft.public.windows.server.networking)