Similar Threads:
1.Two NICs, Two networks, secure websites
Hi!
I have a Cisco router (provided by the ISP) that offers 29 usable IP's.
One of the public IP's is set to be the WAN IP of a simple SOHO
Linksys router that then creates a private network 192.168.1.0. There
is a Linux server with Apache on the private network. Port forwarding
on the Linksys router allows SSL access to secure web pages,
unencrypted HTTP, SSH, etc. to the Linux server. This all is working
OK.
I need to have a 2nd SSL site running on the same Linux server. So, I
installed a 2nd NIC and connected it to the Cisco router and used one
of the available public IP's. I cannot connect to the new public IP
(via the new NIC), but can still connect to everything described in the
1st paragraph above.
I can ping out each of the interfaces (e.g. ping -I eth0 yahoo.com and
ping -I eth1 yahoo.com both work). The results of route are:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
AAA.BBB.CCC.160 * 255.255.255.224 U 0 0 0
eth1
192.168.1.0 * 255.255.255.0 U 0 0 0
eth0
127.0.0.0 * 255.0.0.0 U 0 0 0
lo
default 192.168.1.1 0.0.0.0 UG 0 0 0
eth0
On the server, I can do lynx https://192.168.1.2 and lynx
https://AAA.BBB.CCC.164.
>From outside of the server, https://AAA.BBB.CCC.163 works now, but
https://AAA.BBB.CCC.164 does not. What needs to be done to allow
https://AAA.BBB.CCC.164 to work? And/or, what can I do to troubleshoot
the problem?
eth0 Link encap:Ethernet HWaddr 00:40:F4:E9:3F:3D
inet addr:192.168.1.2 Bcast:192.168.1.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6335 errors:0 dropped:0 overruns:0 frame:0
TX packets:5026 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1373872 (1.3 Mb) TX bytes:2199390 (2.0 Mb)
Interrupt:16 Base address:0xf000
eth1 Link encap:Ethernet HWaddr 00:0C:76:B4:CA:82
inet addr:AAA.BBB.CCC.164 Bcast:AAA.BBB.CCC.191
Mask:255.255.255.224
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1582 errors:0 dropped:0 overruns:0 frame:0
TX packets:2133 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:100305 (97.9 Kb) TX bytes:166007 (162.1 Kb)
Interrupt:21 Base address:0x1000
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:209 errors:0 dropped:0 overruns:0 frame:0
TX packets:209 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:22394 (21.8 Kb) TX bytes:22394 (21.8 Kb)
Thanks!
2.Two NICs - Two Networks - No Clue
Hi,
Hopefully I will make this concise. I'm setting up Server 2003 to function
as a GhostCast server (PXE). I would like this to be completely separate from
our Active Directory network as the Ghosting process adversely affects
traffic. Yet, I would still like to be able to access the WWW through our AD
network.
I've currenlty got two NICs in the server with the IPs hard-coded. One NIC
is connected to a switch for the Ghosting and the other NIC is connected to
the AD and cannot access the WWW. What am I doing wrong?
If anyone could point me in the right direction, I would greatly appreciate
it.
Jeremy
3.Server 2003 two nics two networks
We have multiple servers (2003) with two NICs. In each machine, one
NIC is configured with a public IP and one with a 10.x. Our lab
machines are all on the 10.x network. The idea is that the lab
machines communicate via the 10.x to our servers. However, they are
also supposed to be able to connec to the Net. They go through a
router that has a private and a public interface for this purpuse.
However, I am finding that my servers are getting to portions (if not
all) of my public network via their private interfaces, through this
router, and on. The effect - my router "poisons" my campus router such
that other computers on my public network cannot see my servers. I
believe that what happens is that a computer on the public network goes
through our campus router to get to the server's public IP but the
campus router reports the MAC of my private router - it then discards
the traffic. Anyhow, my assumption was that with any Windows Server
machine with two NICs with two networks would logically say: if this
packet is destined for 10.x go out my NIC with that network address.
If this packet is destined for a public IP go out my NIC with a public
IP address. Is this logic wrong? If so, what is the reason? If my
logic is correct, what would cause my servers to violate this logic? I
am more than willing to read whatever necessary if someone wants to
simply point me in the right direction.
Thanks
4.Two NICs / Two Networks / One Machine
Here's the situation: I have both DSL (pokey 800k) and Cable (2500k, usually) broadband modems in my SOHO. I'd like to have both of these hooked up, not to run in a "Dual WAN" mode, but in an "either/or" mode
Is this possible
5.two dsl connections, two routers, dual nics on linux box , want to run two websites
Hello,
I have two dsl connections, with one public ip on each. I have a linux
box with two nic cards.
xx.xx.xx.xx(WAN)---ROUTER(LAN23.123.45.110) ---- MYLINUX
(23.123.45.107) eth1
yy.yy.yy.yy(WAN)---ROUTER(LAN192.182.1.1) ---- MYLINUX
(192.168.1.100) eth0
I have apache listening on both interfaces.
Problem:
1. How do I make the packets route back to the gateway from which they
originate.
Currently the gateway marked as "default" is able to serve content
from the apache. The other one cannot.
I tried adding static routes, but that didn't work.
Any help is appreciated.
Thanks
Jay
---------------------------------------------------------------------
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref
Use Iface
adsl-23-123-45- adsl-23-123-45- 255.255.255.255 UGH 0 0
0 eth1
23.123.45.0 * 255.255.255.0 U 0 0
0 eth1
192.168.1.0 * 255.255.255.0 U 0 0
0 eth0
loopback * 255.0.0.0 U 0 0
0 lo
default 192.168.1.1 0.0.0.0 UG 1 0
0 eth0
eth0 Link encap:Ethernet HWaddr 00:0D:87:57:A0:DE
inet addr:192.168.1.100 Bcast:192.168.1.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3060612 errors:0 dropped:0 overruns:0 frame:0
TX packets:3577217 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1566982235 (1494.3 Mb) TX bytes:1126616733 (1074.4
Mb)
Interrupt:11 Base address:0xe000
eth1 Link encap:Ethernet HWaddr 00:40:05:39:0E:EA
inet addr:23.123.45.107 Bcast:68.123.24.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:90635 errors:0 dropped:0 overruns:0 frame:0
TX packets:31082 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:23017102 (21.9 Mb) TX bytes:13283751 (12.6 Mb)
Interrupt:11 Base address:0xe000
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:11888 errors:0 dropped:0 overruns:0 frame:0
TX packets:11888 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6920794 (6.6 Mb) TX bytes:6920794 (6.6 Mb)
6. Servers with two NICS and two networks
7. Two NICs And Two Separate Networks?
8. Two NICs & Two Separate Networks?