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

Re: ifconfig



Jimmy Lu wrote:
> 
> Hi,
> Can someone tell me how to setup a machine with one network
> interface card(eth0) to respond to more than one IP address?
> FreeBSD seems to be able to do something as follows:
>         ifconfig ep0 192.168.123.2
>         ifconfig ep0 192.168.123.3 alias netmask 0xFFFFFFFF
> I checked man page of ifconfig but I still don't know how
> to do it in under Debian.  Please kindly let me know.

I believe the syntax is:

   ifconfig eth0 192.168.123.2
   ifconfig eth0:1 192.168.123.3

This is from memory and I'm not positive.

-- 
Jens B. Jorgensen
jjorgens@bdsinc.com


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: