Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-04-2006, 03:28 PM
|
#1
|
|
Member
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351
Rep:
|
Configuring 2 Network Cards
I have a computer that I am currently setting up for my school as a content filter. The machine has 2 network cards in it. I have one card setup perfectly to work as the receiving end of the internet. My question is, what do I have to do to get the OTHER card setup as the output to the rest of the network? Thanks
PS I am still working on Squid and Dan's filter. Any suggestions would be appreciated.
|
|
|
|
05-04-2006, 04:01 PM
|
#2
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,707
|
depends how you want this all to work really. if this box is ONLY for web, then you should run it as a proxy, let them connect to squid and let that go off to the internet seperately. in this scenario there is really very little networking to do, it simply is on two networks at once. squid does not "output" to a network, it simply responds back to whoever asked it to do something, and if that client was on the internal side, then that's where it will reply to. if the internal network contains more than just the local network then you would need to add on manual routes to all other networks reachable internally.
|
|
|
|
05-04-2006, 04:11 PM
|
#3
|
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
Quote:
|
Originally Posted by acid_kewpie
depends how you want this all to work really. if this box is ONLY for web, then you should run it as a proxy, let them connect to squid and let that go off to the internet seperately.
|
Or he could use NAT to proxy.
Peace...
|
|
|
|
05-04-2006, 04:13 PM
|
#4
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,707
|
well that's not http proxying then.. that's natting... which is what i would recommend against. if you only want web, do the networking at a higher applicatino level where you are only interested in http gets and posts. doing a nat / masq towards the internet could give a vast amount more access than is intended.
|
|
|
|
11-23-2006, 11:29 AM
|
#5
|
|
LQ Newbie
Registered: Nov 2006
Posts: 2
Rep:
|
Slackware 11
I've got two network cards for internet and lan.
I can't make them work at the same time.
I turn on one card, then another, and the first one works perfectly, when second doesn't want to "look" at the net.
So, I can be only in one network -- internet or lan.
eth0 172.16.10.1 Bcast 172.16.255.255 Mask 255.255.0.0
eth1 172.16.10.2 Bcast 172.16.10.255 Mask 255.255.255.0
|
|
|
|
11-23-2006, 02:03 PM
|
#6
|
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,684
Rep: 
|
PLEASE start your own new thread instead of re-opening an old one with your unrelated question at the end.
I might have answers for you but I won't add them here.
Eric
|
|
|
|
11-23-2006, 03:07 PM
|
#7
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,707
|
well laregly as above but essentially.. your subnets there are a complete mess, i'd suggest reading up on subnetting and ip in general, as one network clearly contains the network of the other in a larger mask.. that's a mess and little else.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:24 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|