3. IP Forwarding: Att: Mike Burger (menonrr at adelphia.net)

Stay Stefan EXT Stefan.Stay.extern at mchh.siemens.de
Thu Sep 16 07:44:09 UTC 2004


Hi, 

if you only need routing between the
networks,

- delete the rule with SNAT from iptables (/etc/sysconfig/iptables)
- set permanently net.ipv4.ip_forward = 1 in /etc/sysctl.conf
- don't forged to set the routes on both sides of the network

Regards 

Stefan

> -----Ursprungliche Nachricht-----
> Von: redhat-list-bounces at redhat.com
> [mailto:redhat-list-bounces at redhat.com]Im Auftrag von
> redhat-list-request at redhat.com
> Gesendet: Mittwoch, 15. September 2004 18:01
> An: redhat-list at redhat.com
> Betreff: redhat-list Digest, Vol 7, Issue 23
> 
> 
> Send redhat-list mailing list submissions to
> 	redhat-list at redhat.com
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://www.redhat.com/mailman/listinfo/redhat-list
> or, via email, send a message with subject or body 'help' to
> 	redhat-list-request at redhat.com
> 
> You can reach the person managing the list at
> 	redhat-list-owner at redhat.com
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of redhat-list digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: Sound Card - More info (Michael Schwendt)
>    2. RE: Need help in configuring BIND (Mike Burger)
>    3. IP Forwarding:  Att: Mike Burger (menonrr at adelphia.net)
>    4. Error in /etc/cron.daily (Ryan Golhar)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Wed, 15 Sep 2004 17:13:57 +0200
> From: Michael Schwendt <fedora at wir-sind-cool.org>
> Subject: Re: Sound Card - More info
> To: General Red Hat Linux discussion list <redhat-list at redhat.com>
> Message-ID: <20040915171357.570ba0a4.fedora at wir-sind-cool.org>
> Content-Type: text/plain; charset=US-ASCII
> 
> On Wed, 15 Sep 2004 16:18:37 +0200, Padiyath Sreekumaran wrote:
> 
> >    I sent the following mail yesterday.
> 
> Why again? Why not reply to more comments from my earlier reply?
> 
> > I got some hints of making a sound
> > test with sndconfig file as well as kde sound card test. 
> The sound test
> >  Works. The loud speaker as well as the sound card works. I 
> put a CD in CD
> > Player. I started the KsCD SW. I see a message "No matching 
> freedb entry
> > found". The music format is cda. I see in the display of 
> KsCD that the music
> > is started and the CD player light is also blinking. But 
> Iam not hearing
> > anything through the Loudspeaker.Why I donot get any sound 
> through the
> >  loudspeaker.?
> 
> As asked before, have you got an audio cable between your CD drive and
> your soundcard?
> 
> > Whether I should use some other music format? Is there any
> > other CD player which can give some more info? Is there any 
> debugging
> > facility? My loudspeaker connections are okay since I hear the test.
> 
> Doesn't mean much since the sound test is played differently.
> 
> > Any idea? I also installed xmms SW with out success.
> 
> What does that mean?
> 
>   rpm -ivh 
> http://download.fedora.us/fedora/redhat/9/i386/RPMS.testing/xm
> ms-cdread-0.14-0.fdr.2.a.rh90.i386.rpm
> 
> would install the experimental xmms-cdread plugin which you can enable
> in XMMS' preferences. Better would be to get CD playing 
> plugin from XMMS 1.2.8
> or later (www.xmms.org).
> 
> -- 
> Fedora Core release 2 (Tettnang) - Linux 2.6.7-1.494.2.2
> loadavg: 1.09 1.04 1.06
> 
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Wed, 15 Sep 2004 10:39:03 -0500 (EST)
> From: Mike Burger <mburger at bubbanfriends.org>
> Subject: RE: Need help in configuring BIND
> To: General Red Hat Linux discussion list <redhat-list at redhat.com>
> Message-ID:
> 	<Pine.LNX.4.58.0409151036001.28863 at burgers.bubbanfriends.org>
> Content-Type: TEXT/PLAIN; charset=US-ASCII
> 
> Actually, reload works just fine on my end...and it's still 
> running RHL9.
> 
> What Sarfraz' message indicates, to me, is that named isn't actually 
> running at the time.
> 
> Behold an example from my own running system:
> 
> # service named reload
> Reloading named:                                           [  OK  ]
> # service named stop
> Stopping named:
> # slide service named reload
> Reloading named: usage: killall [ OPTIONS ] [ -- ] name ...
>        killall -l, --list
>        killall -V --version
> 
>   -e,--exact          require exact match for very long names
>   -g,--process-group  kill process group instead of process
>   -i,--interactive    ask for confirmation before killing
>   -l,--list           list all known signal names
>   -q,--quiet          don't print complaints
>   -s,--signal         send signal instead of SIGTERM
>   -v,--verbose        report if the signal was successfully sent
>   -V,--version        display version information
>   -w,--wait           wait for processes to die
> 
>                                                            [FAILED]
> # service named start
> Starting named:                                            [  OK  ]
> 
> Sarfraz: Try "/etc/init.d/named start" first, or, just as good, 
> "/sbin/service named start".
> 
> On Wed, 15 Sep 2004, Jason Staudenmayer wrote:
> 
> > AFAIK reload doesn't work yet just stop and start.
> > 
> > > -----Original Message-----
> > > From: Sarfraz Rustam [mailto:sarfrazr at gmail.com] 
> > > Sent: Wednesday, September 15, 2004 8:18 AM
> > > To: redhat-list at redhat.com
> > > Subject: Need help in configuring BIND
> > > 
> > > 
> > > Hi to every body,
> > > 
> > > I have a trouble in configuring bind. Actually i have 
> configured bind
> > > and edit the file named.conf and then reload the file . 
> At this time
> > > this is done right but when i restart the machine i could 
> not reload
> > > the file again and there is a problem by applying the command
> > > 
> > >  /etc/init.d/named reload 
> > > 
> > >  that states me that  
> > > "Reloading named: usage: killall [ OPTIONS ] [ -- ] name ..." 
> > > and the options to kill and at end 
> > > 
> > > Failed 
> > > 
> > > comes in.
> > > 
> > > I could not understand whats wrong with this . 
> > > 
> > > Plz help me if you have any suggestions,
> > > 
> > > Regards,
> > > 
> > > Sarfraz.
> > > 
> > > 
> > > -- 
> > > redhat-list mailing list
> > > unsubscribe 
> mailto:redhat-list-request at redhat.com?subject=unsubscribe
> > > https://www.redhat.com/mailman/listinfo/redhat-list
> > > 
> > 
> > 
> > 
> 
> -- 
> Mike Burger
> http://www.bubbanfriends.org
> 
> Visit the Dog Pound II BBS
> telnet://dogpound2.citadel.org or http://dogpound2.citadel.org
> 
> To be notified of updates to the web site, visit 
> http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a 
> message to:
> 
> site-update-request at bubbanfriends.org
> 
> with a message of: 
> 
> subscribe
> 
> 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Wed, 15 Sep 2004 11:43:47 -0400
> From: <menonrr at adelphia.net>
> Subject: IP Forwarding:  Att: Mike Burger
> To: <redhat-list at redhat.com>
> Message-ID:
> 	<20040915154347.KPYW9204.mta10.adelphia.net at mail.adelphia.net>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> 
> Hello,
> 
> I did the 'ip addr' command. The result is as follows:
> 
> [root at localhost root]# ip addr
> 1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue 
>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>     inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
> 
> 2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
>     link/ether 00:60:97:df:8a:82 brd ff:ff:ff:ff:ff:ff
>     inet 172.16.4.2/24 brd 172.16.4.255 scope global eth0
> 
> 3: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
>     link/ether 00:06:5b:b5:86:a9 brd ff:ff:ff:ff:ff:ff
>     inet 172.16.3.10/24 brd 172.16.3.255 scope global eth1
> 
> 
> Issue:
> 
> Is there a way so that I can forward the packets from the 
> 172.16.4.0 network without having its IP address changed to 
> 172.16.3.10, which is the so called "external interfce" for me.
> 
> 
> Network set up: (Strictly private)
> 
> The redhat 9 gateway forwards traffic between two private 
> networks. The network topology goes like this:
> 
> 172.16.8.0/24 ------------ router ----------- 172.16.3.0/24 
> ------- | Redaht 9 | ------- 172.16.4.0/24
> 
> This is a strictly private network setup for doing some tests.
> 
> 
> I had posted this question earlier:
> -----------------------------------
> 
> Hello,
> 
> I am a fairly new person in Linux networking.
> 
> The issue I got some responses was as follows:
> -------------------------------------------------------
> I have had some good help to enable IP forwarding on my Redhat 9 
> gateway with the rule:
> 
> [CODE]iptables -t nat -A POSTROUTING -o eth1 -j SNAT 
> --to-source 172.16.3.10[/CODE] 
> 
> This rule forwards the traffic from the internal network 
> (172.16.4.0/24) to the 
> outside trhough the NIC with IP address 172.16.3.10.
> 
> Problem:
> 
> But I feel that the internal IPs are being forwarded with the 
> IP address of the 
> external NIC of the gateway.
> 
> It would be helpful if I could have a way to keep the 
> internal IP address 
> (172.16.4.0)as it is without being substituted with the gateways IP 
> address(172.16.3.10). This is because I want the external 
> users to see the 
> internal machines(172.16.4.0 network) as it is.
> 
> Please advise.
> 
> Thank You.
> 
> Menon
> 
> 
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Wed, 15 Sep 2004 11:47:52 -0400
> From: Ryan Golhar <golharam at umdnj.edu>
> Subject: Error in /etc/cron.daily
> To: "'General Red Hat Linux discussion list'" <redhat-list at redhat.com>
> Message-ID: <005c01c49b3b$5c600970$4722db82 at GOLHARMOBILE1>
> Content-Type: text/plain; charset=us-ascii
> 
> I have a machine that keeps sending me these errors from the cron job:
> 
> 
> /etc/cron.daily/makewhatis.cron:
> 
> 
> zcat: stdout: Broken pipe
> 
> zcat: stdout: Broken pipe
> 
> 
> 
> I could be causing this?  makewhatis.cron calls /usr/sbin/makewhatis.
> I'm able to run this program from a shell so I'm not sure why this is
> happening.  Any insight?
> 
> Ryan
> 
> 
> 
> 
> ------------------------------
> 
> __
> redhat-list mailing list
> Unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 
> End of redhat-list Digest, Vol 7, Issue 23
> ******************************************
> 





More information about the redhat-list mailing list