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

Ivan Kovalev sunhelp at sunhelp.org
Sun Mar 25 11:48:56 CST 2001


A quick check on man pages would confirm this. I do not remember exact
details, but most likely the idea is that each (default) router is for
its own network to which system is attached.

Warren Brennan wrote:
> 
> That sounds odd. A default gateway is where to send the packets if there are
> no specific routes defined. How could one have 2 default gateways?
> 
> > -----Original Message-----
> > From: william.x.ng at verizon.com [SMTP:william.x.ng at verizon.com]
> > Sent: Thursday, March 22, 2001 1:50 PM
> > To:   sunhelp at sunhelp.org
> > Subject:      RE: [SunHELP] How to Install 2nd NIC and assign IP to it
> >
> >
> > As what I know, you can add one or more gateway on /etc/defaultrouter, you
> > just need WHITE space to separate them. Currently I have machine with two
> > NIC cards with two different gateways on /etc/defaultrouter, and it works
> > fine.
> >
> > Will
> >
> >
> >
> >
> >
> >
> > "Warren Brennan" <WBrennan at clearnet.com>@sunhelp.org on 03/22/2001
> > 01:04:28
> > AM
> >
> > Please respond to sunhelp at sunhelp.org
> >
> > Sent by:  sunhelp-admin at sunhelp.org
> >
> >
> > To:   "'sunhelp at sunhelp.org'" <sunhelp at sunhelp.org>
> > cc:
> > Subject:  RE: [SunHELP] How to Install 2nd NIC and assign IP to it
> >
> >
> >
> > 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
> > _______________________________________________
> > SunHELP maillist  -  SunHELP at sunhelp.org
> > http://www.sunhelp.org/mailman/listinfo/sunhelp
> >
> >
> >
> >
> > _______________________________________________
> > SunHELP maillist  -  SunHELP at sunhelp.org
> > http://www.sunhelp.org/mailman/listinfo/sunhelp
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list