Be sure you have IP aliasing compiled into your kernel. This is the relevant section of /etc/rc.config I use. The eth0 interface has three IP addresses. HTH, Jeffrey # # networking # # number of network cards: "_0" for one, "_0 _1 _2 _3" for four cards # NETCONFIG="_0 _1 _2" # # IP Adresses # IPADDR_0="192.168.169.1" IPADDR_1="192.168.169.3" IPADDR_2="192.168.169.4" IPADDR_3="" # # network device names (e.g. "eth0") # NETDEV_0="eth0" NETDEV_1="eth0:1" NETDEV_2="eth0:2" NETDEV_3="eth1" # # parameteres for ifconfig, if you put "bootp" into it, bootp will # be used to configure it # sample entry for ethernet: # IFCONFIG_0="192.168.81.38 broadcast 192.168.81.63 netmask 255.255.255.224" # IFCONFIG_0="$IPADDR_0 broadcast 192.168.169.255 netmask 255.255.255.0 up" IFCONFIG_1="$IPADDR_1" IFCONFIG_2="$IPADDR_2" IFCONFIG_3="" Quoting Bill Moseley <moseley@hank.org>:
I'm running 6.3.
How can I assign multiple IP numbers to the same interface? I looked a man ifconfig but nothing jumped out at me.
IFCONFIG_0="192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0 up"
I'd like that machine to also respond as 192.168.0.2, for example.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/