LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-16-2003, 05:16 PM   #1
scottie4442
Member
 
Registered: Aug 2003
Location: El Dorado, AR, USA
Distribution: Debian, Mandrake, Suse, Knoppix, Lindows
Posts: 33

Rep: Reputation: 15
Problem with Redhat 9 and IP Aliasing and IP Forwarding


I am a Computer Network Instructor (yes I do know Linux pretty well, but still having trouble)

Network is setup like this:

1 Clark Connect Firewall connected to a switch on 192.168.0.0 subnet

Redhat 9 file server connected to same switch, also on 192.168.0.0 subnet

connection from switch to two other switches and there are 7 subnets configured between the two switches: 192.168.10,20,30,40,50,60,100.0 (I did this because I am trying to demonstrate a larger enterprise network in my classroom environment


I have the 7 class subnets configured as IP Aliases on the Redhat server, as eth0:1 to eth0:7 and the main eth0 is configured on the 192.168.0.0 subnet.

The problem is I cannot ping from any of the lower subnets farther than the server, they will not get to the firewall, and the server will ping the firewall but will not get outside of it. I have configured one machine in class to use the firewall as a gateway and that works fine, I can get out to the rest of campus and the internet. I tried to locate the configuration file where IP Forwading is turned on in Redhat, but the only file I can find is /etc/sysctl.conf, when I turn on IPForward here it has no effect. I know I am just missing something simple, but cannot figure out what, so I am posting it here and seeing if the Linux Community can help me. I do appreciate any help I can get. Thanks.

Scott Adams
Computer Networking Instructor
SEARK College
Pine Bluff Arkansas
 
Old 10-18-2003, 07:43 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome to LQ.

/etc/sysctl.conf should have:
net.ipv4.ip_forward = 1
net.ipv4.ip_dynaddr = 1

You will also need to set up a masquerading rule using iptables to forward the requests on.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Forwarding in postfix/maildrop/redhat (like yahoo mail forwarding) topcat Linux - Software 1 08-31-2007 12:10 PM
Mandrake 9.2: Problem with font anti-aliasing after applying latest patches rps63ifid Mandriva 2 10-05-2004 06:56 AM
Problem with Anti-Aliasing of gnome-based applications' fonts on OpenBSD 3.5 oCompulsive *BSD 0 07-07-2004 07:50 AM
TTF Anti-aliasing problem darkneutron Linux - General 1 08-13-2003 10:35 AM
macromedia flash plugin on mozilla / tunrning off /anti-aliasing problem jamaso Slackware 7 05-01-2002 06:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration