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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

network setup

Status
Not open for further replies.

inq1

Technical User
Apr 30, 2003
45
US
I have 2 Lan cards on the Compaq ML370. One has been configured and now I am trying to set the other up.
Currently when I do a netstat -r there are 2 "interfaces" net1 and net2. It is net2 that I need to confiqure. I added the address via /etc/route add, but how can I tell it to add to net2? it added but I still cannot ping the address. I probably have not given enough info, I am using SCO 5.0.6. Any help will be appreciated.
 
Try to use the
Code:
 netconfig
command.

Hope This Help
PH.
 
I don't think I need to add the hardware as it looks like I have a net0 and net1 (I said net1 and net2 before, but net0 and net1 are correct). We have been using net0 which is the added lan card, and appearantly net1 is the lan on the motherboard as that is the one I had to plug into the other connection. Now I need to get it to recognize the other address. Thanks
 
The netconfig command can be used to add nic (hardware) *AND* protocol (software) like tcp-ip. So you can tell the system the ip address you want for the 2nd nic.

Hope This Help
PH.
 
ifconfig -a
will show you how the interfaces are configured.

netstat -nr should match the ip's that ifconfig will show you.

as PHV says, use netconfig to add/modify the settings.
 
Okay, I do see all that, and it looks correct. When we did this similar thing in HPUX I had to add all the different IP address's that were coming into that particular card as it was a "secure" network. When we first started the IP's started with '158', then they swichted to '169', the card address stayed the same as '158' but I had to change the 158's to 169's that were coming in, it seems like it was in /etc/netconf/netrc.d, or something like that. I would add the route, gateway etc through vi., then be able to receive and send. Anything similar in SCO? Thanks
 
man ifconfig (take a look at the alias parameter)
man route (take a look at the add parameter)
feel free to use extensively the ifconfig -a and netstat -rn commands to see the result of your trial.
When all is OK, you can made the changes permanent accross reboot by creating a /etc/rc2.d/S99route shell script.


Hope This Help
PH.
 
??
I'm confused, but it sort of sounds like tcp wrappers where you would have /etc/hosts.allow and /etc/hosts.deny
and I'm not sure whether or not you can specify per interface.
 
Hi,
I personaly use ' scoadmin '
go to >network > Network Configuration Manager
Check if the 2 cards are here ;-)
then enlight the 'SCO TCP/IP' of the card you want to configure and finally choose in the upper menu 'Modify protocol configuration'
Fill the fields, choose 'ok' then 'Hardware' > 'exit'
You have to relink now ! ( the system ask you for that )
reboot and enjoy.
If you want to see what routes are set,try netstat -rn
Good Luck.
Jack
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top