Date: Fri, 22 Feb 2002 10:04:32 -0500 From: Jim Freeze <jfreeze@freebsdportal.com> To: freebsd-questions@freebsd.org Subject: /etc/netstart reverses aliases Message-ID: <20020222100432.A13961@freebsdportal.com>
next in thread | raw e-mail | index | archive | help
Hi: I have the following in my /etc/rc.conf file: ifconfig_sis0="inet 63.106.140.203 netmask 255.255.255.248" ifconfig_sis0_alias0="inet 63.106.140.204 netmask 255.255.255.248" Running ifconfig -a reports: inet 63.106.140.203 netmask 0xfffffff8 broadcast 63.106.140.207 inet 63.106.140.204 netmask 0xfffffff8 broadcast 63.106.140.207 After I initially added this alias, I restarted the network by running /etc/netstart That worked. But when I tried it the second time things stopped working (ie, my http access to these addresses stopped.) I checked ifconfig -a and it reported: inet 63.106.140.204 netmask 0xfffffff8 broadcast 63.106.140.207 inet 63.106.140.203 netmask 0xfffffff8 broadcast 63.106.140.207 The two addresses were reversed. I re-ran netstart and the order reversed back to its original and all was right with the universe. Can someone explain why this happens? Thanks -- Jim Freeze "Give some people an attoparsec and they'll take 16.093 Tera-angstroms" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020222100432.A13961>