[Wolves] which set of ip addresses?
Andy Wootton
andy.wootton at wyrley.demon.co.uk
Sat Sep 24 00:34:41 BST 2005
David Morley wrote:
>I found out what I had done wrong when install centos to use as a lamp
>server now the only problem I have before reinstalling is I don't know
>which IP ADDRESS is the default gateway?
>
The default gateway is the IP address of the interface that you get from
'this' subnet to any others so it is usually 'this' side of a
router/gateway. The convention is for this to normally be x.y.z.1
>I have smoothwall running so
>I know that the dns is the green zones ip address, from looking at the
>network settings, but the rest is dhcp but I need a static ip address.
> Is the green zones ip also the default gateway? Or is it the red
>zones ip address? or is it the centos boxes ip address?
>
>
If the LAMP server is on the green LAN (implying it is for internal use
only) then the green interface will be its default gateway. If it is for
external use then think about having 3 NICs and putting LAMP in the
amber zone.
RE: "the dns is the green zone's IP address". Be careful! The green zone
is typically a complete subnet so it doesn't have just one IP address.
'What you know' (above) is the IP address of an interface in the green
zone of the box running the DNS.
Some boxes have 2 interfaces in the same subnet for either performance
or resilience to failure of a NIC.
Woo
More information about the Wolves
mailing list