Networking Forums

Networking Forums > Computer Networking > Linux Networking > 2 network card for one server

Reply
Thread Tools Display Modes

2 network card for one server

 
 
vladimirpp
Guest
Posts: n/a

 
      11-14-2003, 09:19 AM
Hi,

I have a problem with a linux SuSE:

I need 2 net cards on the same server with LAN IPs (e.g. 192.168.0.11
and 192.168.0.12). I have on this server an Apache server with two
virtual hosts for both IPs. If I make a request from LAN everything is
working fine. I have two firewalls each of them for a htps requests is
calling Apache server in LAN:
Firewall-1 -> htps://192.168.0.11
Firewall-2 -> htps://192.168.0.12
Firewall-1 requests works but second receive no answer.
I have on my linux server two default routes:
0.0.0.0 192.168.221.251 0.0.0.0 UG 0 0
0 eth0
0.0.0.0 192.168.221.251 0.0.0.0 UG 1 0
0 eth1

It seems that something is not correct .. but what?
Thanks!
 
Reply With Quote
 
 
 
 
Michael Heiming
Guest
Posts: n/a

 
      11-14-2003, 10:45 AM
vladimirpp <(E-Mail Removed)> wrote:
> Hi,


> I have a problem with a linux SuSE:


> I need 2 net cards on the same server with LAN IPs (e.g. 192.168.0.11
> and 192.168.0.12). I have on this server an Apache server with two


You shouldn't normally have two NICs on the same subnet. If you need/want
that use bonding:

/usr/src/linux/Documentation/networking/bonding.txt
(Needs kernel sources installed)

--
Michael Heiming

Remove +SIGNS and www. if you expect an answer, sorry for
inconvenience, but I get tons of SPAM
 
Reply With Quote
 
Joe Dunning
Guest
Posts: n/a

 
      11-14-2003, 10:11 PM
On 14 Nov 2003 02:19:38 -0800, vladimirpp <(E-Mail Removed)> wrote:
>Hi,
>
>I have a problem with a linux SuSE:
>
>I need 2 net cards on the same server with LAN IPs (e.g. 192.168.0.11
>and 192.168.0.12). I have on this server an Apache server with two
>virtual hosts for both IPs. If I make a request from LAN everything is
>working fine. I have two firewalls each of them for a htps requests is
>calling Apache server in LAN:
>Firewall-1 -> htps://192.168.0.11
>Firewall-2 -> htps://192.168.0.12
>Firewall-1 requests works but second receive no answer.
>I have on my linux server two default routes:
>0.0.0.0 192.168.221.251 0.0.0.0 UG 0 0
>0 eth0
>0.0.0.0 192.168.221.251 0.0.0.0 UG 1 0
>0 eth1


How does your machine contact the gateway (192.168.221.251)? It does not
seem to have a route to this, unless your netmask is 255.255.0.0

Why do you have 2 NICs? You could put 2 IP addresses on the same network
card.
 
Reply With Quote
 
 
 
Reply

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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Server 2003 R2 x64 network card Tobias Windows Networking 0 06-26-2007 11:20 AM
Network card for server 2003 r2 enterprise.... thank you all Shiney69rr Windows Networking 1 06-23-2006 11:41 PM
Problem with two Network Card on WK3 server Dany C. Windows Networking 1 09-20-2005 04:10 AM
Dual-Network Card VPN Server? JHO Windows Networking 5 08-25-2005 10:51 PM
Replacing Network card on primary DC / DNS server =?Utf-8?B?aW1vYml1cw==?= Windows Networking 3 12-29-2004 10:56 PM



1 2 3 4 5 6 7 8 9 10 11