IPtables router / gateway

Harry Hoffman hhoffman at ip-solutions.net
Fri Jul 8 13:23:33 UTC 2011


You need to change the default gateway on your servers to be the new Linux box and then use a interior routing protocol on that box to talk to its next hop router or setup static routes.
Cheers,
Harry 

Steven Buehler <steve at ibushost.com> wrote:

>I am running some servers in a data center and I have now been informed that
>since I have a Class C of IP's, that I have to be my own gateway as they are
>making some changes because of a buyout.  I have an extra server with 2 nics
>to do this with, but everything I can find on the internet for iptables is
>for NATing public IP's on eth0 to local IP's through eth1.  I can do that as
>I have for another company forwarding remote IP's to the LAN IP address of a
>server.   I need this server to be setup with the 22.22.22.1 IP as the
>gateway and forward all other IP's in that netblock to the internal
>interface and allow all of those machines total access to the internet
>through this server as the gateway and don't want to use NAT as some of the
>software I am running would have MAJOR problems with that.  Plus, I don't
>want to have to change all of the IP's that are already on the other servers
>using the provider as the gateway.
>
> 
>
>Any help would be appreciated.
>
>Thanks
>
>Steve
>
>-- 
>redhat-list mailing list
>unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
>https://www.redhat.com/mailman/listinfo/redhat-list
>




More information about the redhat-list mailing list