On Thu, 2002-04-25 at 08:44, Kjetil Tjensvold wrote:
> I have not configured anything in a config file. But
> when I type dhcpcd -n eth0 I get to the internet with
> the linuxbox. Eth1 is set to ip 192.168.0.1
> and the win95 pc ip is 192.168.0.2
> gateway on win box is set to 192.168.0.1
> and DNS on the win pc is set to my ISP DNS
> 217.118.32.12 . No wins resoulution is set on the win
> box.
> 
> 
> 
> --- Benjamin Rich <[EMAIL PROTECTED]> skrev: > Did you
> setup DHCP on your linux machine?
> > 
> > -----Original Message-----
> > From: Kjetil Tjensvold [mailto:[EMAIL PROTECTED]]
> > 
> > Sent: Thursday, April 25, 2002 2:51 AM
> > To: redhat list redhat list
> > Subject: How do I set up a internet route to my
> > subnet
> > 
> > 
> > How do I set up an internet route to my subnet.
> > eth0 card connects to internet and eth1 to the
> > subnet
> > hub. I have enabled ip forwarding like this.
> > echo "1" > /proc/sys/net/ipv4/ip_forward.
> > The win95 maschine says it cant find dhcp server.


I am confused.  If your win95 box has the ipaddress set as you indicated
above, It should not be looking for a dhcp server are you sure it did
not say dns?

That makes more sense to me and is probably becuse you have not setup a
forwarding rule in your ipchains/iptables firewall script.


my ipchains ruleset has an entry like the following that I can see with
ipchains -L forward -nv:

 817K   84M MASQ       all  ------ 0xFF 0x00 
eth1                           192.168.0.0/24      
0.0.0.0/0             n/a

all on one line of course.  It is set with this statement in
/etc/sysconfig/ipchains:

-A forward -s 192.168.0.0/255.255.255.0 -d 0.0.0.0/0.0.0.0 -i eth1 -j
MASQ


eth1 is the interface to the interent on this firewall

HTH

Bret






_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to