Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Installing one second NIC

Status
Not open for further replies.

fonso

Technical User
Nov 22, 2002
35
ES
I have this configuration, working ok :
(SCO Openserver 5.0.5).

SCO -> 10.0.0.61 -> local network running.
This is running ok, and this is working ok with telnets calls.

Now I need to install one second NIC into the SCO, and accept incoming telnets from it. This second NIC is connected at one router who redirect the incoming telnets from the outside to the local 192.168.1.1 IP. (incoming telnets from the Internet)

Then, when I have installed the second NIC, the SCO looks like this :

SCO : NIC 1 : 10.0.0.61 <- my local network.
NIC 2 : 192.168.1.1 <- incoming telnets from Internet.

But now, when I was installed this second NIC, thats wrong.
Any NIC was running ok!. The NIC 1 and the NIC 2 are stopped working. Any NIC was accepting incoming telnets!.
Whats happen ? Why don't work any NIC now ?

I need to accept incoming telnets from the two NIC. From the NIC 1 accept incomings from my local network. From the NIC 2 I need accept incoming calls from the Internet.

How I set a default route at the NIC 2 ?
In some other SCO (with only one NIC) I was addeded a default route like : route add default IP_router, and worked fine, but I don't know how I route to at the second NIC!.(when it works!)

I need too not do IP broadcasting between the two NICs.
When someone go into my SCO from the second NIC (from the Internet), don't have the posibilitie to access to the local network (for security).

Can someone to help me ?

Thank you, and sorry about my English.
Fonso. Spain.

 
First make sure you don't have a hardware conflict.
Remove your original nic and see if the new one works on its own.

Routes:

You will have a route table that should look something like:
(netstat -nr first two columns)

10 10.0.0.61
10.0.0.61 127.0.0.1
192.168 192.168.1.1
192.168.1.1 127.0.0.1
127.0.0.1 127.0.0.1
224 10.0.0.61

You will need to add your default route the same way as you described:

route add default ip_of_router
The address of the router should be on the 192.168.0.0 network, so you specify it as the gateway not the nic that goes to it.

Telnets:
If you are going to allow a telnet session from the internet then there is no way to stop them from going onto your local network because a session on the sco box is the same no matter where its screen output is eventually going. You can make it difficult (but not impossible) for them by removing the client apps (telnet, ftp, rlogin, etc) from the sco system while leaving the server apps active (telnetd, ftpd, rlogind....)
 
A server can only have one default route.

You are going to have security problems if you open up telnet from the internet. Ideally if you know where the telnet's are coming from you should run a VPN solution (from Cisco say), ssh, TCPWrappers, ... etc. You should put a firewall between this SCO server and the rest of your network, allowing only the minimum traffic between them.

Not sure what you meant in your &quot;but now, when I was installed this second NIC, thats wrong&quot; paragraph.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top