Problems configuring gateway/firewall with static IP addresses
Ed Greshko
Ed.Greshko at greshko.com
Fri Aug 18 04:38:08 UTC 2006
Ed Greshko wrote:
> I wrote....
>
>> 1. Assuming eth0 is the Internet facing interface you need to change
>> its IP address as well as its netmask.
>>
>> IPADDR=141.161.111.1
>> NETMASK=255.255.255.252
>> BROADCAST=141.161.111.3
>
> That was only an example. The important thing is that the netmask needs
> to be 255.255.255.252 which gives you only 4 IP address on that
> interface and of these only 2 are usable as the others are the network
> address and the broadcast address.
>
> You could have...
> IPADDR=141.161.111.242 for eth0
> IPADDR=141.161.111.241 for 141.161.185.38 interface
> Broadcast=141.161.111.243
> Network=141.161.111.240
Forgot to mention that in this case eth1 needs to be changed as well as
default gateways...but I think that was obvious. However, I forget that
what is obvious to me may not be obvious to others so it is better to
mention it....even if it is an afterthought and increases traffic. :-)
--
Happiness makes up in height what it lacks in length.
More information about the fedora-list
mailing list