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

Re: ifconfig



At 12:51 PM 9/30/97 -0500, Jens B. Jorgensen wrote:
>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
>
You're right. But you have to enable IP Aliasing in your kernel. Is your
kernel enabled? Run "make config" and be sure to enable this option.
Cheers
Bruno


>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 .
>
>
>


--
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: