Basic Routing Example

From StarOS Community Wiki
Revision as of 10:30, 6 December 2006 by Simcor23 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Star-V3 Static Route Example



Using the A B and C example explained in the previous section "Routing 101" I'll give some basic static route information using Star-V3. This basic example is using all private address space on an internal network. I am not getting into NAT or Public IPs or anything like that, it is meant to show a very basic static route example for people to get to know the basics.


Router A


Has an ip assigned to its ether0 interface on the subnet of the network it is physically connected to. Lets say that ip is 192.168.1.254/24 And its wpci0 interface has an ip on the same subnet of the interface it is connected to on Router B. Lets say Router A's wpci0 ip is 10.1.1.1/24.


Router B


Following the same example above, ether0 192.168.2.254/24 wpci0 10.1.1.2/24 (connected to router A) wpci1 10.1.2.1/24 (same subnet as wpci0 on Router C)


Router C ether0 192.168.3.254/24 wpci0 10.1.2.2/24 (connected to wpci1 on router B)


Static Routes

Know that we have the ip addressing down, now to the routes to get router A to be able to ping the networks on B and C.


Router A Static Routes

In order for router A to reach the network on the ether0 side of router B we nedd to add the following route to router A's static routing table ->routing->static and default routes in the Star-os menu.


network address - 192.168.2.0/24 network mask - 255.255.255.0 gateway address - 10.1.1.2


I'll be right back.....