Re: Problems configuring gateway/firewall with static IP addresses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matthew Singerman wrote:

> Hi Ed,
> 
> They are, yes - this should be possible, right?  I am trying to firewall
> off part of our network from the rest of the network and the outside
> world.  We have several servers with public IP addresses that are static
> (they are servers).  I would like for this Linux server to sit between
> their outside connection to the world and the switch that all the
> servers are plugged into, and act as a gateway and a firewall.

It can be done....but not without additional changes on your end.

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

2.  The router interface of the router at 141.161.185.38 needs to be
changed as well.  Its IP address needs to be 141.161.111.2 with the same
broadcast and netmask settings.

3.  A routing table entry needs to be made in 141.161.185.38 to tell it
that all traffic for 141.161.111.0/24 (255.255.255.0) needs to be routed
to 141.161.111.1.

4.  You need a second switch.  Only the router and eth0 are plugged into
one switch.  eth1 and the other systems in the 141.161.111.0/24 are
plugged into the other switch.

5.  eth1 could stay as it is.  That is 141.161.111.242/24.

6.  The default gateway on 141.161.111.1 needs to be set to 141.161.111.2

7.  The default gateway on the other 141.161.111.0 systems need to be
changed to 141.161.111.1.

Ed


-- 
Life is a game of bridge -- and you've just been finessed.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux