[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: two network cards on a server



On Thu, Apr 19, 2007 at 06:12:24PM -0400, Faheem Mitha wrote:
> 
> On Fri, 20 Apr 2007, Alex Samad wrote:
> 
> >
> >have a look for ip (it part of the iproute package)
> >
> >Usage: ip addr {add|del} IFADDR dev STRING
> >      ip addr {show|flush} [ dev STRING ] [ scope SCOPE-ID ]
> >                           [ to PREFIX ] [ FLAG-LIST ] [ label PATTERN ]
> >IFADDR := PREFIX | ADDR peer PREFIX
> >         [ broadcast ADDR ] [ anycast ADDR ]
> >         [ label STRING ] [ scope SCOPE-ID ]
> >SCOPE-ID := [ host | link | global | NUMBER ]
> >FLAG-LIST := [ FLAG-LIST ] FLAG
> >FLAG  := [ permanent | dynamic | secondary | primary |
> >          tentative | deprecated ]
> 
> Er, why is this relevant? Sorry if I am being clueless.
> 
You can use the ip command to setup aliases.  Personally, I just set
them up in /etc/network/interfaces (I am not sure if that just calls
ip).

Regards,

-Roberto

-- 
Roberto C. Sánchez
http://people.connexer.com/~roberto
http://www.connexer.com

Attachment: signature.asc
Description: Digital signature


Reply to: