[SunHELP] How to Install 2nd NIC and assign IP to it

Warren Brennan sunhelp at sunhelp.org
Thu Mar 22 00:04:28 CST 2001


The installation and configuration of the second NIC is actually quite
simple. You simply put the NIC into the system, boot up and do the
following:

1) create a /etc/hostname.hme1 (assuming this is hme, and not qfe (quad fast
ethernet) and insert a hostname
2) modify the /etc/hosts file and insert the hostname used above and the IP
address
3) modify /etc/netmasks to insert the new netmask

You can only assign one default gateway (/etc/defaultrouter) to the system.
If you need another gateway, you would need to insert a line into the
inetsvc RC script to run the route command.

Cheers,

Warren

> -----Original Message-----
> From:	Tim Wu VBISD [SMTP:tim at vbisd.org]
> Sent:	Wednesday, March 21, 2001 11:33 AM
> To:	sunhelp at sunhelp.org
> Subject:	[SunHELP] How to Install 2nd NIC and assign IP to it
> 
> Hi,
>        I want to try ipfilter on the box.  So I need to add 2nd card to
> my box and assign a 10.X.X.X ip on it. Can anyone tell me how to install
> 2nd network card and which file should I modify to assign ip, mask,
> gateway... to the interface.
> Thanks
> Tim
> 
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list