Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

Multi Network Config, no forwarding

Reply
 
Thread Tools Display Modes
  #1  
Old 05-17-2005, 12:39 AM
Default Multi Network Config, no forwarding



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?



chaslist@speakfree.net
Reply With Quote
  #2  
Old 05-17-2005, 01:16 AM
Bit Twister
Guest
 
Posts: n/a
Default Re: Multi Network Config, no forwarding

On 16 May 2005 16:39:07 -0700, (E-Mail Removed) 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
(E-Mail Removed)lid in the Message Id box.
Reply With Quote
Reply

Tags
config, forwarding, multi, network

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 06:57 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.