The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com




Thread: Masq
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 03-17-2002
minion minion is offline
Registered User
  
 

Join Date: Nov 2001
Location: Dimly lit room
Posts: 6
Masq

I have been trying to turn my slackware linux computer into a router/firewall. I have been going by the guide http://www.linuxdoc.org/HOWTO/IP-Mas...WTO/index.html . I set up their script, made sure it ran without errors, and added it to my local script. I also set eth1 as 192.168.0.1 and left my eth0 to get its ip from dhcp (since its the card connected to the net). After I had all that set, I plugged the computer into my cable modem, and then the uplink part of my hub. The computer got net connection on eth0 and its ip 192.168.0.1 on eth1. Then I plugged another one of my computers into the hub, 1 port past the uplink (where my linux computer is plugged in). I set the ip on the computer as 192.168.0.2, and the gateway as 192.168.0.1, and mask as 255.255.255.0 . For some reason, it wasn't able to ping 192.168.0.1 . After that, I turned my hub from uplink to normal, and then it was able to ping 192.168.0.1 but still didnt have net access. Im really confused now....

Last edited by minion; 03-17-2002 at 05:36 PM..