This is a discussion on Multi Network Config, no forwarding within the Linux Networking forums, part of the Linux Forums category; Apologies if I've missed the answer to this, but I feel like I've searched everywhere and gotten no ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Apologies if I've missed the answer to this, but I feel like I've
searched everywhere and gotten no solid information. I am attemption to setup a management network on a series of Linux machines, including Redhat 8, 9, Fedora Core 3, and CentOS 3.4 versions. I have set up multiple Linux based firewalls in the past, and gotten them all working, but they all used ipforwarding and/or NAT setups, which I don't want to use here. The problem I'm encountering is that I have publicly accessible addresses on interface eth0, and am setting up a 192.168.100.0 network on eth1 for back door management. The cards install fine, no errors, my ifcfg files are working, but when I have both cards turned up, my default gw setting shows up as the 192.168.100.1 gateway, and then no internet traffic gets to me or out. I have flushed my iptables rules to make sure that I'm not blocking anything, but no dice. When I delete the default route, and then set it as the gateway for the public network, it works. Upon reboot, it stops and goes back to the 192.168 network as the default route. I've checked /etc/sysconfig/network, and the gateway listed there is for the public address space, and my ifcfg files for both interfaces show the appropriate gateway setting. I'm missing something, and I have a feeling it's simple. Any ideas? |
|
|||
|
On 16 May 2005 16:39:07 -0700, chaslist@speakfree.net wrote:
> > The problem I'm encountering is that I have publicly accessible > addresses on interface eth0, and am setting up a 192.168.100.0 network > on eth1 for back door management. The cards install fine, no errors, > my ifcfg files are working, but when I have both cards turned up, my > default gw setting shows up as the 192.168.100.1 gateway, and then no > internet traffic gets to me or out. I would put the nic and gateway in /etc/sysconfig/network and remove all other gateway info from the ifcfg files. Example from my NAT fireall cat /etc/sysconfig/network HOSTNAME=fw.home.invalid NETWORKING=yes NETWORKING_IPV6=no GATEWAYDEV=eth1 <===== MY wan nic GATEWAY=24.1.202.1 <==== wan gateway For hardware layout/settings http://groups.google.co.uk/advanced_group_search slrnbvs9eu.72g.BitTwister@wb.home.invalid in the Message Id box. |