Networking Forums

Networking Forums > Computer Networking > Linux Networking > Multi Network Config, no forwarding

Reply
Thread Tools Display Modes

Multi Network Config, no forwarding

 
 
chaslist@speakfree.net
Guest
Posts: n/a

 
      05-16-2005, 11:39 PM
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
 
 
 
 
Bit Twister
Guest
Posts: n/a

 
      05-17-2005, 12:16 AM
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

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with port forwarding config (iptables) Daryl Linux Networking 1 02-15-2007 07:54 PM
Multi-OS network help Forestfish Wireless Networks 2 01-22-2007 11:18 AM
multi segment wireless network johnmclaren_99@yahoo.com Wireless Internet 1 05-22-2006 09:45 PM
Multi users on network ... and on welcome screen ..... gah! TX2 Home Networking 3 10-07-2003 09:09 PM
Multi network cards to same network. Telling XP which to use! Adam Wireless Internet 5 08-17-2003 05:23 AM



1 2 3 4 5 6 7 8 9 10 11