Unless you're running firewalling and masquerading, you won't be ale to
get out from the other workstations.
192.168.x.x is not routable IP space...that is, you can't get to/from the
internet to any address in that range on a direct connect...you have to
have some sort of masquerading in place, so that the world thinks you're
coming from a legitimate, legally routable IP address.
On Fri, 17 May 2002 [EMAIL PROTECTED] wrote:
> Hello all i'm having a little problem.
>
> I'm trying to convert my linux box into a router. Here is the details. We
> have our main work network (150.100.x.x). I have 4 computers of my own, and
> i'm trying to make them my own private network inside (192.168.1.x). So I
> have my linux 7.3 box with 2 interfaces. eth0 is connected to the main
> network (150.100.210.7), and eth1 is running dhcpd (192.168.1.1). The
> problem is, the linux box can access the network no problem and go online,
> however the other computers inside can't.
>
> # more /etc/sysconfig/network
> NETWORKING=yes
> FORWARD_IPV4="yes"
> HOSTNAME='linux_server'
> GATEWAY=192.168.1.254
> GATEWAY="eth0"
>
> # route
>
> Destination Gateway Genmask Flags
> Metric Ref Use Iface
> 192.168.1.0 * 255.255.255.0 U
> 0 0 0 eth1
> 150.100.0.0 * 255.255.0.0
> U 0 0 0 eth0
> 127.0.0.0 * 255.0.0.0
> U 0 0 0 lo
> default 150.100.101.254 0.0.0.0 UG 0
> 0 0 eth0
>
> # more /etc/dhcpd.conf
> default-lease-time 864000;
> option routers 192.168.1.1;
> option domain-name-servers 150.100.2.1;
> subnet 192.168.1.0 netmask 255.255.255.0 {
> range 192.168.1.100 192.168.1.200
> }
>
>
>
> Any suggestions? One thing I wasn't quite sure on was the
> /etc/sysconfig/network GATEWAY setting, should that be that or should that
> be the 150.100.101.254? Any help would greatly be appreciated!
>
> Thanks in advance,
>
> Eric
>
>
>
> _______________________________________________
> 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