LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-19-2003, 09:39 AM   #1
donnyp02
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Rep: Reputation: 0
Slack 9.1 Networking


I have a fresh install of slack 9.1. I rebooted after installation was finished, at the time I only had one NIC installed. DHCP work perfect, and I was able to access the internet, I was pluged into the hub btw. I installed my second NIC card, everything worked perfectly again, and the second nic is configured to not use DHCP, I assigned it an ip and netmask. So now everything is working fine, able to get on the internet. I unplug the box from the hub, and plug it directly into the cable modem. reboot, DHCP dosent work, it says broadcasting DHCP_REQUEST for 192.168.1.1. It wont access the net or anything. Any help would be greatly appriciated.

What I'm trying to do with the two NICS is set up a linux firewall for my network. Have the cable modem pluged directly into eth0, and then my network pluged into eth1, and creating iptables, and all that fun stuff.
 
Old 10-19-2003, 10:07 AM   #2
pierow
LQ Newbie
 
Registered: Mar 2003
Posts: 6

Rep: Reputation: 0
I've got pretty much the same setup. My dsl goes straight from my phone jack to my dsl modem. Then from the modem it goes to my slack box to the first nic which is eth0. Then from the second nic which is eth1 it goes to my windows comp. Follow that and you'll have your slackware box setup as a router.

You'll have to enable ip-masqurade and make sure eth0 and eth1 are setup properly
 
Old 10-19-2003, 12:37 PM   #3
donnyp02
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Original Poster
Rep: Reputation: 0
ok, I got the jest of that down already, guess I should have made me question a little bit more clear. How do you set up IP masquarding? And what is the proper steup for eth0 adn eth1? Do you just mean properly setup in rc.inet1.conf?
 
Old 10-19-2003, 09:53 PM   #4
donnyp02
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Also, if I plug eth0 into the router, with my cable modem plug into the router, I have internet on my linux box(and all boxes). But if I plug the cable modem directly into eth0, i have no internet. Is there a setting somewhere you have to change from network directly to internet connection?
 
Old 10-20-2003, 12:15 AM   #5
donnyp02
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Ok, I got that issue resolved. I can now hook my cable modem directly to eht0, and have internet on my linux box. I can hook eth1 to my hub, and the link lights work, but I cant get access to the internet on any of my other boxes, after configuring them to use the gateway(linux box) does anyone know of a tutorial that tells how to do what I'm trying to do?
 
Old 10-20-2003, 12:30 AM   #6
JonLee
LQ Newbie
 
Registered: Oct 2003
Location: Sydney, Australia
Distribution: Slackware,Red Hat
Posts: 18

Rep: Reputation: 0
Masquerading firewall

You want to run a masquerading firewall - systems behind the firewall masquerade as the IP address of the firewall's external (Internet-facing) interface. This reference http://www.linuxguruz.com/iptables/ has a bunch of HOWTOs and a masquerading firewall script. Please read the HOWTO first before implementing the firewall script so that you know the theory.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slack 9.1 Networking issue Diminished7th Linux - Networking 2 07-06-2004 12:56 AM
Networking Slack for N00BS? SaintBucky Slackware 1 03-05-2004 03:13 PM
How I got networking working on slack 9.1 with Kernel 2.6.1 B1TW1SE Slackware 1 01-15-2004 08:23 AM
Networking on Slack Linux_Inside Slackware 4 10-29-2003 10:15 AM
slack 9 and a big networking book mipia Linux - Networking 1 07-16-2003 02:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration