Thanks for the info .Can you kindly let me know how a linux host (192.168.1.x)can
be configured so that it should be able to communicate with my default
gateway(63.x.x.x) .I have red hat 6.1 on intel .
I have made the changes requd in the /etc/sysconfig/network
and/etc/sysconfig/network-scripts/ifcfg-eth0 file..Can you tell me what am I
MISSING?
Kyle Hargraves wrote:
> On Wed, 25 Apr 2001, Kevin Chan wrote:
>
> > I would like to ask how to set the IP Forwarding from my RedHat 7.0 Server.
> > My Server IP is 192.168.X.X and the clients which use ppp connected to my
> > server is 10.0.0.3 . Thanks a lot !
>
> Are you conveying that your clients connect via (multiple) ppp
> links to your server ?
> I don't know why your clients are on a different network. In fact
> your description seems a little unrealistic ...
>
> I'll assume that your server is 192.168.1.10 and that you have
> 9 clients 192.168.1.1 .... 168.1.9 and that you connect ppp to
> an ISP using a real (internet routable) ip. I'll have to assume
> that you have the ppp stuff happening to your satisfaction
>
> from this point there are a number of approaches to this task
> Kevin
>
> i ensure that ip forwarding is being undertaken in the kernel.
>
> Check the contents of /proc/sys/net/ipv4/ip_forward which ought to
> possess a 1 Otherwise, incluce the line
> echo "1" > /proc/sys/net/ipv4/ip_forward
> as a local instruction in your /etc/rc.d/rc.local
> (i.e. at the end of the file)
>
> ii I'll assume that /etc/sysconfig/network-scripts/ifcfg-eth0
> is setup correctly so just ensure that
> /etc/sysconfig/network looks some thing this :
>
> NETWORKING=yes
> FORWARD_IPV4=yes ## key line
> HOSTNAME=whatever ## should be setup already
> GATEWAYDEV=ppp0 ## could be omitted
> GATEWAY=the_ip_your_ISP_gives_you_as_a_dns
>
> iii now the 192.stuff has to be masqueraded to a routable address
> and the line
>
> ipchains -A forward -j MASQ -s 192.168.1.0/24 -d 0.0.0.0/0
>
> which should follow any alteraltion to /etc/rc.d/rc.local
> will do the magic
>
> cheers,
>
> Kyle Hargraves
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list