isolation

Rick Stevens rstevens at vitalstream.com
Thu Oct 21 17:11:25 UTC 2004


roland brouwers wrote:
[snip]

> I have a little question:
> I changed the routing on the LinuxBox and added:
> Route add -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.9.97 (this
> is the router to the other network)
>>From then on I could reach the Linux Box, coming from 192.168.0/24
> network
> Why is this necessary?

You've now forced a route so all traffic for the 192.168.0.0 network
goes through the router on the other network.  In fact, that shouln't
work since they're different networks.

As I recall, you have one network, 192.168.9.x/255.255.255.0 (or /24)
which contains your Linux box AND a router that talks to the internet
via NAT.

You also have a second network, 192.168.1.x/255.255.255.0 (or /24)
that also has a router, with its LAN port on this 192.168.1.x network
and its WAN port on the other 192.168.9.x network.

You should configure the Linux box as follows:

	route add default gw 192.168.9.address-of-internet-router

That sets the default route to go out over the internet

	route add net 192.168.1.0 netmask 255.255.255.0
		gw 192.168.9.address-of-bridge-router's-WAN-port

And that sets up the route to the second network via the second router.

> Now that I have you on line, a little other question:
> How can I change the Timezone for the server and for the user?

The easiest way is, as root, use "redhat-config-time".  Tbis is the
same tool that was used initially if you installed in GUI mode.

When it comes up, click on the "Timezone" tab and select your desired
timezone.

> I really thank you for your prompt answer. You are a great guy.
> Some day I will send you flowers.

Thanks!  I'll pass on the flowers--I have allergies!
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-    "Hello. My PID is Inigo Montoya.  You `kill -9'-ed my parent    -
-                     process.  Prepare to vi."                      -
----------------------------------------------------------------------




More information about the Redhat-install-list mailing list