#1  
Old 8th July 2007, 05:14
tcroteau tcroteau is offline
Junior Member
 
Join Date: Jul 2007
Posts: 24
Thanks: 2
Thanked 0 Times in 0 Posts
 
Default Apache Server - 2 NICs

Well, I'm back yet again. I have everything working well with one exception. My LAN PCs are experiencing intermittent connectivity issues hitting the Apache server.

I have a Linksys router behind a Netopia router (NAT off/routed subnet with a static route to the Linksys) that serves the LAN via DHCP. All the LAN PCs can hit the web no problem as well as hit my Windoze web server. The Apache server has 2 NICs; 1 for WAN, 1 for LAN.

The issue is sometimes (like right now), the LAN PCs cannot reach the Apache server via WAN IP or HTTP.

Here's my network layout (PDF):


Interfaces Config
# eth0 LAN
auto eth0
iface eth0 inet static
address 192.168.2.202
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
gateway 192.168.2.1

# eth1 WAN
auto eth1
iface eth1 inet static
address 75.56.27.193
netmask 255.255.255.248
network 75.56.27.192
broadcast 75.56.27.199
gateway 75.56.27.198

ifconfig
crotuxweb:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:14:6C:C3:78:1A
inet addr:192.168.2.202 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::214:6cff:fec3:781a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12889 errors:0 dropped:0 overruns:0 frame:0
TX packets:11526 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2231182 (2.1 MiB) TX bytes:5029588 (4.7 MiB)
Interrupt:169 Base address:0x3000

eth1 Link encap:Ethernet HWaddr 00:00:E8:92:0C:60
inet addr:75.56.27.193 Bcast:75.56.27.199 Mask:255.255.255.248
inet6 addr: fe80::200:e8ff:fe92:c60/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4935 errors:0 dropped:0 overruns:0 frame:0
TX packets:4313 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1211292 (1.1 MiB) TX bytes:2031719 (1.9 MiB)
Interrupt:177 Base address:0x3400

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:12835 errors:0 dropped:0 overruns:0 frame:0
TX packets:12835 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:839803 (820.1 KiB) TX bytes:839803 (820.1 KiB)

netstat -rn
crotuxweb:~# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
75.56.27.192 0.0.0.0 255.255.255.248 U 0 0 0 eth1
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 75.56.27.198 0.0.0.0 UG 0 0 0 eth1
0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 eth0

I've read on the web that you cannot have two default gateways. Is this my issue?

Any thoughts or suggestions would be greatly appreciated.

Thanks,
Tom
Attached Images
File Type: pdf NetworkLayout.pdf (36.9 KB, 450 views)

Last edited by tcroteau; 8th July 2007 at 05:16.
Reply With Quote
Sponsored Links
Reply

Bookmarks

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MaxClients set to appropriate level, but ISPconfig is crashing from it (I think) bpmee Server Operation 6 11th January 2007 19:29
Very weird Apache + iptables problem snowfly Server Operation 1 8th August 2006 01:51
How set DNS entry for different server? SupuS Installation/Configuration 1 12th June 2006 09:48
after install Apache..outside server cannot view webpage vktechnology Installation/Configuration 3 15th May 2006 15:51
Server Not Autorative for Domain Error drbista Installation/Configuration 10 20th December 2005 16:41


All times are GMT +2. The time now is 10:36.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.