Similar Threads:
1.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)
2.two nics - two networks
I have a windows 2003 server with one nic (192.168.100.x). We just
purchased a second company that's in our building. Can I add a second nic
and configure it to there network ip scheme (192.168.25.x) so that I can
share one server? I want to share the server, just not the information on
the server. Will either of the networks be able to one another if I don't
bridge the networks cards? Thanks for any help you can provide.
A
3.Servers with two NICS and two networks
I have 8 servers with 100 desktops attached. The servers connect to a 1gb
switch that feeds all the desktops. There is a firewall attached to the
switch that provides Internet connection. All pretty standard stuff = IP is
10.10.1.0 to 10.10.5.0 with mask of 255.255.252.0.
I have a tape drive in one server that backs up data from the other servers.
Since all the servers have two NICs, I was hoping I could setup a separate
address range for those NICs and let the backup use that NIC and not flood
the other with traffic.
I can set the second NICs to be 172.16.1.1 172.16.1.250 range with mask of
255.255.255.0. I would put in a new 1gb switch that just connects the second
NICs (switch is cheap enough and no need to burden other switch with VLANs).
What would I need to also configure on the servers so it knows that traffic
destined for the other servers use the 172.16.x.x range and not the 10.10.x.x
range? What other settings do I need to know about?
Is this config going to make a difference in inter-server communication
(speed)?
4.Two NICs And Two Separate Networks?
Question about a proposed office network.... All Windows XP systems
Network 1:
Cable Modem ---> Router / Firewall ---> 3Com Hub ---> NIC #1 In
Machine (TCP/IP & DHCP)
Network 2:
3Com Switch ---> NIC #2 In Machine (IPX/SPX & Set IP Address)
I was told running a different protocol such as IPX/SPX on the second
network would make it more secure, is this true?
I understand that the PC's still are connected to the internet on
network 1 but wouldn't it be more secure since network 2 isn't
directly connected to the internet and in order to access network 2 a
hacker would have to go through the firewall and then though the
machine?
The server will be on network 2 and will not need internet access.
One would think that since it is on a separate network it would be
more secure than being connected directly to network #1
Any ideas?
5.Two NICs & Two Separate Networks?
Question about a proposed office network.... All Windows XP systems
Network 1:
Cable Modem ---> Router / Firewall ---> 3Com Hub ---> NIC #1 In
Machine (TCP/IP & DHCP)
Network 2:
3Com Switch ---> NIC #2 In Machine (IPX/SPX & Set IP Address)
I was told running a different protocol such as IPX/SPX on the second
network would make it more secure, is this true?
I understand that the PC's still are connected to the internet on
network 1 but wouldn't it be more secure since network 2 isn't
directly connected to the internet and in order to access network 2 a
hacker would have to go through the firewall and then though the
machine?
The server will be on network 2 and will not need internet access.
One would think that since it is on a separate network it would be
more secure than being connected directly to network #1
Any ideas?
6. Forwarding of multicast packets between two subnets with two NICS - Does not work
7. Two NICs / Two Networks / One Machine
8. Is it possible to have one computer(win xp) connected to two networks using two nics