Multi Network Config, no forwarding

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 ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-17-2005
chaslist@speakfree.net
 
Posts: n/a
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?

Reply With Quote
  #2 (permalink)  
Old 05-17-2005
Bit Twister
 
Posts: n/a
Default Re: Multi Network Config, no forwarding

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.
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:28 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0