Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

configuring a second eth card

Posted on 2003-02-21
6
Medium Priority
?
227 Views
Last Modified: 2010-03-18
Hi,

We run a web server application internally in my company.

We have one interface configured with an ip address of 192.168.28.61 and a default gateway of 192.168.28.9

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.28.0    *               255.255.255.0   U        40 0          0 eth0
127.0.0.0       *               255.0.0.0       U        40 0          0 lo
default         192.168.28.9    0.0.0.0         UG       40 0          0 eth0

however this IP address is restricted to only certain other LAN's in the company. We would like to add another card and IP address but connected to another LAN which all the company can access. I assume we would then create a new apache virtual server for this ip address.

The second ip address is 192.168.6.16 and the gateway router is 192.168.6.100.

I tried just adding the new ip address and bringing up the interface but then nothing was reachable. I assume this is because the routing must be changed but I'm really not sure what or how. Also what else must be considered etc.

Can anyone help?

Thanks in advance.
0
Comment
Question by:cbnd
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
6 Comments
 

Expert Comment

by:jeremynd01
ID: 8005343
When you say "nothing was reachable," do you mean that you could not contact the server from other computers on the new network card, or that you couldn't contact other computers from the server?  Also, are your routers really hardware devices, or are you just talking about entries in a dhcp server?

Perhaps a little more setup detail would help.  It could be that you're just not supplying the right commands when you try to ping other devices, your firewall could be in the way, etc...
0
 

Author Comment

by:cbnd
ID: 8007151
Hi jeremynd01,

Thanks for your reply.

When I brought up the second interface I lost all connectivity to everything outside the local LAN. All my exisiting connections were terminated and I could no longer ping anything outside. I just got host-unreachable.

There are no DHCP servers or firewalls in this network. It's internally secure from the outside world. The routers are all hardware Cisco's as are the switches.

I cannot rely on my default gateway as it's on the 192.168.28 LAN and this does not connect to all the company. If packets were to some in from the 192.168.6 LAN then I would have to put some routing in place to make sure packets went back through the second interace on the 192.168.6 LAN. There might be something else I need to do but I'm lost there.
0
 

Accepted Solution

by:
jeremynd01 earned 200 total points
ID: 8012271
Wow... real-deal Cisco stuff.... That's nicer than I've ever played with, but maybe I can help a bit with 'los dos network cards'.  I've put two cards in boxes many times, and never had to change the kernel routing table to allow them to talk to their LAN peers.

It sounds like your original card (eth0) works fine (i.e. can ping stuff and get replies) when eth1 is deactivated (#ifconfig eth1 down).   Now when you bring up eth1, try supplying the -I <interface> to ping:

#ping -I eth0 <hosttoping>

and see if it works.  Hopefully it does, because then the existance of eht1 isn't messing up your connection.  Likewise, you should be able to ping something on eth1 when it is active.

If this doesn't work, then do and #ifconfig after eth1 isu up and see if there's a conflict, or paste it into ex-ex so we can ponder at it!!
0
 

Expert Comment

by:CleanupPing
ID: 9077801
cbnd:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question