Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Servers > Samba, Web Server, Dual Homed (am I asking for it?)

Forgot Password?
 Servers   Anything server related, Apache, MySQL, Samba, server security, sendmail, exim, etc

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 08-31-2006   #11 (permalink)
Linux Enthusiast
 
Join Date: Dec 2004
Posts: 635
Question? Is there an underlying requirement to use two NICs? Wouldn't it be easier to simply use one NIC and assign IP aliases to the single NIC - assuming ETH0?

This would make your routing scheme a lot easier and having the second NIC would only complicate matters. Just an observation.
gtmtnbiker98 is offline  


Reply With Quote
Old 08-31-2006   #12 (permalink)
Trusted Penguin
 
Roxoff's Avatar
 
Join Date: Aug 2005
Location: Nottingham, England
Posts: 2,836
Quote:
Originally Posted by gtmtnbiker98
Question? Is there an underlying requirement to use two NICs? Wouldn't it be easier to simply use one NIC and assign IP aliases to the single NIC - assuming ETH0?

This would make your routing scheme a lot easier and having the second NIC would only complicate matters. Just an observation.
And if you're behind a physical firewall, you only need to secure down the web port - nobody outside the LAN can talk to this machine on any other port anyway. At home I have a samba server on my web server machine - I keep the firewall turned off on that box, 'cos I dont need it, it's behind my real firewall, and you can only get through on port 80 and port 25 (www and mail), and a local firewall or routing plan wouldn't prevent someone using an exploit against apache or sendmail anyway.
__________________
Linux user #126863 - see http://counter.li.org/
Roxoff is offline   Reply With Quote
Old 11-26-2006   #13 (permalink)
Just Joined!
 
Join Date: Sep 2006
Posts: 1
multihomed Apache

Hi,

Did you solve this? I suspect Apache bind will work for you. See BindAddress in http://httpd.apache.org/docs/2.0/bind.html.

I have a similar problem with the Linux routing tables and believe the defaults chosen may be chosen simply to help dumb users run with dual NICs (multihomed). The way I interpret the routing table is all networks go to 0.0.0.0 and 0.0.0.0 goes to the lowest numbered network. Probably the "Gateway" address (Argh! why didn't they call it "router"? Is the use of "Gateway" the Bad Idea Ballmer claims Microsoft created? should be the network of the NIC rather than 0.0.0.0. But maybe the DHCP is giving bogus info.?

Does anyone have multihomed Apache? In Linux? Did you have to change the routing tables?

Thanks,
TimJowers
http://www.serviza.com/
timjowers is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 05:08 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2