Re: Config multiple ips on one linux box
Thanks for the reply. Just tried:
ifconfig eth0:1 203.63.219.30 netmask up arp broadcast 203.63.219.255
and still getting:
SIOCSIFADDR: Operation not supported by device
SIOCSIFFLAGS: Operation not supported by device
up: No address associated with name
SIOCSIFFLAGS: Operation not supported by device
SIOCSIFBRDADDR: Operation not supported by device
SIOCSIFFLAGS: Operation not supported by device
I think I am missing something in my kernel.
Dan Willard wrote:
> Don't the kernel version >2.2.0 require that a netmask be added with the
> ifconfig command? Just add the netmask.
>
> --Dano
>
> > -----Original Message-----
> > From: Shao Zhang [SMTP:shao@cia.com.au]
> > Sent: Tuesday, May 04, 1999 9:10 AM
> > To: Debian
> > Subject: Config multiple ips on one linux box
> >
> > Hi,
> >
> > I am trying to set up seval ip addess on my linux machine. But when I
> >
> > run something like
> >
> > ifconfig eth0:1 203.63.219.30 up arp broadcast 203.63.219.255
> >
> > I got the following messages:
> >
> > SIOCSIFADDR: Operation not supported by device
> > SIOCSIFFLAGS: Operation not supported by device
> > SIOCSIFBRDADDR: Operation not supported by device
> > SIOCSIFFLAGS: Operation not supported by device
> >
> > Am I missing something from my kernel(2.2.6)?? If I am, what is it??
> >
> > Thanks in advance.
> >
> > Shao.
> >
> > --
> > __________________________________________________________________________
> > __
> > Shao Zhang - Running Debian 2.1 ___ _ _____
> > Department of Communications / __| |_ __ _ ___ |_ / |_ __ _ _ _ __
> > _
> > University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/
> > _` |
> > Sydney, Australia |___/_||_\__,_\___/
> > /___|_||_\__,_|_||_\__, |
> > Email: shao@cia.com.au
> > |___/
> > __________________________________________________________________________
> > ___
> >
> >
> >
> >
> > --
> > Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org <
> > /dev/null
--
____________________________________________________________________________
Shao Zhang - Running Debian 2.1 ___ _ _____
Department of Communications / __| |_ __ _ ___ |_ / |_ __ _ _ _ __ _
University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/ _` |
Sydney, Australia |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: shao@cia.com.au |___/
_____________________________________________________________________________
Reply to: