On Tue, 30 Sep 1997, Jens B. Jorgensen wrote: > > 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 also need to add it to the routing table. route add -host 192.168.123.3 dev eth0:1 Read IP-Aliasing mini howto. Louis. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .