configuring multi home solaris 8 box

Hi,

I have a solaris 8 box, which has 2 network cards,
one to internet (via a router: ie. 202.20.20.1),
one to local network (192.168.1.100). How can I configure so that only networks other than 192.168.1.x, can go thru
the router?
And I do NOT want it to be a router itself.

I did:  /etc/notrouter
/etc/gateways
and /etc/defaultrouter

but, local machines accessing it has been realy slow, internet access to it is OK.

thanks.
steviewonderAsked:
Who is Participating?
 
SpideyModCommented:
PAQ'd and no points refunded

SpideyMod
Community Support Moderator @Experts Exchange
0
 
k.kidambiCommented:
Here is the detailed procedure how to configure your cards.

consider you have hme0 and hme1 cards.
Make the both ip entries in /etc/hosts file. and create /etc/hostname.hme0[1] files. (this will bring up the interfaces at the boot time)
issue the following commands.

# ifconfig hme0 plumb
# ifconfig hme0 {your base ipaddress} netmask {your netmask} up
 when you do the 2nd step be sure that the physical network connectivity exists to the box.

do the same thing to your hme1 also.

now comes configuring the default gateways to your route.

# route add default {give your default router address} metric 1
 
for 192 network to go thru internet issue
# route add net 192.168.1.0 202.20.20.1 metric 1

If you want you can make this as default rouer also. IF you want to do that create a /etc/defaultrouter file with the 202.20.20.1 ip address. This will pickup the default route at the boot time.


Post your comments here if you have any doubts/clarifications.

Kidambi
 

0
 
jlevieCommented:
I'm not sure that I understand what you are trying to do, but I suspect that you are wanting to set the machine up as a NAT'ing gateway. To do that with Solaris you'll need something like IPFilter, which you can get from http://cheops.anu.edu.au/~avalon/ip-filter.html

The slow network performance is probably due to a link mis-negotiation problem between the second NIC and the hub or switch it is connected to. The symptoms of that include slow nework performance and a high collision rate on the Sun box when it is sending data (like with an ftp upload to something). You can fix that by forcing the link speed and mode with:

*
* Force 100Mb FDX on hme
*
set hme:hme_adv_autoneg_cap=0
set hme:hme_adv_100T4_cap=0
set hme:hme_adv_100hdx_cap=0
set hme:hme_adv_100fdx_cap=1
set hme:hme_adv_10fdx_cap=0
set hme:hme_adv_10hdx_cap=0

which will set the link to 100Mbps FDX. You may also, in the case of a switch, need to force the switch port to 100Mbps FDX to get a complete fix.
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

 
tfewsterCommented:
No comment has been added lately, so it's time to clean up this Topic Area.
I will leave a recommendation for this question in the Cleanup topic area as follows:

- PAQ, no points refunded

Please leave any comments here within the next 7 days

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

tfewster
Cleanup Volunteer
0
 
DigitalXtremeCommented:
I have noticed that you have 9 opened questions that are quite old. You have a responsibility to close these questions out.
You can get to them by clicking on your name link at the upper left of the web page.

http://www.experts-exchange.com/Operating_Systems/Solaris/Q_20181671.html
http://www.experts-exchange.com/Operating_Systems/Solaris/Q_20181063.html
http://www.experts-exchange.com/Programming/Programming_Languages/Java/Q_20357606.html
http://www.experts-exchange.com/Web/Web_Languages/CGI/Q_20375901.html
http://www.experts-exchange.com/Web/Web_Languages/CGI/Q_20361952.html
http://www.experts-exchange.com/Web/Web_Languages/CGI/Q_20336471.html
http://www.experts-exchange.com/Networking/WinNT_Networking/Q_20164644.html
http://www.experts-exchange.com/Networking/Email_Groupware/Exchange_Server/Q_20338617.html
http://www.experts-exchange.com/Networking/Email_Groupware/Exchange_Server/Q_20164835.html


Please close all of your old questions (older than a month) within 7 days or I have a duty to report this to the site administrators who may take action on your account.
If you have question on how to dispose of a question that doesn't have an answer, just ask me by dropping a line on this question and I will assist you.
Thanks for helping keep Experts Exchange clean

DigitalXtreme
CS Moderator
0
 
SpideyModCommented:
steviewonder,
Time is running out to handle your open questions.  Leaving this until tomorrow.

SpideyMod
Community Support Moderator @Experts Exchange
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.