[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Network HELP PLEASE!!



> Hi,
> 
> I can NOT get an internal network setup for the life of me:(  
> I need some
> help please.  Here is my setup:
>              |----------------------------|      |------ --------|
>              |eth0                    eth1|      |eth0           |
> Cable Modem--|dhcp             192.168.0.1|-<----|192.168.0.2    |
>              |                            |      |               |
>              |       LINUX BOX            |      | WINDOWS BOX   |
>              |----------------------------|      |----- ---------|
> 
> I followed the linuxdoc.org/HOWTO on IP MASQ'ng  explicitly 
> but when I ran
> the rc.firewall I got an error insmod ip_tables.o it said the 
> device or
> resource was busy:(

That means that you have ipchains inserted.  You can remove it and add
iptables:

ipchains -F
rmmod ipchains
insmod iptables

> 
> Ok so then I dropped the rc.firewall and went into KDE and used the
> firewall config tool.  I did not get any errors on boot but 
> it is still
> not working.  It now loads the ipchains at boot and I get the 
> [  OK  ] but
> my windows box still cant get to the net.  It might be how I have my
> policies set.  I have a problem using the KDE firewall config 
> tool because
> it is asking me for an IP to forward to from 192.168.0.1 and 
> since eth0 is
> dhcp I can not give it an ip:(  I'm very lost tired and 
> confused and would
> REALLY appreciate some help.  This is going on three days and 
> its driving
> me crazy.  I am using RH7.1 and would love someone to just shoot me an
> email with step by step config instructions, if at all possible;)
> 
> Regards,
> Andre

Did you edit /etc/sysctl.conf, and change net.ipv4.ip_forward=0 to
net.ipv4.ip_forward=1 and net.ipv4.ip_always_defrag=0 to =1?  IIRC you
should be able to forward 192.168.0.1 to eth0, and not have to have the IP
address.  Try it and see.

Forrest





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []