I am using Redhat Linux 8 to run my Apache webserver. I have two network cards attached to the server.
Eth0 is supposed to be used by the outside world to access the web server. It is connected to a Linksys router which has a single public IP address on a T1 line. I use the Linksys port forwarding feature to forward port 80 to the linux webserver.
Eth1 is supposed to be the access to and from my internal network. It is to be used by my website scripts to access to my database server, and by my internal network users to access the webserver via http, ftp, ssh, etc. It is connected to the DMZ port of a Sonic router, which connects to our internal network.
The problem is that I can't seem to get eth0 to work when I use eth1: I can access the webserver between eth1 and my internal network without problems. However, I get to the webserver through the linksys router and see my website. The funny thing is, when I disable eth1 on the linux box, I CAN see the website through the linksys. So it's like there is a conflict somewhere.
Can anyone tell me if they noticed what it might be. Here is my configuration info:
[root@localhost root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:02:B3:CA:0A:89
inet addr:192.168.100.10 Bcast:192.168.100.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:255 errors:0 dropped:0 overruns:0 frame:0
TX packets:220 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:59727 (58.3 Kb) TX bytes:108373 (105.8 Kb)
Interrupt:24 Base address:0xb000
eth1 Link encap:Ethernet HWaddr 00:06:5B:F8:1B:BD
inet addr:10.1.1.5 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:38915 errors:0 dropped:0 overruns:0 frame:0
TX packets:44063 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:6551126 (6.2 Mb) TX bytes:42504547 (40.5 Mb)
Interrupt:28 Base address:0xdce0 Memory:fe8e0000-fe900000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:256 errors:0 dropped:0 overruns:0 frame:0
TX packets:256 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:14148 (13.8 Kb) TX bytes:14148 (13.8 Kb)
[root@localhost root]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.100.0 0.0.0.0 255.255.255.0 U 40 0 0 eth0
10.0.0.0 0.0.0.0 255.0.0.0 U 40 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 40 0 0 lo
0.0.0.0 10.0.0.1 0.0.0.0 UG 40 0 0 eth1
[root@localhost root]#
Thank you,
Rusty